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