public enum ParagraphAlignment extends java.lang.Enum<ParagraphAlignment>
Enum Constant and Description |
---|
BOTH |
CENTER |
DISTRIBUTE |
END |
HIGH_KASHIDA |
LEFT |
LOW_KASHIDA |
MEDIUM_KASHIDA |
NUM_TAB |
RIGHT |
START |
THAI_DISTRIBUTE |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ParagraphAlignment |
valueOf(int type) |
static ParagraphAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParagraphAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParagraphAlignment START
public static final ParagraphAlignment CENTER
public static final ParagraphAlignment END
public static final ParagraphAlignment BOTH
public static final ParagraphAlignment MEDIUM_KASHIDA
public static final ParagraphAlignment DISTRIBUTE
public static final ParagraphAlignment NUM_TAB
public static final ParagraphAlignment HIGH_KASHIDA
public static final ParagraphAlignment LOW_KASHIDA
public static final ParagraphAlignment THAI_DISTRIBUTE
public static final ParagraphAlignment LEFT
public static final ParagraphAlignment RIGHT
public static ParagraphAlignment[] values()
for (ParagraphAlignment c : ParagraphAlignment.values()) System.out.println(c);
public static ParagraphAlignment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ParagraphAlignment valueOf(int type)
public int getValue()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.