Enum Constant | Description |
---|---|
NEW_WINDOW |
Open the destination document in a new window.
|
SAME_WINDOW |
Destination document will replace the current document in the same window.
|
USER_PREFERENCE |
The viewer application should behave in accordance with the current user preference.
|
Modifier and Type | Method | Description |
---|---|---|
static OpenMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static OpenMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenMode USER_PREFERENCE
public static final OpenMode SAME_WINDOW
public static final OpenMode NEW_WINDOW
public static OpenMode[] values()
for (OpenMode c : OpenMode.values()) System.out.println(c);
public static OpenMode 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 nullCopyright © 2002–2018. All rights reserved.