Package VASSAL.configure
Class PieceAccessConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.PieceAccessConfigurer
public class PieceAccessConfigurer extends Configurer
-
Field Summary
Fields Modifier and Type Field Description protected JPanelcontrolsprotected static StringPLAYERprotected String[]promptKeysprotected String[]promptsprotected TranslatingStringEnumConfigurerselectTypeprotected static StringSIDEprotected StringArrayConfigurersideConfigprotected static StringSIDESFields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
Constructors Constructor Description PieceAccessConfigurer(String key, String name, PieceAccess value)PieceAccessConfigurer(PieceAccess value) -
Method Summary
Modifier and Type Method Description static PieceAccessdecode(String s)static Stringencode(PieceAccess p)ComponentgetControls()GUI interface for setting the option in an editing windowPieceAccessgetPieceAccess()String[]getPrompts()StringgetValueString()voidsetPrompts(String[] prompts)Deprecated, for removal: This API element is subject to removal in a future version.no replacementvoidsetValue(Object o)Set the Object valuevoidsetValue(String s)Set the Object value from a Stringprotected voidupdateControls()protected voidupdateValue()Methods inherited from class VASSAL.configure.Configurer
addFocusListener, addPropertyChangeListener, fireUpdate, getHint, getKey, getName, getScreenSize, getValue, isFrozen, isHighlighted, removeFocusListener, removePropertyChangeListener, repack, repack, 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:ConfigurerSet the Object value- Overrides:
setValuein classConfigurer
-
getValueString
- Specified by:
getValueStringin classConfigurer- Returns:
- a String representation of the Object value
-
setValue
Description copied from class:ConfigurerSet the Object value from a String- Specified by:
setValuein classConfigurer
-
getControls
Description copied from class:ConfigurerGUI interface for setting the option in an editing window- Specified by:
getControlsin 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
-