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[]promptsprotected JComboBox<String>selectTypeprotected static StringSIDEprotected StringArrayConfigurersideConfigprotected static StringSIDESFields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
Constructors Constructor Description PieceAccessConfigurer(String key, String name, 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)voidsetValue(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
addPropertyChangeListener, fireUpdate, getKey, getName, getValue, isFrozen, removePropertyChangeListener, setFrozen, setName
-
Field Details
-
PLAYER
-
SIDE
-
SIDES
-
controls
-
prompts
-
selectType
-
sideConfig
-
-
Constructor Details
-
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
-