Class LayoutConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.build.module.gamepieceimage.LayoutConfigurer
public class LayoutConfigurer extends Configurer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
LayoutConfigurer.ItemPanel
protected static class
LayoutConfigurer.NewIntConfigurer
-
Field Summary
Fields Modifier and Type Field Description protected static String
ADD_IMAGE
protected static String
ADD_SHAPE
protected static String
ADD_SYMBOL
protected static String
ADD_TEXT
protected static String
ADD_TEXTBOX
protected int
currentItem
protected Component
currentItemControls
protected StringConfigurer
defName
protected static String
DOWN
protected Box
filler
protected LayoutConfigurer.NewIntConfigurer
height
protected JPanel
itemConfigPanel
protected LayoutConfigurer.ItemPanel
itemPanel
protected GamePieceLayout
layout
protected static int
NO_CURRENT_ITEM
protected JPanel
panel
protected static String
REMOVE
protected static String
UP
protected Box
visBox
protected JLabel
visLabel
protected Visualizer
visualizer
protected LayoutConfigurer.NewIntConfigurer
width
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
Constructors Modifier Constructor Description protected
LayoutConfigurer()
protected
LayoutConfigurer(String key, String name, GamePieceLayout def)
-
Method Summary
Modifier and Type Method Description Component
getControls()
GUI interface for setting the option in an editing windowObject
getValue()
The Object value May be null if the Object has not been initializedString
getValueString()
protected void
repack()
void
setValue(String s)
Set the Object value from a StringMethods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getKey, getName, isFrozen, removePropertyChangeListener, setFrozen, setName, setValue
-
Field Details
-
ADD_SYMBOL
- See Also:
- Constant Field Values
-
ADD_IMAGE
- See Also:
- Constant Field Values
-
ADD_TEXT
- See Also:
- Constant Field Values
-
ADD_TEXTBOX
- See Also:
- Constant Field Values
-
ADD_SHAPE
- See Also:
- Constant Field Values
-
REMOVE
- See Also:
- Constant Field Values
-
UP
- See Also:
- Constant Field Values
-
DOWN
- See Also:
- Constant Field Values
-
NO_CURRENT_ITEM
protected static final int NO_CURRENT_ITEM- See Also:
- Constant Field Values
-
panel
-
itemPanel
-
itemConfigPanel
-
currentItemControls
-
currentItem
protected int currentItem -
visBox
-
visualizer
-
visLabel
-
filler
-
layout
-
defName
-
height
-
width
-
-
Constructor Details
-
LayoutConfigurer
protected LayoutConfigurer() -
LayoutConfigurer
-
-
Method Details
-
getValue
Description copied from class:Configurer
The Object value May be null if the Object has not been initialized- Overrides:
getValue
in classConfigurer
-
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
-
getValueString
- Specified by:
getValueString
in classConfigurer
- Returns:
- a String representation of the Object value
-
repack
protected void repack()
-