public static enum WindowManager.MODE extends Enum<WindowManager.MODE>
Modifier and Type | Method and Description |
---|---|
static WindowManager.MODE |
fromInteger(int x) |
static int |
toInteger(WindowManager.MODE x) |
static WindowManager.MODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WindowManager.MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WindowManager.MODE WINDOW
public static final WindowManager.MODE DIALOG
public static final WindowManager.MODE TOOL
public static WindowManager.MODE[] values()
for (WindowManager.MODE c : WindowManager.MODE.values()) System.out.println(c);
public static WindowManager.MODE 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 WindowManager.MODE fromInteger(int x)
public static int toInteger(WindowManager.MODE x)