|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Orientation>
org.openbp.cockpit.modeler.figures.generic.Orientation
public enum Orientation
Constants for orthogonal orientation.
| Enum Constant Summary | |
|---|---|
BOTTOM
Orientation To the bottom |
|
CENTER
Center (used for gradients, same as UNDETERMINED) |
|
LEFT
Orientation: To the Left |
|
RIGHT
Orientation To the right |
|
TOP
Orientation: To the top |
|
UNDETERMINED
Undetermined orientation |
|
| Method Summary | |
|---|---|
static Orientation |
fromInt(int i)
|
int |
toInt()
|
java.lang.String |
toString()
|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Orientation UNDETERMINED
public static final Orientation CENTER
UNDETERMINED)
public static final Orientation RIGHT
public static final Orientation BOTTOM
public static final Orientation LEFT
public static final Orientation TOP
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic int toInt()
toInt in interface IntEnum<Orientation>public static Orientation fromInt(int i)
public java.lang.String toString()
toString in class java.lang.Enum<Orientation>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||