Package com.dicycat.kroy.scenes
Enum OptionsWindow.State
- java.lang.Object
-
- java.lang.Enum<OptionsWindow.State>
-
- com.dicycat.kroy.scenes.OptionsWindow.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OptionsWindow.State>
,java.lang.constant.Constable
- Enclosing class:
- OptionsWindow
public static enum OptionsWindow.State extends java.lang.Enum<OptionsWindow.State>
Allows to have multiple 'pages' of the Option window without having to create several stages.
-
-
Method Summary
Modifier and Type Method Description static OptionsWindow.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OptionsWindow.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAGE1
public static final OptionsWindow.State PAGE1
-
MUSIC
public static final OptionsWindow.State MUSIC
-
DEBUG
public static final OptionsWindow.State DEBUG
-
-
Method Detail
-
values
public static OptionsWindow.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OptionsWindow.State valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-