com.vlsolutions.swing.toolbars

Class ToolBarPanelBorder

Implemented Interfaces:
Border

public class ToolBarPanelBorder
extends java.lang.Object
implements Border

This is an optional class that can be used as a border for toolbar panels.

Field Summary

static int
BOTTOM_PANEL
static int
LEFT_PANEL
static int
RIGHT_PANEL
static int
TOP_PANEL

Constructor Summary

ToolBarPanelBorder()
ToolBarPanelBorder(int panelPosition)

Method Summary

Insets
getBorderInsets(Component component)
boolean
isBorderOpaque()
void
paintBorder(Component component, Graphics graphics, int x, int y, int w, int h)

Field Details

BOTTOM_PANEL

public static final int BOTTOM_PANEL
Field Value:
2

LEFT_PANEL

public static final int LEFT_PANEL
Field Value:
1

RIGHT_PANEL

public static final int RIGHT_PANEL
Field Value:
3

TOP_PANEL

public static final int TOP_PANEL
Field Value:
0

Constructor Details

ToolBarPanelBorder

public ToolBarPanelBorder()

ToolBarPanelBorder

public ToolBarPanelBorder(int panelPosition)

Method Details

getBorderInsets

public Insets getBorderInsets(Component component)

isBorderOpaque

public boolean isBorderOpaque()

paintBorder

public void paintBorder(Component component,
                        Graphics graphics,
                        int x,
                        int y,
                        int w,
                        int h)

© Copyright 2004-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications