Package VASSAL.counters
Class DynamicProperty.DynamicKeyCommandConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.counters.DynamicProperty.DynamicKeyCommandConfigurer
- Enclosing class:
- DynamicProperty
protected static class DynamicProperty.DynamicKeyCommandConfigurer extends Configurer
Configure a single Dynamic Key Command line
-
Field Summary
Fields Modifier and Type Field Description protected StringConfigurer
commandConfig
protected Box
controls
protected NamedHotKeyConfigurer
keyConfig
protected PropertyChangerConfigurer
propChangeConfig
protected DynamicProperty
target
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
Constructors Constructor Description DynamicKeyCommandConfigurer(DynamicProperty target)
-
Method Summary
Modifier and Type Method Description protected void
buildControls()
Component
getControls()
GUI interface for setting the option in an editing windowDynamicProperty.DynamicKeyCommand
getKeyCommand()
String
getValueString()
void
setValue(Object value)
Set the Object valuevoid
setValue(String s)
Set the Object value from a Stringprotected void
updateValue()
Methods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getKey, getName, getValue, isFrozen, removePropertyChangeListener, setFrozen, setName
-
Field Details
-
keyConfig
-
propChangeConfig
-
commandConfig
-
controls
-
target
-
-
Constructor Details
-
DynamicKeyCommandConfigurer
-
-
Method Details
-
getValueString
- Specified by:
getValueString
in classConfigurer
- Returns:
- a String representation of the Object value
-
setValue
Description copied from class:Configurer
Set the Object value- Overrides:
setValue
in classConfigurer
-
getKeyCommand
-
setValue
Description copied from class:Configurer
Set the Object value from a String- Specified by:
setValue
in classConfigurer
-
getControls
Description copied from class:Configurer
GUI interface for setting the option in an editing window- Specified by:
getControls
in classConfigurer
-
updateValue
protected void updateValue() -
buildControls
protected void buildControls()
-