Package org.rspeer.ui.commons
Class DynamicGridLayout
- java.lang.Object
-
- java.awt.GridLayout
-
- org.rspeer.ui.commons.DynamicGridLayout
-
- All Implemented Interfaces:
LayoutManager
,Serializable
public class DynamicGridLayout extends GridLayout
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DynamicGridLayout()
DynamicGridLayout(int rows, int cols)
DynamicGridLayout(int rows, int cols, int hgap, int vgap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
layoutContainer(Container parent)
Dimension
minimumLayoutSize(Container parent)
Dimension
preferredLayoutSize(Container parent)
-
Methods inherited from class java.awt.GridLayout
addLayoutComponent, getColumns, getHgap, getRows, getVgap, removeLayoutComponent, setColumns, setHgap, setRows, setVgap, toString
-
-
-
-
Method Detail
-
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
- Overrides:
preferredLayoutSize
in classGridLayout
-
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
- Overrides:
minimumLayoutSize
in classGridLayout
-
layoutContainer
public void layoutContainer(Container parent)
- Specified by:
layoutContainer
in interfaceLayoutManager
- Overrides:
layoutContainer
in classGridLayout
-
-