Class SubstanceIconFactory
java.lang.Object
org.pushingpixels.substance.internal.utils.icon.SubstanceIconFactory
Icon factory for dynamically-changing icons. This class is for internal
use only.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Icon kind of a title pane button. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Icon
getSliderHorizontalIcon
(int size, boolean isMirrorred) Retrieves icon for horizontal slider inSubstanceSliderUI
.static Icon
getSliderRoundIcon
(int size) Retrieves round icon for slider inSubstanceSliderUI
.static Icon
getSliderVerticalIcon
(int size, boolean isMirrorred) Retrieves icon for vertical slider inSubstanceSliderUI
.static Icon
getTitlePaneIcon
(SubstanceIconFactory.IconKind iconKind, SubstanceColorScheme scheme, SubstanceColorScheme backgroundScheme) Returns title pane icon of the specified kind.static Icon
getTreeIcon
(JTree tree, boolean isCollapsed)
-
Constructor Details
-
SubstanceIconFactory
public SubstanceIconFactory()
-
-
Method Details
-
getSliderHorizontalIcon
Retrieves icon for horizontal slider inSubstanceSliderUI
.- Parameters:
size
- The size of the icon to retrieve.isMirrorred
- Indication whether the icon should be mirrored.- Returns:
- Icon for horizontal slider in
SubstanceSliderUI
.
-
getSliderRoundIcon
Retrieves round icon for slider inSubstanceSliderUI
.- Parameters:
size
- The size of the icon to retrieve.- Returns:
- Round icon for slider in
SubstanceSliderUI
.
-
getSliderVerticalIcon
Retrieves icon for vertical slider inSubstanceSliderUI
.- Parameters:
size
- The size of the icon to retrieve.isMirrorred
- Indication whether the icon should be mirrored.- Returns:
- Icon for vertical slider in
SubstanceSliderUI
.
-
getTreeIcon
-
getTitlePaneIcon
public static Icon getTitlePaneIcon(SubstanceIconFactory.IconKind iconKind, SubstanceColorScheme scheme, SubstanceColorScheme backgroundScheme) Returns title pane icon of the specified kind.- Parameters:
iconKind
- Icon kind.scheme
- Color scheme.- Returns:
- Title pane icon of the specified kind.
-