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:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
     
    static String
     
    static String
     
    static String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ConfigurerLayout​(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ConfigurerLayout

      public 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. 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 label
      noNameColConstraints - Column constraints to apply if the supplied name is null or empty
      nameColConstraints - Column constraints to apply if a label is supplied
    • ConfigurerLayout

      public ConfigurerLayout(String name, String noNameColConstraints, String nameColConstraints, String rowConstraints)
    • ConfigurerLayout

      public ConfigurerLayout(String defaultLayoutConstraints, String defaultColumnConstraints)
    • ConfigurerLayout

      public ConfigurerLayout()