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