public enum LookAndFeels extends Enum<LookAndFeels>
| Enum Constant and Description |
|---|
METAL
The METAL.
|
MOTIF
The MOTIF.
|
SYSTEM
The SYSTEM.
|
WINDOWS
The WINDOWS.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLookAndFeelName()
Gets the look and feel name.
|
static void |
setLookAndFeel(String aLook,
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 METAL
public static final LookAndFeels MOTIF
public static final LookAndFeels WINDOWS
public static final LookAndFeels SYSTEM
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
public String getLookAndFeelName()
Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.