Package org.esa.snap.ui
Class GridLayout2
- java.lang.Object
-
- java.awt.GridLayout
-
- org.esa.snap.ui.GridLayout2
-
- All Implemented Interfaces:
LayoutManager
,Serializable
public class GridLayout2 extends GridLayout
A grid layout which allows components of differrent sizes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridLayout2()
GridLayout2(int rows, int cols)
GridLayout2(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
-
-