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, pFields 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 voidactionPerformed(ActionEvent arg0)voidfocusGained(FocusEvent arg0)voidfocusLost(FocusEvent arg0)ComponentgetControls()GUI interface for setting the option in an editing windowString[]getOptions()voidsetOptions(String[] options)Methods inherited from class VASSAL.configure.StringConfigurer
buildTextField, getValueString, setValueMethods 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: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
-