charva.awt
Class BorderLayout
- LayoutManager, LayoutManager2
public class BorderLayout
extends java.lang.Object
A concrete implementation of LayoutManager that lays out its
components around its edges.
The components are laid out according to their preferred sizes and
the constraints of the container's size. The NORTH and SOUTH components
may be stretched horizontally; the WEST and EAST components may be
stretched vertically; the CENTER component may stretch both horiz-
ontally and vertically to fill any space left over.
CENTER
public static final String CENTER
EAST
public static final String EAST
NORTH
public static final String NORTH
SOUTH
public static final String SOUTH
WEST
public static final String WEST
BorderLayout
public BorderLayout()
doLayout
public void doLayout(Container container_)
This is called when the size of the container has already been
set. It just lays out the components according to the
specified alignment, hgap and vgap.
- doLayout in interface LayoutManager
invalidateLayout
public void invalidateLayout(Container target_)
Invalidates the layout, indicating that if the layout manager has cached
information it should be discarded.
- invalidateLayout in interface LayoutManager2