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)
- Specified by:
addLayoutComponent
in interface java.awt.LayoutManager2
- Overrides:
addLayoutComponent
in class java.awt.BorderLayout
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component c)
- Specified by:
removeLayoutComponent
in interface java.awt.LayoutManager
- Overrides:
removeLayoutComponent
in class java.awt.BorderLayout
layoutContainer
public void layoutContainer(java.awt.Container target)
- Specified by:
layoutContainer
in interface java.awt.LayoutManager
- Overrides:
layoutContainer
in class java.awt.BorderLayout
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)