Package org.daisy.braille.utils.pef
Enum PEFHandler.Alignment
- java.lang.Object
- 
- java.lang.Enum<PEFHandler.Alignment>
- 
- org.daisy.braille.utils.pef.PEFHandler.Alignment
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<PEFHandler.Alignment>
 - Enclosing class:
- PEFHandler
 
 public static enum PEFHandler.Alignment extends Enum<PEFHandler.Alignment> Defines alignment values.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ABORTAbort processing if paper is wider than the contents of the file.CENTER_INNERAlign center, round off towards the inner edge of the page.CENTER_OUTERAlign center, round off towards the outer edge of the page.INNERAlign to the inner edge of the page.LEFTAlign left.OUTERAlign to the outer edge of the page.RIGHTAlign right.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static PEFHandler.AlignmentvalueOf(String name)Returns the enum constant of this type with the specified name.static PEFHandler.Alignment[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
LEFTpublic static final PEFHandler.Alignment LEFT Align left.
 - 
RIGHTpublic static final PEFHandler.Alignment RIGHT Align right.
 - 
INNERpublic static final PEFHandler.Alignment INNER Align to the inner edge of the page.
 - 
OUTERpublic static final PEFHandler.Alignment OUTER Align to the outer edge of the page.
 - 
CENTER_INNERpublic static final PEFHandler.Alignment CENTER_INNER Align center, round off towards the inner edge of the page.
 - 
CENTER_OUTERpublic static final PEFHandler.Alignment CENTER_OUTER Align center, round off towards the outer edge of the page.
 - 
ABORTpublic static final PEFHandler.Alignment ABORT Abort processing if paper is wider than the contents of the file.
 
- 
 - 
Method Detail- 
valuespublic static PEFHandler.Alignment[] 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 (PEFHandler.Alignment c : PEFHandler.Alignment.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static PEFHandler.Alignment 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 name
- NullPointerException- if the argument is null
 
 
- 
 
-