java.lang.Object
javax.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicIconFactory.CheckBoxMenuItemIcon
BasicIconFactory.CheckBoxMenuItemIcon()
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