public static enum ParagraphFormat.AlignmentEnum extends Enum<ParagraphFormat.AlignmentEnum>
Modifier and Type | Class and Description |
---|---|
static class |
ParagraphFormat.AlignmentEnum.Adapter |
Enum Constant and Description |
---|
CENTER |
DISTRIBUTED |
JUSTIFY |
JUSTIFYLOW |
LEFT |
NOTDEFINED |
RIGHT |
Modifier and Type | Method and Description |
---|---|
static ParagraphFormat.AlignmentEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ParagraphFormat.AlignmentEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParagraphFormat.AlignmentEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParagraphFormat.AlignmentEnum LEFT
public static final ParagraphFormat.AlignmentEnum CENTER
public static final ParagraphFormat.AlignmentEnum RIGHT
public static final ParagraphFormat.AlignmentEnum JUSTIFY
public static final ParagraphFormat.AlignmentEnum JUSTIFYLOW
public static final ParagraphFormat.AlignmentEnum DISTRIBUTED
public static final ParagraphFormat.AlignmentEnum NOTDEFINED
public static ParagraphFormat.AlignmentEnum[] values()
for (ParagraphFormat.AlignmentEnum c : ParagraphFormat.AlignmentEnum.values()) System.out.println(c);
public static ParagraphFormat.AlignmentEnum 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 String getValue()
public String toString()
toString
in class Enum<ParagraphFormat.AlignmentEnum>
public static ParagraphFormat.AlignmentEnum fromValue(String text)
Copyright © 2023. All rights reserved.