public enum PageMode extends Enum<PageMode>
Enum Constant and Description |
---|
FULL_SCREEN
Full screen mode with no menu bar, window controls.
|
USE_ATTACHMENTS
Attachments panel is visible.
|
USE_NONE
Neither the outline nor the thumbnails are displayed.
|
USE_OPTIONAL_CONTENT
Optional content group panel is visible when opened.
|
USE_OUTLINES
Show bookmarks when pdf is opened.
|
USE_THUMBS
Show thumbnails when pdf is opened.
|
Modifier and Type | Method and Description |
---|---|
static PageMode |
fromString(String value) |
String |
stringValue()
Returns the string value, as used in a PDF file.
|
static PageMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageMode USE_NONE
public static final PageMode USE_OUTLINES
public static final PageMode USE_THUMBS
public static final PageMode FULL_SCREEN
public static final PageMode USE_OPTIONAL_CONTENT
public static final PageMode USE_ATTACHMENTS
public static PageMode[] values()
for (PageMode c : PageMode.values()) System.out.println(c);
public static PageMode 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 nullpublic String stringValue()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.