|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectimagej.patcher.HeadlessGenericDialog
@Deprecated public class HeadlessGenericDialog
Rump implementation of a pseudo dialog intended to stand in for the
GenericDialog in headless mode.
| Field Summary | |
|---|---|
protected List<Boolean> |
checkboxes
Deprecated. |
protected int |
checkboxIndex
Deprecated. |
protected int |
choiceIndex
Deprecated. |
protected List<Integer> |
choiceIndices
Deprecated. |
protected List<String> |
choices
Deprecated. |
protected String |
errorMessage
Deprecated. |
protected boolean |
invalidNumber
Deprecated. |
protected int |
numberfieldIndex
Deprecated. |
protected List<Double> |
numbers
Deprecated. |
protected int |
radioButtonIndex
Deprecated. |
protected List<String> |
radioButtons
Deprecated. |
protected int |
stringfieldIndex
Deprecated. |
protected List<String> |
strings
Deprecated. |
protected String |
textArea1
Deprecated. |
protected String |
textArea2
Deprecated. |
protected int |
textAreaIndex
Deprecated. |
| Constructor Summary | |
|---|---|
HeadlessGenericDialog()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
accessTextFields()
Deprecated. |
void |
addCheckbox(String label,
boolean defaultValue)
Deprecated. |
void |
addCheckboxGroup(int rows,
int columns,
String[] labels,
boolean[] defaultValues)
Deprecated. |
void |
addCheckboxGroup(int rows,
int columns,
String[] labels,
boolean[] defaultValues,
String[] headings)
Deprecated. |
void |
addChoice(String label,
String[] items,
String defaultItem)
Deprecated. |
void |
addDialogListener(DialogListener dl)
Deprecated. |
void |
addHelp(String url)
Deprecated. |
void |
addMessage(String text)
Deprecated. |
void |
addMessage(String text,
Font font)
Deprecated. |
void |
addMessage(String text,
Font font,
Color color)
Deprecated. |
void |
addNumericField(String label,
double defaultValue,
int digits)
Deprecated. |
void |
addNumericField(String label,
double defaultValue,
int digits,
int columns,
String units)
Deprecated. |
void |
addPanel(Panel panel)
Deprecated. |
void |
addPanel(Panel panel,
int contraints,
Insets insets)
Deprecated. |
void |
addPreviewCheckbox(PlugInFilterRunner pfr)
Deprecated. |
void |
addPreviewCheckbox(PlugInFilterRunner pfr,
String label)
Deprecated. |
void |
addRadioButtonGroup(String label,
String[] items,
int rows,
int columns,
String defaultItem)
Deprecated. Adds a radio button group. |
void |
addSlider(String label,
double minValue,
double maxValue,
double defaultValue)
Deprecated. |
void |
addStringField(String label,
String defaultText)
Deprecated. |
void |
addStringField(String label,
String defaultText,
int columns)
Deprecated. |
void |
addTextAreas(String text1,
String text2,
int rows,
int columns)
Deprecated. |
void |
centerDialog(boolean b)
Deprecated. |
void |
dispose()
Deprecated. |
void |
enableYesNoCancel()
Deprecated. |
void |
enableYesNoCancel(String yesLabel,
String noLabel)
Deprecated. |
void |
focusGained(FocusEvent e)
Deprecated. |
void |
focusLost(FocusEvent e)
Deprecated. |
Button[] |
getButtons()
Deprecated. |
Vector<?> |
getCheckboxes()
Deprecated. |
Vector<?> |
getChoices()
Deprecated. |
String |
getErrorMessage()
Deprecated. |
Insets |
getInsets()
Deprecated. |
Component |
getMessage()
Deprecated. |
boolean |
getNextBoolean()
Deprecated. |
String |
getNextChoice()
Deprecated. |
int |
getNextChoiceIndex()
Deprecated. |
double |
getNextNumber()
Deprecated. |
String |
getNextRadioButton()
Deprecated. Returns the selected item in the next radio button group. |
String |
getNextString()
Deprecated. Returns the contents of the next text field. |
String |
getNextText()
Deprecated. |
Vector<?> |
getNumericFields()
Deprecated. |
Checkbox |
getPreviewCheckbox()
Deprecated. |
List<String> |
getRadioButtonGroups()
Deprecated. |
Vector<?> |
getSliders()
Deprecated. |
Vector<?> |
getStringFields()
Deprecated. |
TextArea |
getTextArea1()
Deprecated. |
TextArea |
getTextArea2()
Deprecated. |
void |
hideCancelButton()
Deprecated. |
boolean |
invalidNumber()
Deprecated. |
boolean |
isPreviewActive()
Deprecated. |
void |
previewRunning(boolean isRunning)
Deprecated. |
void |
setEchoChar(char echoChar)
Deprecated. |
void |
setHelpLabel(String label)
Deprecated. |
void |
setInsets(int top,
int left,
int bottom)
Deprecated. |
void |
setLocation(int x,
int y)
Deprecated. |
void |
setOKLabel(String label)
Deprecated. |
void |
setSmartRecording(boolean smartRecording)
Deprecated. |
protected void |
setup()
Deprecated. |
void |
showDialog()
Deprecated. |
void |
showHelp()
Deprecated. |
boolean |
wasCanceled()
Deprecated. |
boolean |
wasOKed()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Double> numbers
protected List<String> strings
protected List<Boolean> checkboxes
protected List<String> choices
protected List<Integer> choiceIndices
protected String textArea1
protected String textArea2
protected List<String> radioButtons
protected int numberfieldIndex
protected int stringfieldIndex
protected int checkboxIndex
protected int choiceIndex
protected int textAreaIndex
protected int radioButtonIndex
protected boolean invalidNumber
protected String errorMessage
| Constructor Detail |
|---|
public HeadlessGenericDialog()
| Method Detail |
|---|
public void addCheckbox(String label,
boolean defaultValue)
public void addCheckboxGroup(int rows,
int columns,
String[] labels,
boolean[] defaultValues)
public void addCheckboxGroup(int rows,
int columns,
String[] labels,
boolean[] defaultValues,
String[] headings)
public void addChoice(String label,
String[] items,
String defaultItem)
public void addNumericField(String label,
double defaultValue,
int digits)
public void addNumericField(String label,
double defaultValue,
int digits,
int columns,
String units)
public void addSlider(String label,
double minValue,
double maxValue,
double defaultValue)
public void addStringField(String label,
String defaultText)
public void addStringField(String label,
String defaultText,
int columns)
public void addTextAreas(String text1,
String text2,
int rows,
int columns)
public boolean getNextBoolean()
public String getNextChoice()
public int getNextChoiceIndex()
public double getNextNumber()
public String getNextString()
public String getNextText()
public void addRadioButtonGroup(String label,
String[] items,
int rows,
int columns,
String defaultItem)
public List<String> getRadioButtonGroups()
public String getNextRadioButton()
public boolean invalidNumber()
public void showDialog()
public boolean wasCanceled()
public boolean wasOKed()
public void dispose()
public void addDialogListener(DialogListener dl)
public void addHelp(String url)
public void addMessage(String text)
public void addMessage(String text,
Font font)
public void addMessage(String text,
Font font,
Color color)
public void addPanel(Panel panel)
public void addPanel(Panel panel,
int contraints,
Insets insets)
public void addPreviewCheckbox(PlugInFilterRunner pfr)
public void addPreviewCheckbox(PlugInFilterRunner pfr,
String label)
public void centerDialog(boolean b)
public void setSmartRecording(boolean smartRecording)
public void enableYesNoCancel()
public void enableYesNoCancel(String yesLabel,
String noLabel)
public void focusGained(FocusEvent e)
public void focusLost(FocusEvent e)
public Button[] getButtons()
public Vector<?> getCheckboxes()
public Vector<?> getChoices()
public String getErrorMessage()
public Insets getInsets()
public Component getMessage()
public Vector<?> getNumericFields()
public Checkbox getPreviewCheckbox()
public Vector<?> getSliders()
public Vector<?> getStringFields()
public TextArea getTextArea1()
public TextArea getTextArea2()
public void hideCancelButton()
public void previewRunning(boolean isRunning)
public void setEchoChar(char echoChar)
public void setHelpLabel(String label)
public void setInsets(int top,
int left,
int bottom)
public void setOKLabel(String label)
protected void setup()
public void accessTextFields()
public void showHelp()
public void setLocation(int x,
int y)
public boolean isPreviewActive()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||