public enum LookAndFeels extends Enum<LookAndFeels>
LookAndFeels provides constants with the fully qualified Names of look and
feel classes.| Enum Constant and Description |
|---|
GTK
The GTK look and feel class
|
METAL
The METAL look and feel class
|
MOTIF
The MOTIF look and feel class
|
MULTI
The MULTI look and feel class
|
NIMBUS
The NIMBUS look and feel class
|
SYNTH
The SYNTH look and feel class
|
SYSTEM
The SYSTEM look and feel class
|
WINDOWS
The WINDOWS look and feel class
|
| Modifier and Type | Method and Description |
|---|---|
static LookAndFeels |
setLookAndFeel(@NonNull LookAndFeels lookAndFeels,
@NonNull Component component)
|
static LookAndFeels |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LookAndFeels[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LookAndFeels GTK
public static final LookAndFeels METAL
public static final LookAndFeels MOTIF
public static final LookAndFeels MULTI
public static final LookAndFeels NIMBUS
public static final LookAndFeels SYNTH
public static final LookAndFeels SYSTEM
public static final LookAndFeels WINDOWS
public static LookAndFeels[] values()
for (LookAndFeels c : LookAndFeels.values()) System.out.println(c);
public static LookAndFeels valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static LookAndFeels setLookAndFeel(@NonNull @NonNull LookAndFeels lookAndFeels, @NonNull @NonNull Component component) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException
lookAndFeels - the look and feelscomponent - the componentClassNotFoundException - the class not found exceptionInstantiationException - the instantiation exceptionIllegalAccessException - the illegal access exceptionUnsupportedLookAndFeelException - the unsupported look and feel exceptionCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.