Class ComponentLayout
java.lang.Object
net.miginfocom.swing.MigLayout
VASSAL.configure.ConfigurerLayout
VASSAL.counters.TraitLayout
VASSAL.configure.ComponentLayout
- All Implemented Interfaces:
LayoutManager
,LayoutManager2
,Externalizable
,Serializable
A standardised MigLayout for use by Component configurers
- See Also:
-
Field Summary
Fields inherited from class VASSAL.counters.TraitLayout
DEFAULT_TRAIT_COLUMN_CONSTRAINTS, DEFAULT_TRAIT_LAYOUT_CONSTRAINTS
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 Component layout that will suit most traits.ComponentLayout
(boolean debug) Create a standardised 2 column Component layout that will suit most traits. -
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
-
COMPONENT_INSETS
- See Also:
-
DEFAULT_COMPONENT_LAYOUT_CONSTRAINTS
- See Also:
-
DEFAULT_COMPONENT_COLUMN_CONSTRAINTS
- See Also:
-
-
Constructor Details
-
ComponentLayout
public ComponentLayout()Create a standardised 2 column Component layout that will suit most traits. -
ComponentLayout
public ComponentLayout(boolean debug) Create a standardised 2 column Component layout that will suit most traits.- Parameters:
debug
- Turn layout debug option on?
-