com.lavantech.gui.comp
Class CompactGridLayout
java.lang.Object
java.awt.GridLayout
com.lavantech.gui.comp.CompactGridLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.io.Serializable
- public class CompactGridLayout
- extends java.awt.GridLayout
This class is similar to GridLayout except that columns and rows are not always
equal size. Each column width is determined by the maximum width of its element.
- See Also:
- Serialized Form
Methods inherited from class java.awt.GridLayout |
addLayoutComponent, getColumns, getHgap, getRows, getVgap, removeLayoutComponent, setColumns, setHgap, setRows, setVgap, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompactGridLayout
public CompactGridLayout()
CompactGridLayout
public CompactGridLayout(int rows,
int cols)
CompactGridLayout
public CompactGridLayout(int rows,
int cols,
int hgap,
int vgap)
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
layoutContainer
public void layoutContainer(java.awt.Container parent)