Class VisibilityOption
java.lang.Object
VASSAL.configure.Configurer
VASSAL.preferences.PositionOption
VASSAL.preferences.VisibilityOption
- All Implemented Interfaces:
ComponentListener, EventListener
A Preferences option controlling the visibility of a window
-
Nested Class Summary
Nested classes/interfaces inherited from class Configurer
Configurer.ContextLevel -
Field Summary
Fields inherited from class PositionOption
bounds, defaultValue, key, previousBounds, theFrameFields inherited from class Configurer
changeSupport, context, contextLevel, frozen, hint, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidSet the Object value from a StringMethods inherited from class PositionOption
componentMoved, componentResized, getControls, getValue, setFrameBounds, setValueMethods inherited from class Configurer
addFocusListener, addPropertyChangeListener, fireUpdate, getContext, getContextLevel, getHint, getKey, getName, getScreenSize, initCustomControls, isFrozen, isHighlighted, isPieceContext, removeFocusListener, removePropertyChangeListener, repack, repack, requestFocus, setContext, setContext, setContext, setContextLevel, setEnabled, setFrozen, setHighlighted, setHint, setHintKey, setLabelVisibile, setLabelVisible, setName
-
Constructor Details
-
VisibilityOption
-
-
Method Details
-
componentShown
- Specified by:
componentShownin interfaceComponentListener- Overrides:
componentShownin classPositionOption
-
componentHidden
- Specified by:
componentHiddenin interfaceComponentListener- Overrides:
componentHiddenin classPositionOption
-
setValue
Description copied from class:ConfigurerSet the Object value from a String- Overrides:
setValuein classPositionOption
-
getValueString
- Overrides:
getValueStringin classPositionOption- Returns:
- a String representation of the Object value
-