Package VASSAL.build.module.map
Class MassKeyCommand.DeckPolicyConfig
java.lang.Object
VASSAL.configure.Configurer
VASSAL.build.module.map.MassKeyCommand.DeckPolicyConfig
- All Implemented Interfaces:
ConfigurerFactory
- Direct Known Subclasses:
DeckGlobalKeyCommand.DeckPolicyConfig2
- Enclosing class:
- MassKeyCommand
public static class MassKeyCommand.DeckPolicyConfig extends Configurer implements ConfigurerFactory
-
Field Summary
Fields Modifier and Type Field Description protected static String
ALL
protected Box
controls
protected static String
FIXED
protected IntConfigurer
intConfig
protected static String
NONE
protected JLabel
prompt
protected StringEnumConfigurer
typeConfig
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
Constructors Constructor Description DeckPolicyConfig()
-
Method Summary
Modifier and Type Method Description Configurer
getConfigurer(AutoConfigurable c, String key, String name)
Component
getControls()
GUI interface for setting the option in an editing windowint
getIntValue()
String
getValueString()
void
setValue(Object o)
Set the Object valuevoid
setValue(String s)
Set the Object value from a StringMethods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getKey, getName, getValue, isFrozen, removePropertyChangeListener, setFrozen, setName
-
Field Details
-
FIXED
- See Also:
- Constant Field Values
-
NONE
- See Also:
- Constant Field Values
-
ALL
- See Also:
- Constant Field Values
-
intConfig
-
typeConfig
-
prompt
-
controls
-
-
Constructor Details
-
DeckPolicyConfig
public DeckPolicyConfig()
-
-
Method Details
-
getControls
Description copied from class:Configurer
GUI interface for setting the option in an editing window- Specified by:
getControls
in classConfigurer
-
getValueString
- Specified by:
getValueString
in classConfigurer
- Returns:
- a String representation of the Object value
-
getIntValue
public int getIntValue() -
setValue
Description copied from class:Configurer
Set the Object value- Overrides:
setValue
in classConfigurer
-
setValue
Description copied from class:Configurer
Set the Object value from a String- Specified by:
setValue
in classConfigurer
-
getConfigurer
- Specified by:
getConfigurer
in interfaceConfigurerFactory
-