public static enum GUIScreen.Position extends Enum<GUIScreen.Position>
Enum Constant and Description |
---|
CENTER
At the center of the screen
|
FULL_SCREEN
The window will be maximized and take up the entire screen
|
NEW_CORNER_WINDOW
This window will be placed in the top-left corner, any windows
created with overlapping after it will be positioned relative
|
OVERLAPPING
Starting from the top left corner, created windows overlapping in
a down-right direction (similar to Microsoft Windows)
|
Modifier and Type | Method and Description |
---|---|
static GUIScreen.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GUIScreen.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GUIScreen.Position OVERLAPPING
public static final GUIScreen.Position NEW_CORNER_WINDOW
public static final GUIScreen.Position CENTER
public static final GUIScreen.Position FULL_SCREEN
public static GUIScreen.Position[] values()
for (GUIScreen.Position c : GUIScreen.Position.values()) System.out.println(c);
public static GUIScreen.Position 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 © 2015. All Rights Reserved.