net.sf.doolin.gui.swing
Class DockLayout
java.lang.Object
java.awt.BorderLayout
net.sf.doolin.gui.swing.DockLayout
- All Implemented Interfaces:
- LayoutManager, LayoutManager2, Serializable
public class DockLayout
- extends BorderLayout
BorderLayout sub-class that allows the docking of several toolbars on
the borders.
- Author:
- Damien Coraboeuf
- See Also:
- Serialized Form
|
Field Summary |
static int |
BOTTOM
BOTTOM location |
static int |
LEFT
LEFT location |
static int |
RIGHT
RIGHT location |
static int |
TOP
TOP location |
| 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, getConstraints, getHgap, getLayoutAlignmentX, getLayoutAlignmentY, getLayoutComponent, getLayoutComponent, getVgap, invalidateLayout, maximumLayoutSize, minimumLayoutSize, setHgap, setVgap, toString |
TOP
public static final int TOP
- TOP location
- See Also:
- Constant Field Values
BOTTOM
public static final int BOTTOM
- BOTTOM location
- See Also:
- Constant Field Values
LEFT
public static final int LEFT
- LEFT location
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- RIGHT location
- See Also:
- Constant Field Values
DockLayout
public DockLayout()
addLayoutComponent
public void addLayoutComponent(Component c,
Object con)
- Specified by:
addLayoutComponent in interface LayoutManager2- Overrides:
addLayoutComponent in class BorderLayout
preferredLayoutSize
public Dimension preferredLayoutSize(Container target)
- Specified by:
preferredLayoutSize in interface LayoutManager- Overrides:
preferredLayoutSize in class BorderLayout
removeLayoutComponent
public void removeLayoutComponent(Component c)
- Specified by:
removeLayoutComponent in interface LayoutManager- Overrides:
removeLayoutComponent in class BorderLayout
layoutContainer
public void layoutContainer(Container target)
- Specified by:
layoutContainer in interface LayoutManager- Overrides:
layoutContainer in class BorderLayout
Copyright © 2011. All Rights Reserved.