com.croftsoft.core.animation.icon
Class VolatileImageIcon

java.lang.Object
  extended by com.croftsoft.core.animation.icon.VolatileImageIcon
All Implemented Interfaces:
Icon

public final class VolatileImageIcon
extends Object
implements Icon

An Icon backed by a VolatileImage.

Since:
2002-03-13
Version:
2002-03-13
See Also:
VolatileImage
Author:
David Wallace Croft

Constructor Summary
VolatileImageIcon(Component component, Image image)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component component, Graphics graphics, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VolatileImageIcon

public VolatileImageIcon(Component component,
                         Image image)
Method Detail

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 Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)