com.vlsolutions.swing.docking
Class DockingBorderLayout
java.lang.Object
com.vlsolutions.swing.docking.DockingBorderLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2
public class DockingBorderLayout
- extends java.lang.Object
- implements java.awt.LayoutManager2
A layout adapted to autohide panels.
This layout is like a BorderLayout but corners are always empty
(for example, the TOP component starts with an x coordinate equal to the
width of the LEFT component).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DockingBorderLayout
public DockingBorderLayout()
getLayoutAlignmentX
public float getLayoutAlignmentX(java.awt.Container target)
- Specified by:
getLayoutAlignmentX
in interface java.awt.LayoutManager2
getLayoutAlignmentY
public float getLayoutAlignmentY(java.awt.Container target)
- Specified by:
getLayoutAlignmentY
in interface java.awt.LayoutManager2
invalidateLayout
public void invalidateLayout(java.awt.Container target)
- Specified by:
invalidateLayout
in interface java.awt.LayoutManager2
maximumLayoutSize
public java.awt.Dimension maximumLayoutSize(java.awt.Container target)
- Specified by:
maximumLayoutSize
in interface java.awt.LayoutManager2
addLayoutComponent
public void addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
- Specified by:
addLayoutComponent
in interface java.awt.LayoutManager2
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Specified by:
removeLayoutComponent
in interface java.awt.LayoutManager
addLayoutComponent
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
- Specified by:
addLayoutComponent
in interface java.awt.LayoutManager
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
- Specified by:
minimumLayoutSize
in interface java.awt.LayoutManager
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
- Specified by:
preferredLayoutSize
in interface java.awt.LayoutManager
layoutContainer
public void layoutContainer(java.awt.Container target)
- overridden to adjust position (x(top) = width(left), y(left) = height(top)
- Specified by:
layoutContainer
in interface java.awt.LayoutManager
© Copyright 2004-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications