com.vlsolutions.swing.toolbars
public class ToolBarPanel extends JPanel

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).
UNKNOWN: 2006/09/09 Support for LTR and RTL component orientation
| Constructor Summary | |
|---|---|
| ToolBarPanel()
Constructs a new toobar panel with a LEADING alignment. | |
| ToolBarPanel(int align)
Constructs a new ToolBarPanel with the specified
alignment. | |
| ToolBarPanel(int align, BackgroundPainter painter)
Constructs a new ToolBarPanel with the specified
alignment and background painter. | |
| Method Summary | |
|---|---|
| void | add(JToolBar toolbar) Adds a new toolbar respecting the given positionning constraints. |
| void | add(JToolBar toolbar, int major) Adds a new JToolBar to the Panel at the given row. |
| void | add(VLToolBar toolbar, ToolBarConstraints constraints) Adds a new toolbar respecting the given positionning constraints. |
| BackgroundPainter | getBackgroundPainter() Returns the optional background painter for this toolbar panel (may be null) |
| int | getOrientation() Returns the orientation of this toolbarpanel |
| void | paintComponent(Graphics g) Overriden for optional background painting |
| void | remove(Component comp) |
| void | setOrientation(int orientation) |
| void | setPainter(BackgroundPainter painter) Updates the optional background painter for this toolbar panel |
ToolBarPanel with the specified
alignment.Parameters: align the alignment value
The value of the alignment argument must be one of
FlowLayout.LEFT, FlowLayout.RIGHT,
FlowLayout.CENTER, FlowLayout.LEADING, or
FlowLayout.TRAILING.
ToolBarPanel with the specified
alignment and background painter.Parameters: align the alignment value
The value of the alignment argument must be one of
FlowLayout.LEFT, FlowLayout.RIGHT,
FlowLayout.CENTER, FlowLayout.LEADING, or
FlowLayout.TRAILING. painter the background painter.
Since: 2.1.4
Since: 2.1.4
Parameters: painter the new painer (may be null)
Since: 2.1.4