com.vlsolutions.swing.toolbars
Class ToolBarPanelLayout
java.lang.Object
com.vlsolutions.swing.toolbars.ToolBarPanelLayout
- LayoutManager2
public class ToolBarPanelLayout
extends java.lang.Object
implements LayoutManager2
The layout of a VLToolBarPanel
ToolBarPanelLayout
public ToolBarPanelLayout(ToolBarPanel panel)
ToolBarPanelLayout
public ToolBarPanelLayout(ToolBarPanel panel,
int align)
addLayoutComponent
public void addLayoutComponent(Component comp,
Object constraints)
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
getAlign
public int getAlign()
Returns the alignment of this layout (FlowLayout.LEADING, TRAILING
...)
getComponents
public Component[] getComponents()
Returns and ordered array of the contained components
getInsertionContraintsAt
public ToolBarConstraints getInsertionContraintsAt(Component draggedComponent,
Point p)
Returns a proposed TooBarContraints for a given insertion point
getLayoutAlignmentX
public float getLayoutAlignmentX(Container target)
getLayoutAlignmentY
public float getLayoutAlignmentY(Container target)
invalidateLayout
public void invalidateLayout(Container target)
layoutContainer
public void layoutContainer(Container target)
maximumLayoutSize
public Dimension maximumLayoutSize(Container target)
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
removeLayoutComponent
public void removeLayoutComponent(Component comp)
setAlign
public void setAlign(int align)
© Copyright 2004-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications