public enum ViewingMode extends Enum<ViewingMode>
| Enum Constant and Description |
|---|
PAGE
Indicates that the FlowDocumentReader should show content one page at a time.
|
SCROLL
Indicates that the FlowDocumentReader should show content in continuous scrolling mode.
|
TWO_PAGE
Indicates that the FlowDocumentReader should show content two pages at a time, similar to an open book.
|
| Modifier and Type | Method and Description |
|---|---|
static ViewingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewingMode PAGE
public static final ViewingMode TWO_PAGE
public static final ViewingMode SCROLL
public static ViewingMode[] values()
for (ViewingMode c : ViewingMode.values()) System.out.println(c);
public static ViewingMode 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 2009-2012 Micro Focus. All Rights Reserved.