Class InstanceConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.build.module.gamepieceimage.InstanceConfigurer
Controls for configuring an individual ItemInstance
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.configure.Configurer
Configurer.ContextLevel
-
Field Summary
Modifier and TypeFieldDescriptionprotected GamePieceImage
protected InstanceConfigurer
protected JPanel
protected InstanceConfigurer.SymbolPanel
protected Box
protected Visualizer
Fields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
InstanceConfigurer
(String key, String name, GamePieceImage defn) -
Method Summary
Modifier and TypeMethodDescriptionGUI interface for setting the option in an editing windowstatic String
PropertiesToString
(List<ItemInstance> props) void
void
refresh()
void
repack()
Repack the current configurervoid
Set the Object value from a Stringstatic List
<ItemInstance> StringToProperties
(String s, GamePieceImage defn) Methods inherited from class VASSAL.configure.Configurer
addFocusListener, addPropertyChangeListener, fireUpdate, getContext, getContextLevel, getHint, getKey, getName, getScreenSize, getValue, initCustomControls, isFrozen, isHighlighted, isPieceContext, removeFocusListener, removePropertyChangeListener, repack, requestFocus, setContext, setContext, setContext, setContextLevel, setEnabled, setFrozen, setHighlighted, setHint, setHintKey, setLabelVisibile, setLabelVisible, setName, setValue
-
Field Details
-
defn
-
visBox
-
visualizer
-
panel
-
symbolPanel
-
me
-
-
Constructor Details
-
InstanceConfigurer
protected InstanceConfigurer() -
InstanceConfigurer
-
-
Method Details
-
getValueString
- Specified by:
getValueString
in classConfigurer
- Returns:
- a String representation of the Object value
-
getValueList
-
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
-
PropertiesToString
-
StringToProperties
-
refresh
public void refresh() -
rebuildViz
public void rebuildViz() -
repack
public void repack()Description copied from class:Configurer
Repack the current configurer- Overrides:
repack
in classConfigurer
-