public static enum Window.Usage extends Enum<Window.Usage>
Enum Constant and Description |
---|
DIALOG
Used as a dialog
|
FRAME
Used as a top-level application window
|
Modifier and Type | Method and Description |
---|---|
static Window.Usage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Window.Usage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Window.Usage FRAME
public static final Window.Usage DIALOG
public static Window.Usage[] values()
for (Window.Usage c : Window.Usage.values()) System.out.println(c);
public static Window.Usage 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 nullCopyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.