Home / Development / Documentation / 2.0.44 / DecimalUnitInput
TreeGraph 2
 


info.bioinfweb.treegraph.gui.dialogs
Class DecimalUnitInput

java.lang.Object
  extended by info.webinsel.util.swing.DecimalInput
      extended by info.bioinfweb.treegraph.gui.dialogs.DecimalUnitInput
Direct Known Subclasses:
DistanceValueInput, ResolutionInput, ScaleValueInput

public abstract class DecimalUnitInput
extends info.webinsel.util.swing.DecimalInput

Specialization of DecimalInput to manage distance values in different units.

Author:
Ben Stöver

Field Summary
private  JComboBox comboBox
           
 
Fields inherited from class info.webinsel.util.swing.DecimalInput
DOUBLE_FORMAT, FLOAT_FORMAT, INTEGER_FORMAT
 
Constructor Summary
DecimalUnitInput(String labelText, JPanel panel, int y)
           
DecimalUnitInput(String labelText, JPanel panel, int x, int y)
           
 
Method Summary
protected abstract  void customizeComboBox(JComboBox comboBox)
           
 JComboBox getComboBox()
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class info.webinsel.util.swing.DecimalInput
createLabelTable, getChangeMonitor, getDecimalFormat, getLabel, getTextField, parseDouble, parseFloat, parseInt, parseLong, setDecimalFormatStr, setValue, setValue, setValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comboBox

private JComboBox comboBox
Constructor Detail

DecimalUnitInput

public DecimalUnitInput(String labelText,
                        JPanel panel,
                        int y)

DecimalUnitInput

public DecimalUnitInput(String labelText,
                        JPanel panel,
                        int x,
                        int y)
Method Detail

getComboBox

public JComboBox getComboBox()

setEnabled

public void setEnabled(boolean enabled)
Overrides:
setEnabled in class info.webinsel.util.swing.DecimalInput

customizeComboBox

protected abstract void customizeComboBox(JComboBox comboBox)