imagej.patcher
Class HeadlessGenericDialog

java.lang.Object
  extended by imagej.patcher.HeadlessGenericDialog

Deprecated.

@Deprecated
public class HeadlessGenericDialog
extends Object

Rump implementation of a pseudo dialog intended to stand in for the GenericDialog in headless mode.

Author:
Johannes Schindelin

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

numbers

protected List<Double> numbers
Deprecated. 

strings

protected List<String> strings
Deprecated. 

checkboxes

protected List<Boolean> checkboxes
Deprecated. 

choices

protected List<String> choices
Deprecated. 

choiceIndices

protected List<Integer> choiceIndices
Deprecated. 

textArea1

protected String textArea1
Deprecated. 

textArea2

protected String textArea2
Deprecated. 

radioButtons

protected List<String> radioButtons
Deprecated. 

numberfieldIndex

protected int numberfieldIndex
Deprecated. 

stringfieldIndex

protected int stringfieldIndex
Deprecated. 

checkboxIndex

protected int checkboxIndex
Deprecated. 

choiceIndex

protected int choiceIndex
Deprecated. 

textAreaIndex

protected int textAreaIndex
Deprecated. 

radioButtonIndex

protected int radioButtonIndex
Deprecated. 

invalidNumber

protected boolean invalidNumber
Deprecated. 

errorMessage

protected String errorMessage
Deprecated. 
Constructor Detail

HeadlessGenericDialog

public HeadlessGenericDialog()
Deprecated. 
Method Detail

addCheckbox

public void addCheckbox(String label,
                        boolean defaultValue)
Deprecated. 

addCheckboxGroup

public void addCheckboxGroup(int rows,
                             int columns,
                             String[] labels,
                             boolean[] defaultValues)
Deprecated. 

addCheckboxGroup

public void addCheckboxGroup(int rows,
                             int columns,
                             String[] labels,
                             boolean[] defaultValues,
                             String[] headings)
Deprecated. 

addChoice

public void addChoice(String label,
                      String[] items,
                      String defaultItem)
Deprecated. 

addNumericField

public void addNumericField(String label,
                            double defaultValue,
                            int digits)
Deprecated. 

addNumericField

public void addNumericField(String label,
                            double defaultValue,
                            int digits,
                            int columns,
                            String units)
Deprecated. 

addSlider

public void addSlider(String label,
                      double minValue,
                      double maxValue,
                      double defaultValue)
Deprecated. 

addStringField

public void addStringField(String label,
                           String defaultText)
Deprecated. 

addStringField

public void addStringField(String label,
                           String defaultText,
                           int columns)
Deprecated. 

addTextAreas

public void addTextAreas(String text1,
                         String text2,
                         int rows,
                         int columns)
Deprecated. 

getNextBoolean

public boolean getNextBoolean()
Deprecated. 

getNextChoice

public String getNextChoice()
Deprecated. 

getNextChoiceIndex

public int getNextChoiceIndex()
Deprecated. 

getNextNumber

public double getNextNumber()
Deprecated. 

getNextString

public String getNextString()
Deprecated. 
Returns the contents of the next text field.


getNextText

public String getNextText()
Deprecated. 

addRadioButtonGroup

public void addRadioButtonGroup(String label,
                                String[] items,
                                int rows,
                                int columns,
                                String defaultItem)
Deprecated. 
Adds a radio button group.


getRadioButtonGroups

public List<String> getRadioButtonGroups()
Deprecated. 

getNextRadioButton

public String getNextRadioButton()
Deprecated. 
Returns the selected item in the next radio button group.


invalidNumber

public boolean invalidNumber()
Deprecated. 

showDialog

public void showDialog()
Deprecated. 

wasCanceled

public boolean wasCanceled()
Deprecated. 

wasOKed

public boolean wasOKed()
Deprecated. 

dispose

public void dispose()
Deprecated. 

addDialogListener

public void addDialogListener(DialogListener dl)
Deprecated. 

addHelp

public void addHelp(String url)
Deprecated. 

addMessage

public void addMessage(String text)
Deprecated. 

addMessage

public void addMessage(String text,
                       Font font)
Deprecated. 

addMessage

public void addMessage(String text,
                       Font font,
                       Color color)
Deprecated. 

addPanel

public void addPanel(Panel panel)
Deprecated. 

addPanel

public void addPanel(Panel panel,
                     int contraints,
                     Insets insets)
Deprecated. 

addPreviewCheckbox

public void addPreviewCheckbox(PlugInFilterRunner pfr)
Deprecated. 

addPreviewCheckbox

public void addPreviewCheckbox(PlugInFilterRunner pfr,
                               String label)
Deprecated. 

centerDialog

public void centerDialog(boolean b)
Deprecated. 

setSmartRecording

public void setSmartRecording(boolean smartRecording)
Deprecated. 

enableYesNoCancel

public void enableYesNoCancel()
Deprecated. 

enableYesNoCancel

public void enableYesNoCancel(String yesLabel,
                              String noLabel)
Deprecated. 

focusGained

public void focusGained(FocusEvent e)
Deprecated. 

focusLost

public void focusLost(FocusEvent e)
Deprecated. 

getButtons

public Button[] getButtons()
Deprecated. 

getCheckboxes

public Vector<?> getCheckboxes()
Deprecated. 

getChoices

public Vector<?> getChoices()
Deprecated. 

getErrorMessage

public String getErrorMessage()
Deprecated. 

getInsets

public Insets getInsets()
Deprecated. 

getMessage

public Component getMessage()
Deprecated. 

getNumericFields

public Vector<?> getNumericFields()
Deprecated. 

getPreviewCheckbox

public Checkbox getPreviewCheckbox()
Deprecated. 

getSliders

public Vector<?> getSliders()
Deprecated. 

getStringFields

public Vector<?> getStringFields()
Deprecated. 

getTextArea1

public TextArea getTextArea1()
Deprecated. 

getTextArea2

public TextArea getTextArea2()
Deprecated. 

hideCancelButton

public void hideCancelButton()
Deprecated. 

previewRunning

public void previewRunning(boolean isRunning)
Deprecated. 

setEchoChar

public void setEchoChar(char echoChar)
Deprecated. 

setHelpLabel

public void setHelpLabel(String label)
Deprecated. 

setInsets

public void setInsets(int top,
                      int left,
                      int bottom)
Deprecated. 

setOKLabel

public void setOKLabel(String label)
Deprecated. 

setup

protected void setup()
Deprecated. 

accessTextFields

public void accessTextFields()
Deprecated. 

showHelp

public void showHelp()
Deprecated. 

setLocation

public void setLocation(int x,
                        int y)
Deprecated. 

isPreviewActive

public boolean isPreviewActive()
Deprecated. 


Copyright © 2009–2014 ImageJ. All rights reserved.