edu.mines.jtk.mosaic
Enum ContoursView.Orientation

java.lang.Object
  extended by java.lang.Enum<ContoursView.Orientation>
      extended by edu.mines.jtk.mosaic.ContoursView.Orientation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContoursView.Orientation>
Enclosing class:
ContoursView

public static enum ContoursView.Orientation
extends java.lang.Enum<ContoursView.Orientation>

Orientation of sample axes x1 and x2. For example, the default orientation X1RIGHT_X2UP corresponds to x1 increasing horizontally from left to right, and x2 increasing vertically from bottom to top.


Enum Constant Summary
X1DOWN_X2RIGHT
           
X1RIGHT_X2UP
           
 
Method Summary
static ContoursView.Orientation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContoursView.Orientation[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

X1RIGHT_X2UP

public static final ContoursView.Orientation X1RIGHT_X2UP

X1DOWN_X2RIGHT

public static final ContoursView.Orientation X1DOWN_X2RIGHT
Method Detail

values

public static final ContoursView.Orientation[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ContoursView.Orientation c : ContoursView.Orientation.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ContoursView.Orientation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name