uic.widgets
Class CheckBoxIcon

java.lang.Object
  extended byuic.widgets.CheckBoxIcon
All Implemented Interfaces:
Icon

public class CheckBoxIcon
extends Object
implements Icon

An icon used by checkboxes. This icon can obly be used with an AbstractButton, so you will find little use for this class.


Constructor Summary
CheckBoxIcon(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

CheckBoxIcon

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


Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence