com.vlsolutions.swing.toolbars

Class ToolBarButtonBorder

Implemented Interfaces:
Border

public class ToolBarButtonBorder
extends java.lang.Object
implements Border

A border suitable for toolbar buttons.

Paints a nice button effect with rounded corners.

Since:
2.0

Constructor Summary

ToolBarButtonBorder()

Method Summary

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

Constructor Details

ToolBarButtonBorder

public ToolBarButtonBorder()

Method Details

getBorderInsets

public Insets getBorderInsets(Component component)

isBorderOpaque

public boolean isBorderOpaque()

isPressed

public boolean isPressed()

paintBorder

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

setPressed

public void setPressed(boolean pressed)

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