Class GlobalCommandTargetConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.GlobalCommandTargetConfigurer
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.configure.Configurer
Configurer.ContextLevel -
Field Summary
Fields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
ConstructorsConstructorDescriptionGlobalCommandTargetConfigurer(String key, String name) GlobalCommandTargetConfigurer(String key, String name, GlobalCommandTarget target) GlobalCommandTargetConfigurer(GlobalCommandTarget target, GamePiece sourcePiece) -
Method Summary
Modifier and TypeMethodDescriptionGUI interface for setting the option in an editing windowvoidrepack()Repack the current configurervoidsetContext(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.voidsetFrozen(boolean val) Freeze the Configurer from issuing PropertyChange Events.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, requestFocus, setContext, setContext, setContextLevel, setEnabled, setHighlighted, setHint, setHintKey, setLabelVisibile, setLabelVisible, setName
-
Constructor Details
-
GlobalCommandTargetConfigurer
-
GlobalCommandTargetConfigurer
-
GlobalCommandTargetConfigurer
-
GlobalCommandTargetConfigurer
-
-
Method Details
-
getTarget
-
getValueString
- Specified by:
getValueStringin classConfigurer- Returns:
- a String representation of the Object value
-
setValue
Description copied from class:ConfigurerSet the Object value from a String- Specified by:
setValuein classConfigurer
-
setValue
Description copied from class:ConfigurerSet the Object value- Overrides:
setValuein classConfigurer
-
setFrozen
public void setFrozen(boolean val) Freeze the Configurer from issuing PropertyChange Events. Ensure the subsidiary Configurers are quiet also.- Overrides:
setFrozenin classConfigurer- Parameters:
val- true to freeze
-
getControls
Description copied from class:ConfigurerGUI interface for setting the option in an editing window- Specified by:
getControlsin classConfigurer
-
repack
public void repack()Description copied from class:ConfigurerRepack the current configurer- Overrides:
repackin classConfigurer
-
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
-