com.vlsolutions.swing.toolbars

Class ToolBarPanel

public class ToolBarPanel extends JPanel

The toolbar panel is able to receive multiple toolbars and arrange them in many columns or rows (depending on the horizontal/vertical orientation).


The ToolBarPanel is a JPanel with a ToolBarPanelLayout. It support horizontal and vertical orientation, and can contain one or more VLToolbars (with given ToolBarContraints for positionning).

Constructor Summary
ToolBarPanel()
Constructs a new toolbar panel.
Method Summary
voidadd(VLToolBar toolbar, ToolBarConstraints constraints)
Adds a new toolbar respecting the given positionning constraints.
intgetOrientation()
Returns the orientation of this toolbarpanel
voidremove(Component comp)
voidsetOrientation(int orientation)

Constructor Detail

ToolBarPanel

public ToolBarPanel()
Constructs a new toolbar panel.

Method Detail

add

public void add(VLToolBar toolbar, ToolBarConstraints constraints)
Adds a new toolbar respecting the given positionning constraints.

getOrientation

public int getOrientation()
Returns the orientation of this toolbarpanel

remove

public void remove(Component comp)

setOrientation

public void setOrientation(int orientation)
© Copyright 2004-2005 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications