|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.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,
SubstanceTheme theme)
Returns title pane icon of the specified kind. |
static void |
reset()
Resets image maps (used when setting new theme). |
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 void reset()
SubstanceLookAndFeel.setCurrentTheme(String)
,
SubstanceLookAndFeel.setCurrentTheme(SubstanceTheme)
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 getTitlePaneIcon(SubstanceIconFactory.IconKind iconKind, SubstanceTheme theme)
iconKind
- Icon kind.theme
- Substance theme.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |