org.fife.ui.autocomplete
Class EmptyIcon

java.lang.Object
  extended by org.fife.ui.autocomplete.EmptyIcon
All Implemented Interfaces:
Serializable, Icon

public class EmptyIcon
extends Object
implements Icon, Serializable

A standard icon that doesn't paint anything. This can be used to take up an icon's space when no icon is specified.

Version:
1.0
Author:
Robert Futrell
See Also:
Serialized Form

Constructor Summary
EmptyIcon(int size)
           
 
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

EmptyIcon

public EmptyIcon(int size)
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


Copyright © 2003-2011. All Rights Reserved.