|
|||||||||
| 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.Window
|
+--java.awt.Dialog
|
+--ij.gui.GenericDialog
|
+--woSource.GenericDialogPlus
|
+--woSource.GenericRecallableDialog
| Field Summary | |
int |
CENTER
|
static int |
MAX_ITEMS
Maximum number of each component (numeric field, checkbox, etc). |
int |
WEST
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
GenericRecallableDialog(java.lang.String title)
|
|
GenericRecallableDialog(java.lang.String title,
java.awt.Frame parent)
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addButton(java.lang.String text)
Adds a button. |
void |
addButton(java.lang.String text,
int location)
|
void |
addButtons(java.lang.String text1,
java.lang.String text2)
|
void |
addButtons(java.lang.String text1,
java.lang.String text2,
java.lang.String text3)
|
void |
addButtons(java.lang.String text1,
java.lang.String text2,
java.lang.String text3,
java.lang.String text4)
|
void |
addButtonToPanel(java.lang.String text,
java.awt.Panel panel,
java.awt.GridBagLayout grid,
int row)
|
void |
addScrollBar(java.lang.String label,
double defaultValue,
int digits,
double minval,
double maxval)
Adds adjustable scrollbar field. |
void |
addScrollBar(java.lang.String label,
double defaultValue,
int digits,
double minval,
double maxval,
int maxClicks)
|
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
|
void |
beginRowOfItems()
|
void |
endRowOfItems()
|
boolean |
getBooleanValue(int i)
|
boolean |
getButtonValue(int i)
Returns the contents of button 'i' field. |
boolean |
getNextButton()
Returns the contents of the next buttons_touched field. |
double |
getNextScrollBar()
Returns the contents of the next scrollbar field. |
double |
getNumericValue(int i)
|
double |
getScrollBarValue(int i)
Returns the contents of scrollbar field 'i' |
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
setCheckboxState(int i,
boolean val)
|
void |
setScrollBarUnitIncrement(int inc)
|
void |
setScrollBarValue(int i,
double value)
Sets the contents of scrollbar field 'i' to 'value' |
void |
showDialog()
Displays this dialog box. |
| Methods inherited from class ij.gui.GenericDialog |
addCheckbox, addCheckboxGroup, addChoice, addMessage, addNumericField, addStringField, addStringField, addTextAreas, focusGained, focusLost, getInsets, getNextBoolean, getNextChoice, getNextChoiceIndex, getNextNumber, getNextString, getNextText, invalidNumber, itemStateChanged, keyReleased, keyTyped, paint, textValueChanged, wasCanceled |
| Methods inherited from class java.awt.Dialog |
addNotify, dispose, getAccessibleContext, getTitle, hide, isModal, isResizable, setModal, setResizable, setTitle, show |
| Methods inherited from class java.awt.Window |
addWindowListener, applyResourceBundle, applyResourceBundle, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, removeWindowListener, setCursor, toBack, toFront |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.event.AdjustmentListener |
adjustmentValueChanged |
| Methods inherited from interface java.awt.event.KeyListener |
keyReleased, keyTyped |
| Methods inherited from interface java.awt.event.FocusListener |
focusGained, focusLost |
| Field Detail |
public final int WEST
public final int CENTER
public static final int MAX_ITEMS
| Constructor Detail |
public GenericRecallableDialog(java.lang.String title)
public GenericRecallableDialog(java.lang.String title,
java.awt.Frame parent)
| Method Detail |
public void showDialog()
woSource.GenericDialogPlusshowDialog in class woSource.GenericDialogPluspublic void keyPressed(java.awt.event.KeyEvent e)
keyPressed in interface java.awt.event.KeyListenerkeyPressed in class GenericDialogpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in class GenericDialogpublic void addButton(java.lang.String text)
public void addButton(java.lang.String text,
int location)
public void addButtons(java.lang.String text1,
java.lang.String text2)
public void addButtons(java.lang.String text1,
java.lang.String text2,
java.lang.String text3)
public void addButtons(java.lang.String text1,
java.lang.String text2,
java.lang.String text3,
java.lang.String text4)
public void addButtonToPanel(java.lang.String text,
java.awt.Panel panel,
java.awt.GridBagLayout grid,
int row)
public boolean getNextButton()
public boolean getButtonValue(int i)
public boolean getBooleanValue(int i)
public void setCheckboxState(int i,
boolean val)
public double getNumericValue(int i)
public void beginRowOfItems()
public void endRowOfItems()
public void addScrollBar(java.lang.String label,
double defaultValue,
int digits,
double minval,
double maxval)
public void addScrollBar(java.lang.String label,
double defaultValue,
int digits,
double minval,
double maxval,
int maxClicks)
public void setScrollBarUnitIncrement(int inc)
public double getNextScrollBar()
public double getScrollBarValue(int i)
public void setScrollBarValue(int i,
double value)
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
adjustmentValueChanged in interface java.awt.event.AdjustmentListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||