Package VASSAL.build.module.map.deck
Class SortParameterConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.build.module.map.deck.SortParameterConfigurer
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFocusListener
(FocusListener listener) Add a FocusListener to the Swing Components that make up this Configurer.GUI interface for setting the option in an editing windowvoid
removeFocusListener
(FocusListener listener) Remove a FocusListener from the Swing Components that make up this Configurer.void
Move the cursor to the first input field of this Configurervoid
setFrozen
(boolean val) If true, then don't fire PropertyChangeEvents when the value is resetvoid
setHighlighted
(boolean highlighted) Set the highlighted status of this configurer.void
Set the Object valuevoid
Set the Object value from a StringMethods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getContext, getContextLevel, getHint, getKey, getName, getScreenSize, getValue, initCustomControls, isFrozen, isHighlighted, isPieceContext, removePropertyChangeListener, repack, repack, setContext, setContext, setContext, setContextLevel, setEnabled, setHint, setHintKey, setLabelVisibile, setLabelVisible, setName
-
Constructor Details
-
SortParameterConfigurer
-
SortParameterConfigurer
-
SortParameterConfigurer
public SortParameterConfigurer()
-
-
Method Details
-
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) Description copied from class:Configurer
If true, then don't fire PropertyChangeEvents when the value is reset- Overrides:
setFrozen
in classConfigurer
-
getControls
Description copied from class:Configurer
GUI interface for setting the option in an editing window- Specified by:
getControls
in classConfigurer
-
setHighlighted
public void setHighlighted(boolean highlighted) Description copied from class:Configurer
Set the highlighted status of this configurer. It is up to individual Configurers to override this method and implement a suitable visual highlighting scheme Note: Cannot make this abstract as it will break custom code.- Overrides:
setHighlighted
in classConfigurer
- Parameters:
highlighted
- New Highlighted status
-
addFocusListener
Description copied from class:Configurer
Add a FocusListener to the Swing Components that make up this Configurer.- Overrides:
addFocusListener
in classConfigurer
- Parameters:
listener
- Focus Listener
-
removeFocusListener
Description copied from class:Configurer
Remove a FocusListener from the Swing Components that make up this Configurer.- Overrides:
removeFocusListener
in classConfigurer
- Parameters:
listener
- Focus Listener
-
requestFocus
public void requestFocus()Description copied from class:Configurer
Move the cursor to the first input field of this Configurer- Overrides:
requestFocus
in classConfigurer
-