Package org.jpedal.constants
Enum Class PageMode
- All Implemented Interfaces:
Serializable,Comparable<PageMode>,Constable
PageMode constants define how a PDF document shall be displayed when opened.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFull-screen mode, with no menu bar, window controls, or any other window visible.(PDF 1.6) Attachments panel visible.Neither document outline nor thumbnail images visible.(PDF 1.5) Optional content group panel visible.Document outline visible.Thumbnail images visible. -
Method Summary
Modifier and TypeMethodDescriptiongetMode()Returns the String value associated with this enum instance..static PageModeReturns the enum constant of this class with the specified name.static PageMode[]values()Returns an array containing the constants of this enum class, 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
-
USE_NONE
Neither document outline nor thumbnail images visible.This is the default value.
-
USE_OUTLINES
Document outline visible. -
USE_THUMBS
Thumbnail images visible. -
FULL_SCREEN
Full-screen mode, with no menu bar, window controls, or any other window visible. -
USE_OC
(PDF 1.5) Optional content group panel visible. -
USE_ATTACHMENTS
(PDF 1.6) Attachments panel visible.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getMode
Returns the String value associated with this enum instance..- Returns:
- the String value associated with this enum instance.
-