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:
FormattedExpressionConfigurer
,GamePieceFormattedStringConfigurer
,PlayerIdFormattedStringConfigurer
public class FormattedStringConfigurer extends StringConfigurer implements ActionListener, FocusListener
-
Field Summary
Fields inherited from class VASSAL.configure.StringConfigurer
DEFAULT_LENGHTH, length, nameField, p
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
Constructors Constructor Description FormattedStringConfigurer(String key, String name)
FormattedStringConfigurer(String key, String name, String[] options)
-
Method Summary
Modifier and Type Method Description void
actionPerformed(ActionEvent arg0)
void
focusGained(FocusEvent arg0)
void
focusLost(FocusEvent arg0)
Component
getControls()
GUI interface for setting the option in an editing windowString[]
getOptions()
void
setOptions(String[] options)
Methods inherited from class VASSAL.configure.StringConfigurer
buildTextField, getValueString, setValue
Methods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getKey, getName, getValue, isFrozen, removePropertyChangeListener, setFrozen, setName, setValue
-
Constructor Details
-
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
-