Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.swing.plaf.basic
Class BasicIconFactory.RadioButtonIcon  view BasicIconFactory.RadioButtonIcon download BasicIconFactory.RadioButtonIcon.java

java.lang.Object
  extended byjavax.swing.plaf.basic.BasicIconFactory.RadioButtonIcon
All Implemented Interfaces:
javax.swing.Icon
Enclosing class:
BasicIconFactory

static class BasicIconFactory.RadioButtonIcon
extends java.lang.Object
implements javax.swing.Icon

The icon used for RadioButtons in the BasicLookAndFeel. This is an empty icon with a size of 13x13 pixels.


Constructor Summary
(package private) BasicIconFactory.RadioButtonIcon()
           
 
Method Summary
 int getIconHeight()
          Returns the height of the icon.
 int getIconWidth()
          Returns the width of the icon.
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
          Paints the icon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicIconFactory.RadioButtonIcon

BasicIconFactory.RadioButtonIcon()
Method Detail

getIconHeight

public int getIconHeight()
Returns the height of the icon. The BasicLookAndFeel RadioButton icon has a height of 13 pixels.

Specified by:
getIconHeight in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Returns the width of the icon. The BasicLookAndFeel RadioButton icon has a width of 13 pixels.

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 the icon. The BasicLookAndFeel RadioButton icon is empty and does not need to be painted.

Specified by:
paintIcon in interface javax.swing.Icon