Enum Window.Parameter
- java.lang.Object
-
- java.lang.Enum<Window.Parameter>
-
- be.yildizgames.module.graphic.gui.Window.Parameter
-
- All Implemented Interfaces:
Serializable,Comparable<Window.Parameter>
- Enclosing class:
- Window
public static enum Window.Parameter extends Enum<Window.Parameter>
Different possible parameters to build the window.- Author:
- Van den Borre Grégory
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_MINIMIZENo minimize button.NO_TITLE_BARThe window will be created without title bar.NOT_MOVABLEThe window will not be movable.NOTHINGNo parameter.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Window.ParametervalueOf(String name)Returns the enum constant of this type with the specified name.static Window.Parameter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOTHING
public static final Window.Parameter NOTHING
No parameter.
-
NO_TITLE_BAR
public static final Window.Parameter NO_TITLE_BAR
The window will be created without title bar.
-
NO_MINIMIZE
public static final Window.Parameter NO_MINIMIZE
No minimize button.
-
NOT_MOVABLE
public static final Window.Parameter NOT_MOVABLE
The window will not be movable.
-
-
Method Detail
-
values
public static Window.Parameter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Window.Parameter c : Window.Parameter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Window.Parameter valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-