public enum WindowType extends Enum<WindowType>
| Enum Constant and Description |
|---|
MAIN
This window type describes the main window on a display.
|
WIDGET
A widget is a small window that the app can create to provide information and soft buttons for quick app control.
|
| Modifier and Type | Method and Description |
|---|---|
static WindowType |
valueForString(String value)
Convert String to WindowType
|
static WindowType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WindowType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WindowType MAIN
public static final WindowType WIDGET
public static WindowType[] values()
for (WindowType c : WindowType.values()) System.out.println(c);
public static WindowType 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 WindowType valueForString(String value)
value - String