Package VASSAL.configure
Class DoubleConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.StringConfigurer
VASSAL.configure.DoubleConfigurer
public class DoubleConfigurer extends StringConfigurer
A Configurer for Double values
-
Field Summary
Fields inherited from class VASSAL.configure.StringConfigurer
DEFAULT_LENGHTH, length, nameField, pFields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
Constructors Constructor Description DoubleConfigurer(Double val)DoubleConfigurer(String key, String name)DoubleConfigurer(String key, String name, Double val) -
Method Summary
Modifier and Type Method Description StringgetValueString()voidsetValue(String s)Set the Object value from a StringMethods inherited from class VASSAL.configure.StringConfigurer
addFocusListener, buildTextField, getControls, getGrowthConstraint, removeFocusListener, setHighlighted, setLabelVisibile, updateHintMethods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getHint, getKey, getName, getScreenSize, getValue, isFrozen, isHighlighted, removePropertyChangeListener, repack, repack, setFrozen, setHint, setHintKey, setName, setValue
-
Constructor Details
-
DoubleConfigurer
-
DoubleConfigurer
-
DoubleConfigurer
-
-
Method Details
-
setValue
Description copied from class:ConfigurerSet the Object value from a String- Overrides:
setValuein classStringConfigurer
-
getValueString
- Overrides:
getValueStringin classStringConfigurer- Returns:
- a String representation of the Object value
-