public class SubstanceIconFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SubstanceIconFactory.IconKind
Icon kind of a title pane button.
|
Constructor and Description |
---|
SubstanceIconFactory() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.Icon |
getSliderHorizontalIcon(int size,
boolean isMirrorred)
Retrieves icon for horizontal slider in
SubstanceSliderUI . |
static javax.swing.Icon |
getSliderRoundIcon(int size)
Retrieves round icon for slider in
SubstanceSliderUI . |
static javax.swing.Icon |
getSliderVerticalIcon(int size,
boolean isMirrorred)
Retrieves icon for vertical slider in
SubstanceSliderUI . |
static javax.swing.Icon |
getTitlePaneIcon(SubstanceIconFactory.IconKind iconKind,
SubstanceColorScheme scheme,
SubstanceColorScheme backgroundScheme)
Returns title pane icon of the specified kind.
|
static javax.swing.Icon |
getTreeIcon(javax.swing.JTree tree,
boolean isCollapsed) |
public static javax.swing.Icon getSliderHorizontalIcon(int size, boolean isMirrorred)
SubstanceSliderUI
.size
- The size of the icon to retrieve.isMirrorred
- Indication whether the icon should be mirrored.SubstanceSliderUI
.public static javax.swing.Icon getSliderRoundIcon(int size)
SubstanceSliderUI
.size
- The size of the icon to retrieve.SubstanceSliderUI
.public static javax.swing.Icon getSliderVerticalIcon(int size, boolean isMirrorred)
SubstanceSliderUI
.size
- The size of the icon to retrieve.isMirrorred
- Indication whether the icon should be mirrored.SubstanceSliderUI
.public static javax.swing.Icon getTreeIcon(javax.swing.JTree tree, boolean isCollapsed)
public static javax.swing.Icon getTitlePaneIcon(SubstanceIconFactory.IconKind iconKind, SubstanceColorScheme scheme, SubstanceColorScheme backgroundScheme)
iconKind
- Icon kind.scheme
- Color scheme.