GridView
Enum Viewer.DrawMode

java.lang.Object
  extended by java.lang.Enum<Viewer.DrawMode>
      extended by GridView.Viewer.DrawMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Viewer.DrawMode>
Enclosing class:
Viewer

public static enum Viewer.DrawMode
extends java.lang.Enum<Viewer.DrawMode>

Mode representing the current drawing canvas type.

There are three kinds of drawing canvas:

  1. Geometric surface / 3D objects
  2. Two dimensional plots
  3. Three dimensional plots


Enum Constant Summary
GEOM
           
THREEDPLOT
           
TWODPLOT
           
 
Method Summary
static Viewer.DrawMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Viewer.DrawMode[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GEOM

public static final Viewer.DrawMode GEOM

TWODPLOT

public static final Viewer.DrawMode TWODPLOT

THREEDPLOT

public static final Viewer.DrawMode THREEDPLOT
Method Detail

values

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

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

valueOf

public static Viewer.DrawMode 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
java.lang.NullPointerException - if the argument is null