Class InstanceConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.build.module.gamepieceimage.InstanceConfigurer
Controls for configuring an individual ItemInstance
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GamePieceImageprotected InstanceConfigurerprotected JPanelprotected InstanceConfigurer.SymbolPanelprotected Boxprotected VisualizerFields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedInstanceConfigurer(String key, String name, GamePieceImage defn) -
Method Summary
Modifier and TypeMethodDescriptionGUI interface for setting the option in an editing windowDeprecated, for removal: This API element is subject to removal in a future version.static StringPropertiesToString(List<ItemInstance> props)voidvoidrefresh()voidrepack()Repack the current configurervoidSet the Object value from a Stringstatic List<ItemInstance>StringToProperties(String s, GamePieceImage defn)Methods inherited from class VASSAL.configure.Configurer
addFocusListener, addPropertyChangeListener, fireUpdate, getHint, getKey, getName, getScreenSize, getValue, isFrozen, isHighlighted, removeFocusListener, removePropertyChangeListener, repack, requestFocus, setFrozen, setHighlighted, setHint, setHintKey, setLabelVisibile, setName, setValue
-
Field Details
-
defn
-
visBox
-
visualizer
-
panel
-
symbolPanel
-
me
-
-
Constructor Details
-
InstanceConfigurer
protected InstanceConfigurer() -
InstanceConfigurer
-
-
Method Details
-
getValueString
- Specified by:
getValueStringin classConfigurer- Returns:
- a String representation of the Object value
-
getValueList
-
getValueArrayList
Deprecated, for removal: This API element is subject to removal in a future version.UsegetValueList()instead. -
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
-
PropertiesToString
-
StringToProperties
-
refresh
public void refresh() -
rebuildViz
public void rebuildViz() -
repack
public void repack()Description copied from class:ConfigurerRepack the current configurer- Overrides:
repackin classConfigurer
-
getValueList()instead.