public enum Orientation extends java.lang.Enum<Orientation>
| Enum Constant and Description |
|---|
horizontal |
horizontalLeft |
vertical |
verticalDown |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHorizontal() |
boolean |
isVertical() |
static Orientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Orientation horizontal
public static final Orientation horizontalLeft
public static final Orientation vertical
public static final Orientation verticalDown
public static Orientation[] values()
for (Orientation c : Orientation.values()) System.out.println(c);
public static Orientation 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 final boolean isHorizontal()
public final boolean isVertical()
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com