com.vlsolutions.swing.toolbars
Class ToolBarButtonBorder

java.lang.Object
  extended by com.vlsolutions.swing.toolbars.ToolBarButtonBorder
All Implemented Interfaces:
Border

public class ToolBarButtonBorder
extends 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolBarButtonBorder

public ToolBarButtonBorder()
Method Detail

isBorderOpaque

public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface Border

paintBorder

public void paintBorder(Component component,
                        Graphics graphics,
                        int x,
                        int y,
                        int w,
                        int h)
Specified by:
paintBorder in interface Border

getBorderInsets

public Insets getBorderInsets(Component component)
Specified by:
getBorderInsets in interface Border

isPressed

public boolean isPressed()

setPressed

public void setPressed(boolean pressed)


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