Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--uk.co.ist.mwt.SelBoxPanel | +--uk.co.ist.mwt.SelectionPanel
Field Summary | |
static int | kDialogFileSelection
Another type for a selection panel with everything - not a real file selection box (which is handled very differently by AWT). |
static int | kDialogPrompt
A type for a selection panel with no list, list label, or apply button |
static int | kDialogSelection
A type for a selection panel with everything |
static int | kDialogWorkArea
A type for a selection panel with no apply button |
Fields inherited from class uk.co.ist.mwt.SelBoxPanel | |
kWorkAreaAboveSelection, kWorkAreaAtTop, kWorkAreaBelowSelection |
Fields inherited from class java.awt.Component | |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Constructor Summary | |
SelectionPanel()
Constructor - create standard children, etc |
Method Summary | |
java.awt.Component | add(java.awt.Component comp,
int pos)
Adds a component to the Panel; overriden so that any attempts to add further components simply replace the old work area, and so that the abstract separator child created by the DlogTemplateLayout does not cause infinite recursion when laying the Panel out. |
java.lang.String | getApplyLabelString()
Gets the label on the apply button |
java.lang.String | getCancelLabelString()
Gets the label on the cancel button |
int | getDialogType()
Gets the type of the dialog; see the constants above for allowable values |
java.lang.String | getHelpLabelString()
Gets the label on the help button |
java.lang.String | getListLabelString()
Gets the string in the label above the list |
boolean | getMinimizeButtons()
Is the minimizeButtons property set? |
java.lang.String | getOKLabelString()
Gets the label on the OK button |
java.lang.String | getSelectionFieldString()
Gets the string in the selection text field |
java.lang.String | getSelectionLabelString()
Gets the string in the label above the selection text field |
void | minimizeButtonsIf(boolean whether)
Sets whether the buttons in the button section of the panel should be set to the same size (false) or to whatever size best fits their text (true) |
void | setApplyLabelString(java.lang.String label)
Sets the label on the apply button |
void | setCancelLabelString(java.lang.String label)
Sets the label on the cancel button |
void | setDialogType(int type)
Sets the type of the dialog; see the constants above for allowable values |
void | setHelpLabelString(java.lang.String label)
Sets the label on the help button |
void | setListLabelString(java.lang.String label)
Sets the string in the label above the list |
void | setOKLabelString(java.lang.String label)
Sets the label on the OK button |
void | setSelectionFieldString(java.lang.String text)
Sets the string in the selection text field |
void | setSelectionLabelString(java.lang.String label)
Sets the string in the label above the selection text field |
Methods inherited from class uk.co.ist.mwt.SelBoxPanel | |
add, addWorkArea, getWorkAreaPlacement, setWorkAreaPlacement |
Methods inherited from class java.awt.Panel | |
addNotify |
Methods inherited from class java.awt.Container | |
add, add, add, add, add, addContainerListener, addNotify, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponentAt, getComponentAt, getComponent, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, paint, preferredSize, printComponents, print, removeAll, remove, remove, removeContainerListener, removeNotify, setLayout, update, validate |
Methods inherited from class java.awt.Component | |
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paint, postEvent, preferredSize, prepareImage, prepareImage, printAll, print, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate |
Methods inherited from class java.lang.Object | |
equals, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Field Detail |
public static final int kDialogPrompt
public static final int kDialogSelection
public static final int kDialogFileSelection
public static final int kDialogWorkArea
Constructor Detail |
public SelectionPanel()
Method Detail |
public void setOKLabelString(java.lang.String label)
public java.lang.String getOKLabelString()
public void setApplyLabelString(java.lang.String label)
public java.lang.String getApplyLabelString()
public void setCancelLabelString(java.lang.String label)
public java.lang.String getCancelLabelString()
public void setHelpLabelString(java.lang.String label)
public java.lang.String getHelpLabelString()
public void setListLabelString(java.lang.String label)
public java.lang.String getListLabelString()
public void setSelectionLabelString(java.lang.String label)
public java.lang.String getSelectionLabelString()
public void setSelectionFieldString(java.lang.String text)
public java.lang.String getSelectionFieldString()
public void minimizeButtonsIf(boolean whether)
public boolean getMinimizeButtons()
public void setDialogType(int type)
public int getDialogType()
public java.awt.Component add(java.awt.Component comp, int pos)
Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |