com.vlsolutions.swing.toolbars
Class RolloverIcon
java.lang.Object
com.vlsolutions.swing.toolbars.RolloverIcon
- Icon
public class RolloverIcon
extends java.lang.Object
implements Icon
A custom Icon to have a nice rollover effect for toolbar icons.
This icon uses a gray version of the provided image and paints it under the original one.
RolloverIcon
public RolloverIcon(Icon icon)
getIconHeight
public int getIconHeight()
getIconWidth
public int getIconWidth()
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
© Copyright 2004-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications