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