Package VASSAL.configure
Class FormattedStringConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.StringConfigurer
VASSAL.configure.FormattedStringConfigurer
- All Implemented Interfaces:
ActionListener,FocusListener,EventListener
- Direct Known Subclasses:
FlareFormattedStringConfigurer,FormattedExpressionConfigurer,GamePieceFormattedStringConfigurer,PlayerIdFormattedStringConfigurer
public class FormattedStringConfigurer
extends StringConfigurer
implements ActionListener, FocusListener
-
Field Summary
Fields inherited from class VASSAL.configure.StringConfigurer
DEFAULT_LENGHTH, length, nameField, pFields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
ConstructorsConstructorDescriptionFormattedStringConfigurer(String[] options)FormattedStringConfigurer(String key, String name)FormattedStringConfigurer(String key, String name, String[] options) -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent arg0)voidfocusGained(FocusEvent arg0)voidfocusLost(FocusEvent arg0)GUI interface for setting the option in an editing windowString[]voidsetOptions(String[] options)Methods inherited from class VASSAL.configure.StringConfigurer
addFocusListener, buildTextField, getGrowthConstraint, getValueString, removeFocusListener, requestFocus, setHighlighted, setLabelVisibile, setValue, updateHintMethods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getHint, getKey, getName, getScreenSize, getValue, isFrozen, isHighlighted, removePropertyChangeListener, repack, repack, setFrozen, setHint, setHintKey, setName, setValue
-
Constructor Details
-
FormattedStringConfigurer
-
FormattedStringConfigurer
-
FormattedStringConfigurer
-
-
Method Details
-
setOptions
-
getOptions
-
getControls
Description copied from class:ConfigurerGUI interface for setting the option in an editing window- Overrides:
getControlsin classStringConfigurer
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-