public enum ThreadType extends java.lang.Enum<ThreadType>
| Enum Constant and Description |
|---|
EXECUTOR
A background thread that is NOT the JavaFX Application Thread
|
PLATFORM
The JavaFX Application Thread
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadType PLATFORM
public static final ThreadType EXECUTOR
public static ThreadType[] values()
for (ThreadType c : ThreadType.values()) System.out.println(c);
public static ThreadType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null