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 StringConfigurercommandConfigprotected Boxcontrolsprotected NamedHotKeyConfigurerkeyConfigprotected PropertyChangerConfigurerpropChangeConfigprotected DynamicPropertytargetFields 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 voidbuildControls()ComponentgetControls()GUI interface for setting the option in an editing windowDynamicProperty.DynamicKeyCommandgetKeyCommand()StringgetValueString()voidsetValue(Object value)Set the Object valuevoidsetValue(String s)Set the Object value from a Stringprotected voidupdateValue()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:
getValueStringin classConfigurer- Returns:
- a String representation of the Object value
-
setValue
Description copied from class:ConfigurerSet the Object value- Overrides:
setValuein classConfigurer
-
getKeyCommand
-
setValue
Description copied from class:ConfigurerSet the Object value from a String- Specified by:
setValuein classConfigurer
-
getControls
Description copied from class:ConfigurerGUI interface for setting the option in an editing window- Specified by:
getControlsin classConfigurer
-
updateValue
protected void updateValue() -
buildControls
protected void buildControls()
-