public static enum Widget.Rotation extends Enum<Widget.Rotation>
Enum Constant and Description |
---|
NEGATIVE_NINETY_DEGREES |
NINETY_DEGREES |
NONE |
ONE_HUNDRED_EIGHTY_DEGREES |
Modifier and Type | Method and Description |
---|---|
static Widget.Rotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Widget.Rotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Widget.Rotation NINETY_DEGREES
public static final Widget.Rotation NEGATIVE_NINETY_DEGREES
public static final Widget.Rotation ONE_HUNDRED_EIGHTY_DEGREES
public static final Widget.Rotation NONE
public static Widget.Rotation[] values()
for (Widget.Rotation c : Widget.Rotation.values()) System.out.println(c);
public static Widget.Rotation 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 null