com.croftsoft.core.animation.icon
Class ImageCacheIcon
java.lang.Object
com.croftsoft.core.animation.icon.ImageCacheIcon
- All Implemented Interfaces:
- Icon
public final class ImageCacheIcon
- extends Object
- implements Icon
An Icon that uses an ImageCache.
- Since:
- 2003-03-17
- Version:
- 2003-03-17
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageCacheIcon
public ImageCacheIcon(ImageCache imageCache,
String imageFilename)
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
paintIcon
public void paintIcon(Component component,
Graphics graphics,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
CroftSoft Core Javadoc (2008-09-28 20:58:02)