public enum OpenMode extends Enum<OpenMode>
Enum Constant and 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 and Description |
---|---|
static OpenMode |
valueOf(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(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 nullCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.