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

Quick Search    Search Deep

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

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

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

The icon used for javax.swing.JCheckBoxMenuItems in the BasicLookAndFeel. This icon has a size of 9x9 pixels.


Constructor Summary
(package private) BasicIconFactory.CheckBoxMenuItemIcon()
           
 
Method Summary
 int getIconHeight()
          Returns the height of the icon in pixels.
 int getIconWidth()
          Returns the width of the icon in pixels.
 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.CheckBoxMenuItemIcon

BasicIconFactory.CheckBoxMenuItemIcon()
Method Detail

getIconHeight

public int getIconHeight()
Returns the height of the icon in pixels.

Specified by:
getIconHeight in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Returns the width of the icon in 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.

Specified by:
paintIcon in interface javax.swing.Icon