JComponentPack 1.5.0

com.zfqjava.swing
Class EmptyIcon

java.lang.Object
  extended by com.zfqjava.swing.EmptyIcon
All Implemented Interfaces:
Icon

public class EmptyIcon
extends Object
implements Icon

EmptyIcon provides a empty icon.

Since:
JDataGrid 1.7.0

Constructor Summary
EmptyIcon(int width, int height)
           
 
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 width,
                 int height)
Method Detail

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface Icon

JComponentPack 1.5.0

Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.