org.argouml.swingext
Class DockLayout
java.lang.Object
java.awt.BorderLayout
org.argouml.swingext.DockLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable
- public class DockLayout
- extends java.awt.BorderLayout
- See Also:
- Serialized Form
Field Summary |
private java.awt.Component |
center
|
private java.util.ArrayList |
east
|
static int |
HORIZONTAL
|
private java.util.ArrayList |
north
|
private java.util.ArrayList |
south
|
static int |
VERTICAL
|
private java.util.ArrayList |
west
|
Fields inherited from class java.awt.BorderLayout |
AFTER_LAST_LINE, AFTER_LINE_ENDS, BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS, CENTER, EAST, LINE_END, LINE_START, NORTH, PAGE_END, PAGE_START, SOUTH, WEST |
Methods inherited from class java.awt.BorderLayout |
addLayoutComponent, getHgap, getLayoutAlignmentX, getLayoutAlignmentY, getVgap, invalidateLayout, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, setHgap, setVgap, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
north
private java.util.ArrayList north
south
private java.util.ArrayList south
east
private java.util.ArrayList east
west
private java.util.ArrayList west
center
private java.awt.Component center
VERTICAL
public static final int VERTICAL
- See Also:
- Constant Field Values
HORIZONTAL
public static final int HORIZONTAL
- See Also:
- Constant Field Values
DockLayout
public DockLayout()
addLayoutComponent
public void addLayoutComponent(java.awt.Component c,
java.lang.Object con)
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component c)
layoutContainer
public void layoutContainer(java.awt.Container target)
getPreferredDimension
private java.awt.Dimension getPreferredDimension(java.util.ArrayList comps)
placeComponents
private void placeComponents(java.util.ArrayList comps,
int x,
int y,
int w,
int h,
int orientation)