Package VASSAL.configure
Class GlobalCommandTargetConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.GlobalCommandTargetConfigurer
public class GlobalCommandTargetConfigurer extends Configurer
-
Field Summary
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
Constructors Constructor Description GlobalCommandTargetConfigurer(String key, String name)GlobalCommandTargetConfigurer(String key, String name, GlobalCommandTarget target)GlobalCommandTargetConfigurer(GlobalCommandTarget target) -
Method Summary
Modifier and Type Method Description ComponentgetControls()GUI interface for setting the option in an editing windowGlobalCommandTargetgetTarget()StringgetValueString()voidrepack()Repack the current configurervoidsetFrozen(boolean val)Freeze the Configurer from issuing PropertyChange Events.voidsetValue(Object o)Set the Object valuevoidsetValue(String s)Set the Object value from a StringMethods inherited from class VASSAL.configure.Configurer
addFocusListener, addPropertyChangeListener, fireUpdate, getHint, getKey, getName, getScreenSize, getValue, isFrozen, isHighlighted, removeFocusListener, removePropertyChangeListener, repack, requestFocus, setHighlighted, setHint, setHintKey, setLabelVisibile, setName
-
Constructor Details
-
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
-