Package com.jogamp.common.util
Enum WorkerThread.StateCallback.State
- java.lang.Object
-
- java.lang.Enum<WorkerThread.StateCallback.State>
-
- com.jogamp.common.util.WorkerThread.StateCallback.State
-
- All Implemented Interfaces:
Serializable
,Comparable<WorkerThread.StateCallback.State>
- Enclosing interface:
- WorkerThread.StateCallback
public static enum WorkerThread.StateCallback.State extends Enum<WorkerThread.StateCallback.State>
State change cause.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkerThread.StateCallback.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static WorkerThread.StateCallback.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INIT
public static final WorkerThread.StateCallback.State INIT
-
PAUSED
public static final WorkerThread.StateCallback.State PAUSED
-
RESUMED
public static final WorkerThread.StateCallback.State RESUMED
-
END
public static final WorkerThread.StateCallback.State END
-
-
Method Detail
-
values
public static WorkerThread.StateCallback.State[] 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 (WorkerThread.StateCallback.State c : WorkerThread.StateCallback.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkerThread.StateCallback.State 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
-
-