public class ThemeManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ThemeManager.LAF |
Modifier and Type | Method and Description |
---|---|
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.
|
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()