public final class Orientation extends java.lang.Object implements Enumeration
| Modifier and Type | Field and Description |
|---|---|
static Orientation |
HORIZONTAL |
static Orientation |
VERTICAL |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.Icon |
getListIcon()
An icon can be provided that will be shown in a list
along with the textual description of the element.
|
java.lang.String |
toString()
Type-safe Enumerations implementing this interface
should override the toString() method to return a
String that will be helpful to the user
when choosing this as an option from a list. |
static Orientation |
valueOf(java.lang.String str) |
public static final Orientation HORIZONTAL
public static final Orientation VERTICAL
public java.lang.String toString()
EnumerationString that will be helpful to the user
when choosing this as an option from a list.toString in interface EnumerationtoString in class java.lang.Objectpublic static Orientation valueOf(java.lang.String str)
public javax.swing.Icon getListIcon()
null if there
is no icon available.getListIcon in interface Enumeration