Package VASSAL.counters
Class TraitLayout
java.lang.Object
net.miginfocom.swing.MigLayout
VASSAL.configure.ConfigurerLayout
VASSAL.counters.TraitLayout
- All Implemented Interfaces:
LayoutManager
,LayoutManager2
,Externalizable
,Serializable
- Direct Known Subclasses:
ComponentLayout
A standardised MigLayout for use by Trait configurers
- See Also:
-
Field Summary
Fields inherited from class VASSAL.configure.ConfigurerLayout
DEFAULT_CFG_LAYOUT_CONSTRAINTS, STANDARD_GAPY, STANDARD_INSERTS_GAPY, STANDARD_INSETS, STANDARD_INSETS_GAPY
-
Constructor Summary
ConstructorDescriptionCreate a standardised 2 column Trait layout that will suit most traits.TraitLayout
(boolean debug) Create a standardised 2 column Trait layout that will suit most traits.TraitLayout
(boolean debug, String layoutConstraints, String columnConstraints) Create a customised Trait Layout using supplied constraints -
Method Summary
Methods inherited from class net.miginfocom.swing.MigLayout
addLayoutCallback, addLayoutComponent, addLayoutComponent, findType, getColumnConstraints, getComponentConstraints, getConstraintMap, getLayoutAlignmentX, getLayoutAlignmentY, getLayoutConstraints, getRowConstraints, invalidateLayout, isManagingComponent, layoutContainer, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, readExternal, removeLayoutCallback, removeLayoutComponent, setColumnConstraints, setComponentConstraints, setConstraintMap, setLayoutConstraints, setRowConstraints, writeExternal
-
Field Details
-
DEFAULT_TRAIT_LAYOUT_CONSTRAINTS
- See Also:
-
DEFAULT_TRAIT_COLUMN_CONSTRAINTS
- See Also:
-
-
Constructor Details
-
TraitLayout
public TraitLayout()Create a standardised 2 column Trait layout that will suit most traits. -
TraitLayout
public TraitLayout(boolean debug) Create a standardised 2 column Trait layout that will suit most traits.- Parameters:
debug
- Turn layout debug option on?
-
TraitLayout
-