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