public enum ParagraphAlignment extends java.lang.Enum<ParagraphAlignment>
Enum Constant and Description |
---|
BOTH |
CENTER |
DISTRIBUTE |
HIGH_KASHIDA |
LEFT |
LOW_KASHIDA |
MEDIUM_KASHIDA |
NUM_TAB |
RIGHT |
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 LEFT
public static final ParagraphAlignment CENTER
public static final ParagraphAlignment RIGHT
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 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 int getValue()
public static ParagraphAlignment valueOf(int type)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.