Package com.jgoodies.looks.plastic
Class PlasticXPIconFactory
- java.lang.Object
-
- com.jgoodies.looks.plastic.PlasticXPIconFactory
-
public final class PlasticXPIconFactory extends java.lang.Object
Factory class that vendsIcon
s for the JGoodies Plastic XP look&feel. These icons are used extensively in PlasticXP via the defaults mechanism. While other look and feels often use GIFs for icons, creating icons in code facilitates switching to other themes.Each method in this class returns either an
Icon
ornull
, wherenull
implies that there is no default icon.- Version:
- $Revision: 1.13 $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
PlasticXPIconFactory.CheckBoxIcon
Paints the the icon and focus border for Plastic XP check boxes.private static class
PlasticXPIconFactory.RadioButtonIcon
Paints the the icon and focus border for Plastic XP check boxes.
-
Field Summary
Fields Modifier and Type Field Description private static PlasticXPIconFactory.CheckBoxIcon
checkBoxIcon
private static PlasticXPIconFactory.RadioButtonIcon
radioButtonIcon
-
Constructor Summary
Constructors Modifier Constructor Description private
PlasticXPIconFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static javax.swing.Icon
getCheckBoxIcon()
Lazily creates and returns the check box icon.(package private) static javax.swing.Icon
getRadioButtonIcon()
Lazily creates and returns the radio button icon.
-
-
-
Field Detail
-
checkBoxIcon
private static PlasticXPIconFactory.CheckBoxIcon checkBoxIcon
-
radioButtonIcon
private static PlasticXPIconFactory.RadioButtonIcon radioButtonIcon
-
-