|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.substance.internal.utils.icon.SubstanceIconFactory
public class SubstanceIconFactory
Icon factory for dynamically-changing icons. This class is for internal use only.
Nested Class Summary | |
---|---|
static class |
SubstanceIconFactory.IconKind
Icon kind of a title pane button. |
Constructor Summary | |
---|---|
SubstanceIconFactory()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubstanceIconFactory()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |