de.sciss.gui
Class StretchedGridLayout
java.lang.Object
java.awt.GridLayout
de.sciss.gui.StretchedGridLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.io.Serializable
public class StretchedGridLayout
- extends java.awt.GridLayout
A variant of GridLayout that doesn't leave
empty spaces at the bottom or right, because
it properly stretches the widths and heights of
the components over the available space
- Version:
- 0.10, 29-Nov-07
- Author:
- Hanns Holger Rutz
- See Also:
- Serialized Form
Methods inherited from class java.awt.GridLayout |
addLayoutComponent, getColumns, getHgap, getRows, getVgap, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setColumns, setHgap, setRows, setVgap, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StretchedGridLayout
public StretchedGridLayout()
StretchedGridLayout
public StretchedGridLayout(int rows,
int cols)
StretchedGridLayout
public StretchedGridLayout(int rows,
int cols,
int hgap,
int vgap)
layoutContainer
public void layoutContainer(java.awt.Container parent)
- Specified by:
layoutContainer
in interface java.awt.LayoutManager
- Overrides:
layoutContainer
in class java.awt.GridLayout