Package com.jgoodies.looks.plastic
Class PlasticXPIconFactory
java.lang.Object
com.jgoodies.looks.plastic.PlasticXPIconFactory
Factory class that vends
Icon
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
or
null
, where null
implies that there is
no default icon.
- Version:
- $Revision: 1.13 $
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
Paints the the icon and focus border for Plastic XP check boxes.private static final class
Paints the the icon and focus border for Plastic XP check boxes. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static PlasticXPIconFactory.CheckBoxIcon
private static PlasticXPIconFactory.RadioButtonIcon
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
checkBoxIcon
-
radioButtonIcon
-
-
Constructor Details
-
PlasticXPIconFactory
private PlasticXPIconFactory()
-
-
Method Details
-
getCheckBoxIcon
Lazily creates and returns the check box icon.- Returns:
- the check box icon
-
getRadioButtonIcon
Lazily creates and returns the radio button icon.- Returns:
- the check box icon
-