org.springframework.richclient.image
Class ShadowedIcon

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.image.ShadowedIcon
All Implemented Interfaces:
Icon

public class ShadowedIcon
extends Object
implements Icon

Code taken from http://www.jroller.com/santhosh/entry/beautify_swing_applications_toolbar_with

Author:
Santhosh Kumar

Constructor Summary
ShadowedIcon(Icon icon)
           
ShadowedIcon(Icon icon, int shadowWidth, int shadowHeight)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadowedIcon

public ShadowedIcon(Icon icon)

ShadowedIcon

public ShadowedIcon(Icon icon,
                    int shadowWidth,
                    int shadowHeight)
Method Detail

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface Icon


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.