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 classLayoutConfigurer.ItemPanelprotected static classLayoutConfigurer.NewIntConfigurer -
Field Summary
Fields Modifier and Type Field Description protected static StringADD_IMAGEprotected static StringADD_SHAPEprotected static StringADD_SYMBOLprotected static StringADD_TEXTprotected static StringADD_TEXTBOXprotected intcurrentItemprotected ComponentcurrentItemControlsprotected StringConfigurerdefNameprotected static StringDOWNprotected Boxfillerprotected LayoutConfigurer.NewIntConfigurerheightprotected JPanelitemConfigPanelprotected LayoutConfigurer.ItemPanelitemPanelprotected GamePieceLayoutlayoutprotected static intNO_CURRENT_ITEMprotected JPanelpanelprotected static StringREMOVEprotected static StringUPprotected BoxvisBoxprotected JLabelvisLabelprotected Visualizervisualizerprotected LayoutConfigurer.NewIntConfigurerwidthFields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
Constructors Modifier Constructor Description protectedLayoutConfigurer()protectedLayoutConfigurer(String key, String name, GamePieceLayout def) -
Method Summary
Modifier and Type Method Description ComponentgetControls()GUI interface for setting the option in an editing windowObjectgetValue()The Object value May be null if the Object has not been initializedStringgetValueString()protected voidrepack()voidsetValue(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:ConfigurerThe Object value May be null if the Object has not been initialized- Overrides:
getValuein classConfigurer
-
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
-
getValueString
- Specified by:
getValueStringin classConfigurer- Returns:
- a String representation of the Object value
-
repack
protected void repack()
-