org.jurvis.awt
Class JvColumnLayout
java.lang.Object
org.jurvis.awt.JvAbstractLayoutManager
org.jurvis.awt.JvAbstractLayoutManager2
org.jurvis.awt.JvColumnLayout
- All Implemented Interfaces:
- LayoutManager, LayoutManager2
public class JvColumnLayout
- extends JvAbstractLayoutManager2
A layout manager which arrange components in a column. Each components can
independently be left-aligned, center-aligned, right-aligned or stretched
horizontally to fill the available space.
- Author:
- Neil W. Weber
|
Constructor Summary |
JvColumnLayout()
Construct a new JvColumnLayout with a 2 pixel gap between
components. |
JvColumnLayout(int gap)
Construct a new JvColumnFillLayout with the specified gap
between components. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEFT
public static final String LEFT
- See Also:
- Constant Field Values
RIGHT
public static final String RIGHT
- See Also:
- Constant Field Values
CENTER
public static final String CENTER
- See Also:
- Constant Field Values
FILL
public static final String FILL
- See Also:
- Constant Field Values
JvColumnLayout
public JvColumnLayout()
- Construct a new
JvColumnLayout with a 2 pixel gap between
components.
JvColumnLayout
public JvColumnLayout(int gap)
- Construct a new
JvColumnFillLayout with the specified gap
between components.
- Parameters:
gap - pixel gap between components
layoutContainer
public void layoutContainer(Container parent)
- Lays out the container in the specified panel.
- Parameters:
parent - the component which needs to be laid out
Copyright © 1999-2004 Neil W. Weber. All Rights Reserved.