Serializable
, Comparable<Annotation.Align>
public static enum Annotation.Align extends Enum<Annotation.Align>
Modifier and Type | Method | Description |
---|---|---|
String |
toString() |
|
static Annotation.Align |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Annotation.Align[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Annotation.Align LEFT
public static final Annotation.Align CENTER
public static final Annotation.Align RIGHT
public static Annotation.Align[] values()
for (Annotation.Align c : Annotation.Align.values()) System.out.println(c);
public static Annotation.Align 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 toString()
toString
in class Enum<Annotation.Align>
Copyright © 2021. All rights reserved.