info.bioinfweb.treegraph.gui.dialogs
Class DistanceValueInput
java.lang.Object
info.webinsel.util.swing.DecimalInput
info.bioinfweb.treegraph.gui.dialogs.DecimalUnitInput
info.bioinfweb.treegraph.gui.dialogs.DistanceValueInput
public class DistanceValueInput
- extends DecimalUnitInput
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 |
UNIT_MILLIMETERS
public static final String UNIT_MILLIMETERS
- See Also:
- Constant Field Values
UNIT_POINTS
public static final String UNIT_POINTS
- See Also:
- Constant Field Values
DistanceValueInput
public DistanceValueInput(String labelText,
JPanel panel,
int y)
DistanceValueInput
public DistanceValueInput(String labelText,
JPanel panel,
int x,
int y)
customizeComboBox
protected void customizeComboBox(JComboBox comboBox)
- Specified by:
customizeComboBox
in class DecimalUnitInput
setValue
public void setValue(DistanceValue distanceValue)
- Assigns the given value to the text-field.
- Parameters:
distanceValue
-
assignValueTo
public void assignValueTo(DistanceValue distanceValue)
- Assigns the current value of the text-field to the given
DistanceValue
.
- Parameters:
distanceValue
-
getValue
public DistanceValue getValue()