org.das2.dasml
Class Orientation

java.lang.Object
  extended by org.das2.dasml.Orientation
All Implemented Interfaces:
Enumeration

public final class Orientation
extends java.lang.Object
implements Enumeration


Field Summary
static Orientation HORIZONTAL
           
static Orientation VERTICAL
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HORIZONTAL

public static final Orientation HORIZONTAL

VERTICAL

public static final Orientation VERTICAL
Method Detail

toString

public java.lang.String toString()
Description copied from interface: Enumeration
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.

Specified by:
toString in interface Enumeration
Overrides:
toString in class java.lang.Object

valueOf

public static Orientation valueOf(java.lang.String str)

getListIcon

public javax.swing.Icon getListIcon()
An icon can be provided that will be shown in a list along with the textual description of the element. This method should return null if there is no icon available.

Specified by:
getListIcon in interface Enumeration