Class FormattedStringConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.StringConfigurer
VASSAL.configure.FormattedStringConfigurer
- All Implemented Interfaces:
ActionListener
,FocusListener
,EventListener
- Direct Known Subclasses:
FormattedExpressionConfigurer
,GamePieceFormattedStringConfigurer
,PlayerIdFormattedStringConfigurer
public class FormattedStringConfigurer
extends StringConfigurer
implements ActionListener, FocusListener
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.configure.Configurer
Configurer.ContextLevel
-
Field Summary
Fields inherited from class VASSAL.configure.StringConfigurer
DEFAULT_LENGHTH, DEFAULT_LENGTH, length, nameField, p, updateInProgress
Fields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
ConstructorDescriptionFormattedStringConfigurer
(String[] options) FormattedStringConfigurer
(String key, String name) FormattedStringConfigurer
(String key, String name, String[] options) -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(ActionEvent arg0) void
focusGained
(FocusEvent arg0) void
focusLost
(FocusEvent arg0) GUI interface for setting the option in an editing windowString[]
void
setOptions
(String[] options) Methods inherited from class VASSAL.configure.StringConfigurer
addFocusListener, buildTextField, getGrowthConstraint, getValueString, removeFocusListener, requestFocus, setEnabled, setHighlighted, setLabelVisible, setValue, updateHint
Methods 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, setFrozen, setHint, setHintKey, setLabelVisibile, setName, setValue
-
Constructor Details
-
FormattedStringConfigurer
-
FormattedStringConfigurer
-
FormattedStringConfigurer
-
-
Method Details
-
setOptions
-
getOptions
-
getControls
Description copied from class:Configurer
GUI interface for setting the option in an editing window- Overrides:
getControls
in classStringConfigurer
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-