Package com.jgoodies.looks.plastic
Class PlasticIconFactory
java.lang.Object
com.jgoodies.looks.plastic.PlasticIconFactory
Factory class that vends
Icon
s for the
JGoodies Plastic look and feel.
These icons are used extensively in Plastic 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.11 $
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
private static class
The plus sign button icon used in trees.private static class
The arrow button used in comboboxes.private static class
Paints a minus sign button icon used in trees.private static class
private static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
(package private) static Icon
Answers anIcon
used forJCheckBox
es.(package private) static Icon
Answers anIcon
used forJCheckButtonMenuItem
s.(package private) static Icon
Answers anIcon
used inJTree
s.(package private) static Icon
Answers anIcon
used inJComboBox
es.(package private) static Icon
Answers anIcon
used inJTree
s.(package private) static Icon
Answers anIcon
used for arrows inJMenu
s.(package private) static Icon
Answers anIcon
used forJRadioButtonMenuItem
s.
-
Field Details
-
checkBoxIcon
-
checkBoxMenuItemIcon
-
radioButtonMenuItemIcon
-
expandedTreeIcon
-
collapsedTreeIcon
-
comboBoxButtonIcon
-
-
Constructor Details
-
PlasticIconFactory
private PlasticIconFactory()
-
-
Method Details
-
drawCheck
-
getCheckBoxIcon
Answers anIcon
used forJCheckBox
es. -
getCheckBoxMenuItemIcon
Answers anIcon
used forJCheckButtonMenuItem
s. -
getRadioButtonMenuItemIcon
Answers anIcon
used forJRadioButtonMenuItem
s. -
getMenuArrowIcon
Answers anIcon
used for arrows inJMenu
s. -
getExpandedTreeIcon
Answers anIcon
used inJTree
s. -
getCollapsedTreeIcon
Answers anIcon
used inJTree
s. -
getComboBoxButtonIcon
Answers anIcon
used inJComboBox
es.
-