org.tigris.toolbar
Class DockBorderLayout
java.lang.Object
|
+--java.awt.BorderLayout
|
+--org.tigris.toolbar.DockBorderLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable
- public class DockBorderLayout
- extends java.awt.BorderLayout
A layout manager which allows toolbars to be docked at any edge.
ToolBars can be added to NORTH, SOUTH, EAST or WEST and are placed
to the right (or below) of any toolbar already in the same compartment
- Author:
- Christopher Bach
- See Also:
- Serialized Form
| 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 |
|
Constructor Summary |
DockBorderLayout()
Create a new instance of a DockBorderLayout |
| 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 |
VERTICAL
public static final int VERTICAL
- See Also:
- Constant Field Values
HORIZONTAL
public static final int HORIZONTAL
- See Also:
- Constant Field Values
DockBorderLayout
public DockBorderLayout()
- Create a new instance of a DockBorderLayout
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