Package org.jpedal.constants
Enum Class PageLayout
- All Implemented Interfaces:
Serializable,Comparable<PageLayout>,Constable
PageLayout constants define the layout to be used when a PDF document is opened.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisplay the pages in one column.Display one page at a time.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.(PDF 1.5) Display the pages two at a time, with odd-numbered pages on the left.(PDF 1.5) Display the pages two at a time, with odd-numbered pages on the right. -
Method Summary
Modifier and TypeMethodDescriptionReturns the String value associated with this enum instance..static PageLayoutReturns the enum constant of this class with the specified name.static PageLayout[]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
-
SINGLE_PAGE
Display one page at a time.This value is the default.
-
ONE_COLUMN
Display the pages in one column. -
TWO_COLUMN_LEFT
Display the pages in two columns, with odd-numbered pages on the left. -
TWO_COLUMN_RIGHT
Display the pages in two columns, with odd-numbered pages on the right. -
TWO_PAGE_LEFT
(PDF 1.5) Display the pages two at a time, with odd-numbered pages on the left. -
TWO_PAGE_RIGHT
(PDF 1.5) Display the pages two at a time, with odd-numbered pages on the right.
-
-
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
-
getLayout
Returns the String value associated with this enum instance..- Returns:
- the String value associated with this enum instance.
-