Enum Configuration.ViewerPreferences
- All Implemented Interfaces:
Serializable
,Comparable<Configuration.ViewerPreferences>
,java.lang.constant.Constable
- Enclosing class:
Configuration
An enum containing constants for viewer preferences.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPosition the document's window in the center of the screen.Position pages in ascending order from left to right.Position pages in ascending order from right to left.Display the document's title in the top bar.Print dialog default setting: duplex (long edge).Print dialog default setting: duplex (short edge).Print dialog default setting: simplex.Resize the document's window to fit the size of the first displayed page.Hide the viewer application's menu bar when the document is active.Hide the viewer application's tool bars when the document is active.Hide user interface elements in the document's window.Show no panel on exiting full-screen mode.Show optional content group panel on exiting full-screen mode.Show bookmarks panel on exiting full-screen mode.Show thumbnail images panel on exiting full-screen mode.Display the pages in one column.Display one page at a time (default).Display the pages in two columns, with odd numbered pages on the left.Display the pages in two columns, with odd numbered pages on the right.Display two pages at a time, with odd numbered pages on the left.Display two pages at a time, with odd numbered pages on the right.Switch to fullscreen mode on startup.Show attachments panel on startup.Show no panel on startup.Show optional content group panel on startup.Show bookmarks panel on startup.Show thumbnail images panel on startup.Print dialog default setting: do not pick tray by PDF size.Print dialog default setting: pick tray by PDF size.Print dialog default setting: set scaling to application default value.Print dialog default setting: disabled scaling. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static Configuration.ViewerPreferences[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CENTER_WINDOW
Position the document's window in the center of the screen.
-
DIRECTION_L2R
Position pages in ascending order from left to right.
-
DIRECTION_R2L
Position pages in ascending order from right to left.
-
DISPLAY_DOC_TITLE
Display the document's title in the top bar.
-
DUPLEX_FLIP_LONG_EDGE
Print dialog default setting: duplex (long edge).
-
DUPLEX_FLIP_SHORT_EDGE
Print dialog default setting: duplex (short edge).
-
DUPLEX_SIMPLEX
Print dialog default setting: simplex.
-
FIT_WINDOW
Resize the document's window to fit the size of the first displayed page.
-
HIDE_MENUBAR
Hide the viewer application's menu bar when the document is active.
-
HIDE_TOOLBAR
Hide the viewer application's tool bars when the document is active.
-
HIDE_WINDOW_UI
Hide user interface elements in the document's window.
-
NON_FULLSCREEN_PAGE_MODE_USE_NONE
Show no panel on exiting full-screen mode. Has to be combined with
PAGE_MODE_FULLSCREEN
.- See Also:
-
NON_FULLSCREEN_PAGE_MODE_USE_OC
Show optional content group panel on exiting full-screen mode. Has to be combined with
PAGE_MODE_FULLSCREEN
.- See Also:
-
NON_FULLSCREEN_PAGE_MODE_USE_OUTLINES
Show bookmarks panel on exiting full-screen mode. Has to be combined with
PAGE_MODE_FULLSCREEN
.- See Also:
-
NON_FULLSCREEN_PAGE_MODE_USE_THUMBS
Show thumbnail images panel on exiting full-screen mode. Has to be combined with
PAGE_MODE_FULLSCREEN
.- See Also:
-
PAGE_LAYOUT_ONE_COLUMN
Display the pages in one column.
-
PAGE_LAYOUT_SINGLE_PAGE
Display one page at a time (default).
-
PAGE_LAYOUT_TWO_COLUMN_LEFT
Display the pages in two columns, with odd numbered pages on the left.
-
PAGE_LAYOUT_TWO_COLUMN_RIGHT
Display the pages in two columns, with odd numbered pages on the right.
-
PAGE_LAYOUT_TWO_PAGE_LEFT
Display two pages at a time, with odd numbered pages on the left.
-
PAGE_LAYOUT_TWO_PAGE_RIGHT
Display two pages at a time, with odd numbered pages on the right.
-
PAGE_MODE_FULLSCREEN
Switch to fullscreen mode on startup.
-
PAGE_MODE_USE_ATTACHMENTS
Show attachments panel on startup.
-
PAGE_MODE_USE_NONE
Show no panel on startup.
-
PAGE_MODE_USE_OC
Show optional content group panel on startup.
-
PAGE_MODE_USE_OUTLINES
Show bookmarks panel on startup.
-
PAGE_MODE_USE_THUMBS
Show thumbnail images panel on startup.
-
PICKTRAYBYPDFSIZE_FALSE
Print dialog default setting: do not pick tray by PDF size.
-
PICKTRAYBYPDFSIZE_TRUE
Print dialog default setting: pick tray by PDF size.
-
PRINTSCALING_APPDEFAULT
Print dialog default setting: set scaling to application default value.
-
PRINTSCALING_NONE
Print dialog default setting: disabled scaling.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-