- All Implemented Interfaces:
Serializable, Comparable<Markers>, java.lang.constant.Constable
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConstant to represent centered alignment markerConstant to represent justified alignment markerConstant to represent left alignment markerConstant to represent left alignment marker, without new lineConstant to represent right alignment markerConstant to represent "glue" markerConstant to represent no justification markersConstant to represent vertical spacing markerField Summary
Constructor Summary
Method Summary
Modifier and TypeMethodDescription(package private) booleanChecks if this marker matches the specified string.static MarkersReturns the enum constant of this class with the specified name.static Markers[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
ALIGN_LEFT_MARKER
Constant to represent left alignment markerALIGN_LEFTNONL_MARKER
Constant to represent left alignment marker, without new lineALIGN_CENTER_MARKER
Constant to represent centered alignment markerALIGN_RIGHT_MARKER
Constant to represent right alignment markerALIGN_JUSTIFIED_MARKER
Constant to represent justified alignment markerGLUE_MARKER
Constant to represent "glue" markerVERTICAL_SPACING_MARKER
Constant to represent vertical spacing markerNO_JUSTIFICATION_MARKER
Constant to represent no justification markers
Field Details
marker
The marker string value
Constructor Details
Markers
Creates a marker with the specified string value.- Parameters:
marker- the marker string
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
check
Checks if this marker matches the specified string.- Parameters:
mark- the string to check against- Returns:
- true if the marker matches, false otherwise