uic.widgets
Class RadioButtonIcon

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

public class RadioButtonIcon
extends Object
implements Icon

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


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

RadioButtonIcon

public RadioButtonIcon(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