org.fife.rtext
Class EmptyIcon

java.lang.Object
  extended by org.fife.rtext.EmptyIcon
All Implemented Interfaces:
javax.swing.Icon

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

An icon that paints nothing.

Version:
1.0
Author:
Robert Futrell

Constructor Summary
EmptyIcon(int width, int height)
          Constructor.
 
Method Summary
 int getIconHeight()
          
 int getIconWidth()
          
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
          Paints nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyIcon

public EmptyIcon(int width,
                 int height)
Constructor.

Parameters:
width - The width of the icon.
height - The height of the icon.
Method Detail

getIconHeight

public int getIconHeight()

Specified by:
getIconHeight in interface javax.swing.Icon

getIconWidth

public int getIconWidth()

Specified by:
getIconWidth in interface javax.swing.Icon

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Paints nothing.

Specified by:
paintIcon in interface javax.swing.Icon