Class MassKeyCommand.DeckPolicyConfig
java.lang.Object
VASSAL.configure.Configurer
VASSAL.build.module.map.MassKeyCommand.DeckPolicyConfig
- All Implemented Interfaces:
ConfigurerFactory,Auditable
- Direct Known Subclasses:
DeckGlobalKeyCommand.DeckPolicyConfig2
- Enclosing class:
MassKeyCommand
public static class MassKeyCommand.DeckPolicyConfig
extends Configurer
implements ConfigurerFactory, Auditable
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.configure.Configurer
Configurer.ContextLevel -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected Boxprotected JPanelprotected static final Stringprotected IntConfigurerprotected static final Stringprotected FormattedExpressionConfigurerprotected JLabelprotected TranslatingStringEnumConfigurerFields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
ConstructorsConstructorDescriptionDeckPolicyConfig(boolean showPrompt) DeckPolicyConfig(boolean showPrompt, GamePiece sourcePiece) -
Method Summary
Modifier and TypeMethodDescriptiongetConfigurer(AutoConfigurable c, String key, String name) GUI interface for setting the option in an editing windowintDeprecated.voidsetContext(AbstractBuildable context) Set the Context for this Configurer to the first ancestor that is of type GameModule or Map NOTE: The ContextLevel may already have been preset by the ConfigureFactory when the Configurer was created.voidSet the Object valuevoidSet the Object value from a StringMethods inherited from class VASSAL.configure.Configurer
addFocusListener, addPropertyChangeListener, fireUpdate, getContext, getContextLevel, getHint, getKey, getName, getScreenSize, getValue, initCustomControls, isFrozen, isHighlighted, isPieceContext, removeFocusListener, removePropertyChangeListener, repack, repack, requestFocus, setContext, setContext, setContextLevel, setEnabled, setFrozen, setHighlighted, setHint, setHintKey, setLabelVisibile, setLabelVisible, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface VASSAL.script.expression.Auditable
getComponentName, getComponentTypeName
-
Field Details
-
FIXED
- See Also:
-
NONE
- See Also:
-
ALL
- See Also:
-
piecesConfig
-
typeConfig
-
intConfig
-
prompt
-
controls
-
controls2
-
-
Constructor Details
-
DeckPolicyConfig
public DeckPolicyConfig() -
DeckPolicyConfig
public DeckPolicyConfig(boolean showPrompt) -
DeckPolicyConfig
-
-
Method Details
-
getControls
Description copied from class:ConfigurerGUI interface for setting the option in an editing window- Specified by:
getControlsin classConfigurer
-
getValueString
- Specified by:
getValueStringin classConfigurer- Returns:
- a String representation of the Object value
-
getSingleValue
-
getIntValue
Deprecated.Legacy version for binary compability. Will attempt to return something resembling the old integer value.- Returns:
- Will attempt to return something resembling the old integer value.
-
setValue
Description copied from class:ConfigurerSet the Object value- Overrides:
setValuein classConfigurer
-
setValue
Description copied from class:ConfigurerSet the Object value from a String- Specified by:
setValuein classConfigurer
-
getConfigurer
- Specified by:
getConfigurerin interfaceConfigurerFactory
-
setContext
Description copied from class:ConfigurerSet the Context for this Configurer to the first ancestor that is of type GameModule or Map NOTE: The ContextLevel may already have been preset by the ConfigureFactory when the Configurer was created. Don't let the AutoConfigurer over-write this- Overrides:
setContextin classConfigurer- Parameters:
context- Owning Configurable
-