public enum LookAndFeels extends Enum<LookAndFeels>
LookAndFeels provides constants with the fully qualified Names of look and
feel classes.| Enum Constant and Description |
|---|
METAL
Deprecated.
The METAL.
|
MOTIF
Deprecated.
The MOTIF.
|
SYSTEM
Deprecated.
The SYSTEM.
|
WINDOWS
Deprecated.
The WINDOWS.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLookAndFeelName()
Deprecated.
Gets the look and feel name.
|
static void |
setLookAndFeel(String aLook,
Component component)
Deprecated.
Sets the given
LookAndFeels to the given Component |
static LookAndFeels |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static LookAndFeels[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LookAndFeels METAL
public static final LookAndFeels MOTIF
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 void setLookAndFeel(String aLook, Component component) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException
LookAndFeels to the given ComponentaLook - the a lookcomponent - the componentClassNotFoundException - the class not found exceptionInstantiationException - the instantiation exceptionIllegalAccessException - the illegal access exceptionUnsupportedLookAndFeelException - the unsupported look and feel exceptionpublic String getLookAndFeelName()
Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.