org.springframework.richclient.image
Class InsetsIcon
java.lang.Object
org.springframework.richclient.image.InsetsIcon
- All Implemented Interfaces:
- Icon
public class InsetsIcon
- extends Object
- implements Icon
Code taken from
http://www.jroller.com/santhosh/entry/beautify_swing_applications_toolbar_with
- Author:
- Santhosh Kumar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsetsIcon
public InsetsIcon(Icon icon)
InsetsIcon
public InsetsIcon(Icon icon,
Insets insets)
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-2008 The Spring Framework. All Rights Reserved.