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

public class TraitLayout extends ConfigurerLayout
A standardised MigLayout for use by Trait configurers
See Also:
  • Field Details

  • 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

      public TraitLayout(boolean debug, String layoutConstraints, String columnConstraints)
      Create a customised Trait Layout using supplied constraints
      Parameters:
      debug - Turn layout debug option on?
      layoutConstraints - Custom layout constraints
      columnConstraints - Custom column constraints