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