javax.swing.plaf.basic
Class BasicIconFactory

java.lang.Object
  extended by javax.swing.plaf.basic.BasicIconFactory
All Implemented Interfaces:
Serializable

public class BasicIconFactory
extends Object
implements Serializable

Creates icons for the BasicLookAndFeel.

See Also:
Serialized Form

Constructor Summary
BasicIconFactory()
           
 
Method Summary
static Icon createEmptyFrameIcon()
           
static Icon getCheckBoxIcon()
          Returns an icon for CheckBoxes in the BasicLookAndFeel.
static Icon getCheckBoxMenuItemIcon()
          Creates and returns an icon used when rendering JCheckBoxMenuItem components.
static Icon getMenuArrowIcon()
          Returns a new instance of a 4 x 8 icon showing a small black triangle that points to the right.
static Icon getMenuItemArrowIcon()
           
static Icon getMenuItemCheckIcon()
           
static Icon getRadioButtonIcon()
          Returns an icon for RadioButtons in the BasicLookAndFeel.
static Icon getRadioButtonMenuItemIcon()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicIconFactory

public BasicIconFactory()
Method Detail

getMenuItemCheckIcon

public static Icon getMenuItemCheckIcon()

getMenuItemArrowIcon

public static Icon getMenuItemArrowIcon()

getMenuArrowIcon

public static Icon getMenuArrowIcon()
Returns a new instance of a 4 x 8 icon showing a small black triangle that points to the right. This is displayed in menu items that have a sub menu.

Returns:
The icon.

getCheckBoxIcon

public static Icon getCheckBoxIcon()
Returns an icon for CheckBoxes in the BasicLookAndFeel. CheckBox icons in the Basic L&F are empty and have a size of 13x13 pixels. This method returns a shared single instance of this icon.

Returns:
an icon for CheckBoxes in the BasicLookAndFeel

getRadioButtonIcon

public static Icon getRadioButtonIcon()
Returns an icon for RadioButtons in the BasicLookAndFeel. RadioButton icons in the Basic L&F are empty and have a size of 13x13 pixels. This method returns a shared single instance of this icon.

Returns:
an icon for RadioButtons in the BasicLookAndFeel

getCheckBoxMenuItemIcon

public static Icon getCheckBoxMenuItemIcon()
Creates and returns an icon used when rendering JCheckBoxMenuItem components.

Returns:
An icon.

getRadioButtonMenuItemIcon

public static Icon getRadioButtonMenuItemIcon()

createEmptyFrameIcon

public static Icon createEmptyFrameIcon()