public static enum CPDFReaderView.ViewMode extends java.lang.Enum<CPDFReaderView.ViewMode>
Enum Constant and Description |
---|
ALL |
ANNOT |
FORM |
PDFEDIT |
UNKNOWN |
VIEW |
Modifier and Type | Method and Description |
---|---|
static CPDFReaderView.ViewMode |
toEnum(int id) |
int |
toInt() |
static CPDFReaderView.ViewMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPDFReaderView.ViewMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPDFReaderView.ViewMode UNKNOWN
public static final CPDFReaderView.ViewMode VIEW
public static final CPDFReaderView.ViewMode ANNOT
public static final CPDFReaderView.ViewMode FORM
public static final CPDFReaderView.ViewMode PDFEDIT
public static final CPDFReaderView.ViewMode ALL
public static CPDFReaderView.ViewMode[] values()
for (CPDFReaderView.ViewMode c : CPDFReaderView.ViewMode.values()) System.out.println(c);
public static CPDFReaderView.ViewMode 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 nullpublic static CPDFReaderView.ViewMode toEnum(int id)
public int toInt()