public static enum Viewer.ThreadingModel extends java.lang.Enum<Viewer.ThreadingModel>
Enum Constant and Description |
---|
GRAPH_IN_ANOTHER_THREAD |
GRAPH_IN_GUI_THREAD |
GRAPH_ON_NETWORK |
Modifier and Type | Method and Description |
---|---|
static Viewer.ThreadingModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Viewer.ThreadingModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Viewer.ThreadingModel GRAPH_IN_GUI_THREAD
public static final Viewer.ThreadingModel GRAPH_IN_ANOTHER_THREAD
public static final Viewer.ThreadingModel GRAPH_ON_NETWORK
public static Viewer.ThreadingModel[] values()
for (Viewer.ThreadingModel c : Viewer.ThreadingModel.values()) System.out.println(c);
public static Viewer.ThreadingModel 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