Package be.gaudry.swing.laf
Enum Class MainLauncherLAF
- All Implemented Interfaces:
ILaf,Serializable,Comparable<MainLauncherLAF>,Constable
- Since:
- 1.0 28 sept. 2008
- Author:
- Steph GAUDRY
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic MainLauncherLAFgetFromClassName(String lafClassName)booleanstatic MainLauncherLAFReturns the enum constant of this class with the specified name.static MainLauncherLAF[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYSTEM
-
ACRYL
-
AERO
-
ALUMINIUM
-
BERNSTEIN
-
FAST
-
HIFI
-
LUNA
-
MC_WIN
-
MINT
-
NOIR
-
SMART
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getLafName
- Specified by:
getLafNamein interfaceILaf- Returns:
- the laf name
-
getLafClassName
- Specified by:
getLafClassNamein interfaceILaf- Returns:
- the laf className
-
getFromClassName
- Parameters:
lafClassName- the className of the LAF to return- Returns:
- the LAF constant of the specified className or system LAF if an error occurs
-
isDarkTheme
public boolean isDarkTheme()- Specified by:
isDarkThemein interfaceILaf- Returns:
- true if the theme is a dark theme
-