com.vlsolutions.swing.toolbars
Class ToolBarButtonBorder
java.lang.Object
com.vlsolutions.swing.toolbars.ToolBarButtonBorder
- All Implemented Interfaces:
- javax.swing.border.Border
public class ToolBarButtonBorder
- extends java.lang.Object
- implements javax.swing.border.Border
A border suitable for toolbar buttons.
Paints a nice button effect with rounded corners.
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToolBarButtonBorder
public ToolBarButtonBorder()
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface javax.swing.border.Border
paintBorder
public void paintBorder(java.awt.Component component,
java.awt.Graphics graphics,
int x,
int y,
int w,
int h)
- Specified by:
paintBorder
in interface javax.swing.border.Border
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component component)
- Specified by:
getBorderInsets
in interface javax.swing.border.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