com.vlsolutions.swing.toolbars
Class ToolBarPanelLayout
java.lang.Object
com.vlsolutions.swing.toolbars.ToolBarPanelLayout
- All Implemented Interfaces:
- LayoutManager, LayoutManager2
public class ToolBarPanelLayout
- extends Object
- implements LayoutManager2
The layout of a VLToolBarPanel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToolBarPanelLayout
public ToolBarPanelLayout(ToolBarPanel panel)
getLayoutAlignmentX
public float getLayoutAlignmentX(Container target)
- Specified by:
getLayoutAlignmentX
in interface LayoutManager2
getLayoutAlignmentY
public float getLayoutAlignmentY(Container target)
- Specified by:
getLayoutAlignmentY
in interface LayoutManager2
invalidateLayout
public void invalidateLayout(Container target)
- Specified by:
invalidateLayout
in interface LayoutManager2
maximumLayoutSize
public Dimension maximumLayoutSize(Container target)
- Specified by:
maximumLayoutSize
in interface LayoutManager2
addLayoutComponent
public void addLayoutComponent(Component comp,
Object constraints)
- Specified by:
addLayoutComponent
in interface LayoutManager2
getConstraints
public ToolBarConstraints getConstraints(Component comp)
removeLayoutComponent
public void removeLayoutComponent(Component comp)
- Specified by:
removeLayoutComponent
in interface LayoutManager
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
- Specified by:
addLayoutComponent
in interface LayoutManager
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Specified by:
minimumLayoutSize
in interface LayoutManager
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSize
in interface LayoutManager
getComponents
public Component[] getComponents()
- Returns and ordered array of the contained components
layoutContainer
public void layoutContainer(Container target)
- Specified by:
layoutContainer
in interface LayoutManager
getInsertionContraintsAt
public ToolBarConstraints getInsertionContraintsAt(Component draggedComponent,
Point p)
- Returns a proposed TooBarContraints for a given insertion point
© Copyright 2004-2005 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications