|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectesmska.gui.ThemeManager
public class ThemeManager
Manage and set look and feel
Nested Class Summary | |
---|---|
static class |
ThemeManager.LAF
|
Method Summary | |
---|---|
static ThemeManager.LAF |
getActiveLaF()
Returns currently active look and feel |
static boolean |
isAquaCurrentLaF()
Returns whether Aqua (Mac OS native) is current look and feel |
static boolean |
isCurrentSkinDark()
Returns whether current LaF skin is dark-toned, mainly in text-areas |
static boolean |
isGTKCurrentLaF()
Returns whether GTK is current look and feel |
static boolean |
isLaFSupported(ThemeManager.LAF laf)
Returns whether specified LaF is supported on current configuration (operating system, java version, etc). |
static boolean |
isNimbusCurrentLaF()
Returns whether Nimbus is current look and feel |
static boolean |
isSubstanceCurrentLaF()
Returns whether Substance is current look and feel |
static void |
setLaF()
Set look and feel found in configuration. |
static ThemeManager.LAF |
suggestBestLAF()
Propose the best LaF for current system, based on java type and operating system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setLaF() throws java.lang.Throwable
java.lang.Throwable
- when chosen look and feel can't be setpublic static ThemeManager.LAF getActiveLaF()
public static boolean isGTKCurrentLaF()
public static boolean isAquaCurrentLaF()
public static boolean isNimbusCurrentLaF()
public static boolean isSubstanceCurrentLaF()
public static boolean isCurrentSkinDark()
public static boolean isLaFSupported(ThemeManager.LAF laf)
public static ThemeManager.LAF suggestBestLAF()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |