Class InstanceConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.build.module.gamepieceimage.InstanceConfigurer
public class InstanceConfigurer extends Configurer
Controls for configuring an individual ItemInstance
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
InstanceConfigurer.SymbolPanel
-
Field Summary
Fields Modifier and Type Field Description protected GamePieceImage
defn
protected InstanceConfigurer
me
protected JPanel
panel
protected InstanceConfigurer.SymbolPanel
symbolPanel
protected Box
visBox
protected Visualizer
visualizer
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
Constructors Modifier Constructor Description protected
InstanceConfigurer()
protected
InstanceConfigurer(String key, String name, GamePieceImage defn)
-
Method Summary
Modifier and Type Method Description Component
getControls()
GUI interface for setting the option in an editing windowArrayList<ItemInstance>
getValueArrayList()
Deprecated, for removal: This API element is subject to removal in a future version.List<ItemInstance>
getValueList()
String
getValueString()
static String
PropertiesToString(List<ItemInstance> props)
void
rebuildViz()
void
refresh()
void
repack()
void
setValue(String s)
Set the Object value from a Stringstatic List<ItemInstance>
StringToProperties(String s, GamePieceImage defn)
Methods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getKey, getName, getValue, isFrozen, removePropertyChangeListener, setFrozen, 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
-
getValueArrayList
Deprecated, for removal: This API element is subject to removal in a future version.UsegetValueList()
instead. -
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()
-
getValueList()
instead.