Package VASSAL.configure
Class PieceAccessConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.PieceAccessConfigurer
-
Field Summary
Modifier and TypeFieldDescriptionprotected JPanel
protected static String
protected String[]
protected String[]
protected TranslatingStringEnumConfigurer
protected static String
protected StringArrayConfigurer
protected static String
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
ConstructorDescriptionPieceAccessConfigurer(String key, String name, PieceAccess value)
PieceAccessConfigurer(PieceAccess value)
-
Method Summary
Modifier and TypeMethodDescriptionstatic PieceAccess
static String
encode(PieceAccess p)
GUI interface for setting the option in an editing windowString[]
void
setPrompts(String[] prompts)
Deprecated, for removal: This API element is subject to removal in a future version.no replacementvoid
Set the Object valuevoid
Set the Object value from a Stringprotected void
protected void
Methods inherited from class VASSAL.configure.Configurer
addFocusListener, addPropertyChangeListener, fireUpdate, getHint, getKey, getName, getScreenSize, getValue, isFrozen, isHighlighted, removeFocusListener, removePropertyChangeListener, repack, repack, requestFocus, setFrozen, setHighlighted, setHint, setHintKey, setLabelVisibile, setName
-
Field Details
-
PLAYER
- See Also:
- Constant Field Values
-
SIDE
- See Also:
- Constant Field Values
-
SIDES
- See Also:
- Constant Field Values
-
controls
-
prompts
-
promptKeys
-
selectType
-
sideConfig
-
-
Constructor Details
-
PieceAccessConfigurer
-
PieceAccessConfigurer
-
-
Method Details
-
setValue
Description copied from class:Configurer
Set the Object value- Overrides:
setValue
in classConfigurer
-
getValueString
- Specified by:
getValueString
in classConfigurer
- Returns:
- a String representation of the Object value
-
setValue
Description copied from class:Configurer
Set the Object value from a String- Specified by:
setValue
in classConfigurer
-
getControls
Description copied from class:Configurer
GUI interface for setting the option in an editing window- Specified by:
getControls
in classConfigurer
-
updateValue
protected void updateValue() -
updateControls
protected void updateControls() -
getPrompts
-
getPieceAccess
-
decode
-
encode
-
setPrompts
Deprecated, for removal: This API element is subject to removal in a future version.no replacement
-