Package com.levigo.jadice.server.pdf
Enum PDFRotationNode.Rotation
- java.lang.Object
-
- java.lang.Enum<PDFRotationNode.Rotation>
-
- com.levigo.jadice.server.pdf.PDFRotationNode.Rotation
-
- All Implemented Interfaces:
Serializable
,Comparable<PDFRotationNode.Rotation>
- Enclosing class:
- PDFRotationNode
public static enum PDFRotationNode.Rotation extends Enum<PDFRotationNode.Rotation>
The rotation the resulting PDF pages shall have
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSOLUTE_0
Ignore the current rotation of the page rotation and set it to 0ABSOLUTE_180
Ignore the current rotation of the page and set it to 180 degreesABSOLUTE_270
Ignore the current rotation of the page and set it to 270 degrees (clockwise)ABSOLUTE_90
Ignore the current rotation of the page and set it to 90 degrees (clockwise)RELATIVE_180
Rotate the page by 180 degreesRELATIVE_270
Rotate the page by 270 degreesRELATIVE_90
Rotate the page by 90 degrees (clockwise)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PDFRotationNode.Rotation
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDFRotationNode.Rotation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABSOLUTE_0
public static final PDFRotationNode.Rotation ABSOLUTE_0
Ignore the current rotation of the page rotation and set it to 0
-
ABSOLUTE_90
public static final PDFRotationNode.Rotation ABSOLUTE_90
Ignore the current rotation of the page and set it to 90 degrees (clockwise)
-
ABSOLUTE_180
public static final PDFRotationNode.Rotation ABSOLUTE_180
Ignore the current rotation of the page and set it to 180 degrees
-
ABSOLUTE_270
public static final PDFRotationNode.Rotation ABSOLUTE_270
Ignore the current rotation of the page and set it to 270 degrees (clockwise)
-
RELATIVE_90
public static final PDFRotationNode.Rotation RELATIVE_90
Rotate the page by 90 degrees (clockwise)
-
RELATIVE_180
public static final PDFRotationNode.Rotation RELATIVE_180
Rotate the page by 180 degrees
-
RELATIVE_270
public static final PDFRotationNode.Rotation RELATIVE_270
Rotate the page by 270 degrees
-
-
Method Detail
-
values
public static PDFRotationNode.Rotation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PDFRotationNode.Rotation c : PDFRotationNode.Rotation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDFRotationNode.Rotation valueOf(String name)
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
-
-