Package VASSAL.configure
Class FormattedExpressionConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.StringConfigurer
VASSAL.configure.FormattedStringConfigurer
VASSAL.configure.FormattedExpressionConfigurer
- All Implemented Interfaces:
ActionListener,FocusListener,EventListener
- Direct Known Subclasses:
DeckSelectionConfigurer,FlareFormattedStringConfigurer,PlayerIdFormattedExpressionConfigurer,PropertyExpressionConfigurer,PropertyNameExpressionConfigurer
A standard Formatted String configurer that has an additional
Calculator icon that:
a) Indicates to the user that $name$ variables can be used in this field
b) Clicking on it opens up an Expression Builder that allows entry of
in-line Calculated Properties (Not implemented yet)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA small 'Calculator' button added after the text to indicate this Configurer accepts Expressions.Nested classes/interfaces inherited from class VASSAL.configure.Configurer
Configurer.ContextLevel -
Field Summary
FieldsFields inherited from class VASSAL.configure.StringConfigurer
DEFAULT_LENGHTH, DEFAULT_LENGTH, length, nameField, p, updateInProgressFields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
ConstructorsConstructorDescriptionFormattedExpressionConfigurer(String[] options) FormattedExpressionConfigurer(String key, String name) FormattedExpressionConfigurer(String key, String name, String s) FormattedExpressionConfigurer(String key, String name, String[] options) FormattedExpressionConfigurer(String key, String name, String s, PropertyChangerConfigurer.Constraints p) FormattedExpressionConfigurer(String key, String name, String s, EditablePiece p) FormattedExpressionConfigurer(String key, String name, String s, GamePiece p) FormattedExpressionConfigurer(String key, String name, FormattedString s) -
Method Summary
Modifier and TypeMethodDescriptionGUI interface for setting the option in an editing windowprotected voidMethods inherited from class VASSAL.configure.FormattedStringConfigurer
actionPerformed, focusGained, focusLost, getOptions, setOptionsMethods inherited from class VASSAL.configure.StringConfigurer
addFocusListener, buildTextField, getGrowthConstraint, getValueString, removeFocusListener, requestFocus, setEnabled, setHighlighted, setLabelVisible, setValue, updateHintMethods 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
-
Field Details
-
button
-
pieceTarget
-
-
Constructor Details
-
FormattedExpressionConfigurer
-
FormattedExpressionConfigurer
-
FormattedExpressionConfigurer
-
FormattedExpressionConfigurer
-
FormattedExpressionConfigurer
-
FormattedExpressionConfigurer
-
FormattedExpressionConfigurer
public FormattedExpressionConfigurer(String key, String name, String s, PropertyChangerConfigurer.Constraints p) -
FormattedExpressionConfigurer
-
FormattedExpressionConfigurer
-
FormattedExpressionConfigurer
-
FormattedExpressionConfigurer
-
-
Method Details
-
storePiece
-
getControls
Description copied from class:ConfigurerGUI interface for setting the option in an editing window- Overrides:
getControlsin classFormattedStringConfigurer
-
buildButton
-