Package com.jgoodies.looks.plastic
Class PlasticIconFactory
java.lang.Object
com.jgoodies.looks.plastic.PlasticIconFactory
Factory class that vends
Icons 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 classprivate static classprivate static classThe plus sign button icon used in trees.private static classThe arrow button used in comboboxes.private static classPaints a minus sign button icon used in trees.private static classprivate static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void(package private) static IconAnswers anIconused forJCheckBoxes.(package private) static IconAnswers anIconused forJCheckButtonMenuItems.(package private) static IconAnswers anIconused inJTrees.(package private) static IconAnswers anIconused inJComboBoxes.(package private) static IconAnswers anIconused inJTrees.(package private) static IconAnswers anIconused for arrows inJMenus.(package private) static IconAnswers anIconused forJRadioButtonMenuItems.
-
Field Details
-
checkBoxIcon
-
checkBoxMenuItemIcon
-
radioButtonMenuItemIcon
-
expandedTreeIcon
-
collapsedTreeIcon
-
comboBoxButtonIcon
-
-
Constructor Details
-
PlasticIconFactory
private PlasticIconFactory()
-
-
Method Details
-
drawCheck
-
getCheckBoxIcon
Answers anIconused forJCheckBoxes. -
getCheckBoxMenuItemIcon
Answers anIconused forJCheckButtonMenuItems. -
getRadioButtonMenuItemIcon
Answers anIconused forJRadioButtonMenuItems. -
getMenuArrowIcon
Answers anIconused for arrows inJMenus. -
getExpandedTreeIcon
Answers anIconused inJTrees. -
getCollapsedTreeIcon
Answers anIconused inJTrees. -
getComboBoxButtonIcon
Answers anIconused inJComboBoxes.
-