public enum CreditsPosition extends java.lang.Enum<CreditsPosition> implements JsonEnum
Enum Constant and Description |
---|
BOTTOM_LEFT |
BOTTOM_RIGHT |
TOP_LEFT |
TOP_RIGHT |
Modifier and Type | Method and Description |
---|---|
static CreditsPosition |
fromId(java.lang.String id) |
java.lang.String |
getId() |
java.lang.String |
toString() |
static CreditsPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreditsPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreditsPosition TOP_LEFT
public static final CreditsPosition TOP_RIGHT
public static final CreditsPosition BOTTOM_LEFT
public static final CreditsPosition BOTTOM_RIGHT
public static CreditsPosition[] values()
for (CreditsPosition c : CreditsPosition.values()) System.out.println(c);
public static CreditsPosition valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getId()
@Nullable public static CreditsPosition fromId(java.lang.String id)
public java.lang.String toString()
toString
in class java.lang.Enum<CreditsPosition>