Class IntConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.StringConfigurer
VASSAL.configure.IntConfigurer
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.configure.Configurer
Configurer.ContextLevel
-
Field Summary
Fields inherited from class VASSAL.configure.StringConfigurer
DEFAULT_LENGHTH, DEFAULT_LENGTH, length, nameField, p, updateInProgress
Fields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
ConstructorDescriptionIntConfigurer
(Integer val) IntConfigurer
(String key, String name) IntConfigurer
(String key, String name, Integer val) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
int
getIntValue
(int defaultValue) void
Set the Object valuevoid
Set the Object value from a StringMethods inherited from class VASSAL.configure.StringConfigurer
addFocusListener, buildTextField, getControls, removeFocusListener, requestFocus, setEnabled, setHighlighted, setLabelVisible, updateHint
Methods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getContext, getContextLevel, getHint, getKey, getName, getScreenSize, getValue, initCustomControls, isFrozen, isHighlighted, isPieceContext, removePropertyChangeListener, repack, repack, setContext, setContext, setContext, setContextLevel, setFrozen, setHint, setHintKey, setLabelVisibile, setName
-
Constructor Details
-
IntConfigurer
-
IntConfigurer
-
IntConfigurer
-
-
Method Details
-
setValue
Description copied from class:Configurer
Set the Object value from a String- Overrides:
setValue
in classStringConfigurer
-
getIntValue
public int getIntValue(int defaultValue) -
setValue
Description copied from class:Configurer
Set the Object value- Overrides:
setValue
in classConfigurer
-
getValueString
- Overrides:
getValueString
in classStringConfigurer
- Returns:
- a String representation of the Object value
-
getGrowthConstraint
- Overrides:
getGrowthConstraint
in classStringConfigurer
-