enum Markers extends Enum<Markers>
| Enum Constant and Description |
|---|
ALIGN_CENTER_MARKERConstant to represent centered alignment marker |
ALIGN_JUSTIFIED_MARKERConstant to represent justified alignment marker |
ALIGN_LEFT_MARKERConstant to represent left alignment marker |
ALIGN_LEFTNONL_MARKERConstant to represent left alignment marker, without new line |
ALIGN_RIGHT_MARKERConstant to represent right alignment marker |
GLUE_MARKERConstant to represent "glue" marker |
NO_JUSTIFICATION_MARKERConstant to represent no justification markers |
VERTICAL_SPACING_MARKERConstant to represent vertical spacing marker |
| Modifier and Type | Field and Description |
|---|---|
(package private) String | markerThe marker string value |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean | check(String mark)Checks if this marker matches the specified string. |
static Markers | valueOf(String name)Returns the enum constant of this type with the specified name. |
static Markers[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final Markers ALIGN_CENTER_MARKER
public static final Markers ALIGN_JUSTIFIED_MARKER
public static final Markers ALIGN_LEFT_MARKER
public static final Markers ALIGN_LEFTNONL_MARKER
public static final Markers ALIGN_RIGHT_MARKER
public static final Markers GLUE_MARKER
public static final Markers NO_JUSTIFICATION_MARKER
public static final Markers VERTICAL_SPACING_MARKER
final String marker
boolean check(String mark)
mark - the string to check againstpublic static Markers valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Markers[] values()
for (Markers c : Markers.values()) System.out.println(c);