public enum Orientation extends java.lang.Enum<Orientation> implements Identity
Enum Constant and Description |
---|
LEFT_TO_RIGHT |
RIGHT_TO_LEFT |
COMPARATOR
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
java.lang.String |
getName() |
java.lang.Object |
getOwner() |
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 LEFT_TO_RIGHT
public static final Orientation RIGHT_TO_LEFT
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 java.lang.String getId()
getId
in interface Identity
Identity.getId()
public java.lang.String getName()
getName
in interface Identity
Identity.getName()
public java.lang.String getDescription()
getDescription
in interface Identity
Identity.getDescription()
public javax.swing.Icon getIcon()
getIcon
in interface Identity
Identity.getIcon()
public java.lang.Object getOwner()
getOwner
in interface Identity
Identity.getOwner()