CubeTwister 2.0alpha142 2012-02-11

ch.randelshofer.gui.icon
Class BusyIcon

java.lang.Object
  extended by ch.randelshofer.gui.icon.BusyIcon
All Implemented Interfaces:
javax.swing.Icon

public class BusyIcon
extends java.lang.Object
implements javax.swing.Icon

BusyIcon.

Version:
1.1.1 2010-11-06 Fixes unclosed stream when reading BusyIcon.png.
1.1 2010-01-04 Only use a single timer.
1.0 2010-01-01 Created.
Author:
Werner Randelshofer

Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
static BusyIcon getInstance()
           
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BusyIcon getInstance()

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon

(c) Werner Randelshofer.
All rights reserved.