info.bioinfweb.treegraph.gui.dialogs
Class DecimalUnitInput
java.lang.Object
info.webinsel.util.swing.DecimalInput
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
Fields inherited from class info.webinsel.util.swing.DecimalInput |
DOUBLE_FORMAT, FLOAT_FORMAT, INTEGER_FORMAT |
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 |
comboBox
private JComboBox comboBox
DecimalUnitInput
public DecimalUnitInput(String labelText,
JPanel panel,
int y)
DecimalUnitInput
public DecimalUnitInput(String labelText,
JPanel panel,
int x,
int y)
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)