Serializable
, Comparable<AsynchronousTextGUIThread.State>
public static enum AsynchronousTextGUIThread.State extends Enum<AsynchronousTextGUIThread.State>
Enum Constant | Description |
---|---|
CREATED |
The instance has been created but not yet started
|
STARTED |
The thread has started an is running
|
STOPPED |
The thread has stopped
|
STOPPING |
The thread is trying to stop but is still running
|
Modifier and Type | Method | Description |
---|---|---|
static AsynchronousTextGUIThread.State |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AsynchronousTextGUIThread.State[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsynchronousTextGUIThread.State CREATED
public static final AsynchronousTextGUIThread.State STARTED
public static final AsynchronousTextGUIThread.State STOPPING
public static final AsynchronousTextGUIThread.State STOPPED
public static AsynchronousTextGUIThread.State[] values()
for (AsynchronousTextGUIThread.State c : AsynchronousTextGUIThread.State.values()) System.out.println(c);
public static AsynchronousTextGUIThread.State 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 © 2020. All rights reserved.