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
ConstructorDescriptionGlobalCommandTargetConfigurer
(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 windowvoid
repack()
Repack the current configurervoid
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
setFrozen
(boolean val) Freeze the Configurer from issuing PropertyChange Events.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, requestFocus, setContext, setContext, setContextLevel, setEnabled, setHighlighted, setHint, setHintKey, setLabelVisibile, setLabelVisible, setName
-
Constructor Details
-
GlobalCommandTargetConfigurer
-
GlobalCommandTargetConfigurer
-
GlobalCommandTargetConfigurer
-
GlobalCommandTargetConfigurer
-
-
Method Details
-
getTarget
-
getValueString
- Specified by:
getValueString
in classConfigurer
- Returns:
- a String representation of the Object value
-
setValue
Description copied from class:Configurer
Set the Object value from a String- Specified by:
setValue
in classConfigurer
-
setValue
Description copied from class:Configurer
Set the Object value- Overrides:
setValue
in classConfigurer
-
setFrozen
public void setFrozen(boolean val) Freeze the Configurer from issuing PropertyChange Events. Ensure the subsidiary Configurers are quiet also.- Overrides:
setFrozen
in classConfigurer
- Parameters:
val
- true to freeze
-
getControls
Description copied from class:Configurer
GUI interface for setting the option in an editing window- Specified by:
getControls
in classConfigurer
-
repack
public void repack()Description copied from class:Configurer
Repack the current configurer- Overrides:
repack
in classConfigurer
-
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
-