org.progeeks.util.swing
Class BeveledBoxIcon
java.lang.Object
org.progeeks.util.swing.BeveledBoxIcon
- All Implemented Interfaces:
- javax.swing.Icon
public class BeveledBoxIcon
- extends java.lang.Object
- implements javax.swing.Icon
A rectangular icon with a beveled border.
- Version:
- $Revision: 1.3 $
- Author:
- Paul Speed
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeveledBoxIcon
public BeveledBoxIcon(int width,
int height)
BeveledBoxIcon
public BeveledBoxIcon(int width,
int height,
boolean doubleBorder)
setHighlightColor
public void setHighlightColor(java.awt.Color highlight)
getHighlightColor
public java.awt.Color getHighlightColor()
setShadowColor
public void setShadowColor(java.awt.Color shadow)
getShadowColor
public java.awt.Color getShadowColor()
setBackgroundColor
public void setBackgroundColor(java.awt.Color background)
getBackgroundColor
public java.awt.Color getBackgroundColor()
setIconWidth
public void setIconWidth(int width)
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
setIconHeight
public void setIconHeight(int height)
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon
Copyright © 2002-2003 Paul Speed. All Rights Reserved.