@Deprecated public class HeadlessGenericDialog extends Object
GenericDialog
in headless mode.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
HeadlessGenericDialog()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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(ij.plugin.filter.PlugInFilterRunner pfr)
Deprecated.
|
void |
addPreviewCheckbox(ij.plugin.filter.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 |
addSlider(String label,
double minValue,
double maxValue,
double defaultValue,
double stepSize)
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.
|
protected String textArea1
protected String textArea2
protected int numberfieldIndex
protected int stringfieldIndex
protected int checkboxIndex
protected int choiceIndex
protected int textAreaIndex
protected int radioButtonIndex
protected boolean invalidNumber
protected String errorMessage
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 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 addSlider(String label, double minValue, double maxValue, double defaultValue, double stepSize)
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 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 addPanel(Panel panel)
public void addPreviewCheckbox(ij.plugin.filter.PlugInFilterRunner pfr)
public void addPreviewCheckbox(ij.plugin.filter.PlugInFilterRunner pfr, String label)
public void centerDialog(boolean b)
public void setSmartRecording(boolean smartRecording)
public void enableYesNoCancel()
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()
Copyright © 2014–2022 ImageJ. All rights reserved.