public static enum Viewer.CloseEvent extends Enum<Viewer.CloseEvent>
Viewer.CloseEvent that is triggered if this viewer is closed.| Enum Constant and Description |
|---|
NONE
Optimization continues.
|
STOP
Optimization is stopped.
|
TERMINATE
Optimization is terminated.
|
| Modifier and Type | Method and Description |
|---|---|
static Viewer.CloseEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Viewer.CloseEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Viewer.CloseEvent NONE
public static final Viewer.CloseEvent STOP
public static final Viewer.CloseEvent TERMINATE
public static Viewer.CloseEvent[] values()
for (Viewer.CloseEvent c : Viewer.CloseEvent.values()) System.out.println(c);
public static Viewer.CloseEvent 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 null