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