Class PositionOption
java.lang.Object
VASSAL.configure.Configurer
VASSAL.preferences.PositionOption
- All Implemented Interfaces:
ComponentListener,EventListener
- Direct Known Subclasses:
VisibilityOption
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.configure.Configurer
Configurer.ContextLevel -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Rectangleprotected Rectanglestatic final Stringprotected Rectangleprotected WindowFields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
ConstructorsConstructorDescriptionPositionOption(String key, Window f) PositionOption(String key, Window f, Rectangle defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidGUI interface for setting the option in an editing windowgetValue()The Object value May be null if the Object has not been initializedprotected voidvoidSet the Object valuevoidSet the Object value from a StringMethods inherited from class VASSAL.configure.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
-
Field Details
-
key
- See Also:
-
theFrame
-
bounds
-
defaultValue
-
previousBounds
-
-
Constructor Details
-
PositionOption
-
PositionOption
-
-
Method Details
-
getValue
Description copied from class:ConfigurerThe Object value May be null if the Object has not been initialized- Overrides:
getValuein classConfigurer
-
setValue
Description copied from class:ConfigurerSet the Object value- Overrides:
setValuein classConfigurer
-
getControls
Description copied from class:ConfigurerGUI interface for setting the option in an editing window- Specified by:
getControlsin classConfigurer
-
setValue
Description copied from class:ConfigurerSet the Object value from a String- Specified by:
setValuein classConfigurer
-
getValueString
- Specified by:
getValueStringin classConfigurer- Returns:
- a String representation of the Object value
-
componentMoved
- Specified by:
componentMovedin interfaceComponentListener
-
componentResized
- Specified by:
componentResizedin interfaceComponentListener
-
componentShown
- Specified by:
componentShownin interfaceComponentListener
-
componentHidden
- Specified by:
componentHiddenin interfaceComponentListener
-
setFrameBounds
protected void setFrameBounds()
-