Class ConfigurerLayout
java.lang.Object
net.miginfocom.swing.MigLayout
VASSAL.configure.ConfigurerLayout
- All Implemented Interfaces:
LayoutManager
,LayoutManager2
,Externalizable
,Serializable
- Direct Known Subclasses:
TraitLayout
public class ConfigurerLayout
extends net.miginfocom.swing.MigLayout
A Standardised MigLayout for use by individual Configurers
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConfigurerLayout
(String defaultLayoutConstraints, String defaultColumnConstraints) ConfigurerLayout
(String name, String noNameColConstraints, String nameColConstraints) Create a Layout with alternate Column constraints depending on whether or not a label is supplied for this configurer New-style Configurers will always supply a blank label.ConfigurerLayout
(String name, String noNameColConstraints, String nameColConstraints, String rowConstraints) -
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
-
STANDARD_INSETS
- See Also:
-
STANDARD_GAPY
- See Also:
-
STANDARD_INSETS_GAPY
- See Also:
-
STANDARD_INSERTS_GAPY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
DEFAULT_CFG_LAYOUT_CONSTRAINTS
- See Also:
-
-
Constructor Details
-
ConfigurerLayout
Create a Layout with alternate Column constraints depending on whether or not a label is supplied for this configurer New-style Configurers will always supply a blank label. Legacy style Configurers will supply a text label and the column constraints must included a column for this.- Parameters:
name
- The text of the supplied labelnoNameColConstraints
- Column constraints to apply if the supplied name is null or emptynameColConstraints
- Column constraints to apply if a label is supplied
-
ConfigurerLayout
-
ConfigurerLayout
-
ConfigurerLayout
public ConfigurerLayout()
-