public enum ViewingMode extends Enum<ViewingMode>
Enum Constant and Description |
---|
PAGE
表示 FlowDocumentReader 一次显示一页的内容。
|
SCROLL
表示 FlowDocumentReader 以连续滚动模式显示内容。
|
TWO_PAGE
表示 FlowDocumentReader 一次显示两页的内容,像打开的书一般。
|
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.