Package org.daisy.braille.pef
Enum Class PEFHandler.Alignment
- All Implemented Interfaces:
Serializable
,Comparable<PEFHandler.Alignment>
,Constable
- Enclosing class:
- PEFHandler
Defines alignment values
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAbort processing if paper is wider than the contents of the fileAlign center, round off towards the inner edge of the pageAlign center, round off towards the outer edge of the pageAlign to the inner edge of the pageAlign leftAlign to the outer edge of the pageAlign right -
Method Summary
Modifier and TypeMethodDescriptionstatic PEFHandler.Alignment
Returns the enum constant of this class with the specified name.static PEFHandler.Alignment[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEFT
Align left -
RIGHT
Align right -
INNER
Align to the inner edge of the page -
OUTER
Align to the outer edge of the page -
CENTER_INNER
Align center, round off towards the inner edge of the page -
CENTER_OUTER
Align center, round off towards the outer edge of the page -
ABORT
Abort processing if paper is wider than the contents of the file
-
-
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
-