public static enum CPDFReaderView.TouchMode extends java.lang.Enum<CPDFReaderView.TouchMode>
TouchEvent
Touch mode in the page view.Enum Constant and Description |
---|
ADD_ANNOT
Add annotation mode
|
BROWSE
Browse mode
|
EDIT
Edit mode
|
SCREENSHOT
SCREENSHOT
|
Modifier and Type | Method and Description |
---|---|
static CPDFReaderView.TouchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPDFReaderView.TouchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPDFReaderView.TouchMode BROWSE
public static final CPDFReaderView.TouchMode ADD_ANNOT
public static final CPDFReaderView.TouchMode EDIT
public static final CPDFReaderView.TouchMode SCREENSHOT
public static CPDFReaderView.TouchMode[] values()
for (CPDFReaderView.TouchMode c : CPDFReaderView.TouchMode.values()) System.out.println(c);
public static CPDFReaderView.TouchMode 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