org.pbjar.jxlayer.demo
Class AnimatedIcon

java.lang.Object
  extended by org.pbjar.jxlayer.demo.AnimatedIcon
All Implemented Interfaces:
Icon

public class AnimatedIcon
extends Object
implements Icon

A very simple animated icon to see what happens in the Transform demo.

Author:
Piet Blok

Constructor Summary
AnimatedIcon()
           
 
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

AnimatedIcon

public AnimatedIcon()
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