org.tbee.swing.gridbag
Class GridBagLayout
java.lang.Object
java.awt.GridBagLayout
org.tbee.swing.gridbag.GridBagLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable
public class GridBagLayout
- extends java.awt.GridBagLayout
Enhances GridBagLayout with some convenience methods,
like default GridBagContraint logic for placing labels and fields (label-style, field-style, spanning, etc).
Plus the layout per default supports spacing between the components.
There are X and Y counters, to help easy layouting.
The X counter is controlled by the Y counter,
This means that when the Y (row) is doing a "next" the X (column) counter is reset to 0.
The whole placement constraint may be provided as a string "