Package com.evopdf
Enum TemplateDocking
- All Implemented Interfaces:
Serializable
,Comparable<TemplateDocking>
,java.lang.constant.Constable
The docking style of a PDF template in PDF page
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe template is docked to the bottom of the PDF page.The template fills the PDF page.The template is docked to the left of the PDF page.The template is not docked in PDF page.The template is docked to the right of the PDF page.The template is docked to the the top of the PDF page. -
Method Summary
Modifier and TypeMethodDescriptionint
value()
static TemplateDocking
Returns the enum constant of this type with the specified name.static TemplateDocking[]
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
-
NotDocked
The template is not docked in PDF page. -
Top
The template is docked to the the top of the PDF page. The template width and location will be adjusted for docking. -
Bottom
The template is docked to the bottom of the PDF page. The template width and location will be adjusted for docking. -
Left
The template is docked to the left of the PDF page. The template location and height will be adjusted for docking. -
Right
The template is docked to the right of the PDF page. The template location and height will be adjusted for docking. -
Fill
The template fills the PDF page. The template location will be the top left corner and the size will be the size of the PDF page. The docking will take into account the existing document Header, Footer, Left and Right templates.
-
-
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
-
value
public int value()
-