Package VASSAL.build.module.map
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
Modifier and TypeFieldDescriptionprotected static final String
protected Box
protected JPanel
protected static final String
protected IntConfigurer
protected static final String
protected FormattedExpressionConfigurer
protected JLabel
protected TranslatingStringEnumConfigurer
Fields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
ConstructorDescriptionDeckPolicyConfig
(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 windowint
Deprecated.void
setContext
(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.void
Set the Object valuevoid
Set 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, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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: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
-
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: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
-
setContext
Description copied from class:Configurer
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. Don't let the AutoConfigurer over-write this- Overrides:
setContext
in classConfigurer
- Parameters:
context
- Owning Configurable
-