public abstract class OptionsDialog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static boolean |
IS_GLITCHED
Flag indicating whether to invoke workaround for AWT refresh bug.
|
protected OptionsList |
optionsList
Options list associated with the dialog.
|
static int |
STATUS_CANCELED |
static int |
STATUS_FINISHED |
static int |
STATUS_OK |
Constructor and Description |
---|
OptionsDialog(OptionsList optionsList)
Creates a new options dialog with the given associated options.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addCheckbox(ij.gui.GenericDialog gd,
java.lang.String key)
Adds a checkbox to the given dialog object corresponding
to the boolean option identified by the specified key.
|
protected void |
addChoice(ij.gui.GenericDialog gd,
java.lang.String key)
Adds a choice to the given dialog object corresponding
to the string option identified by the specified key.
|
abstract int |
showDialog()
Displays the options dialog, returning the status of the operation.
|
protected void |
sleep(long ms)
Blocks the current thread for the specified number of milliseconds.
|
public static final int STATUS_OK
public static final int STATUS_CANCELED
public static final int STATUS_FINISHED
protected static final boolean IS_GLITCHED
protected OptionsList optionsList
public OptionsDialog(OptionsList optionsList)
public abstract int showDialog()
protected void addChoice(ij.gui.GenericDialog gd, java.lang.String key)
protected void addCheckbox(ij.gui.GenericDialog gd, java.lang.String key)
protected void sleep(long ms)
Copyright © 2024 Open Microscopy Environment