public enum ViewingDirection extends Enum<ViewingDirection>
The direction that a sequence of canvases should be displayed to the user.
| Enum Constant and Description |
|---|
BOTTOM_TO_TOP |
LEFT_TO_RIGHT |
RIGHT_TO_LEFT |
TOP_TO_BOTTOM |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ViewingDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewingDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewingDirection LEFT_TO_RIGHT
public static final ViewingDirection RIGHT_TO_LEFT
public static final ViewingDirection TOP_TO_BOTTOM
public static final ViewingDirection BOTTOM_TO_TOP
public static ViewingDirection[] values()
for (ViewingDirection c : ViewingDirection.values()) System.out.println(c);
public static ViewingDirection 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<ViewingDirection>Copyright © 2018. All rights reserved.