cz.cuni.jagrlib.worker
Enum EulerWorker.Constructions

java.lang.Object
  extended by java.lang.Enum<EulerWorker.Constructions>
      extended by cz.cuni.jagrlib.worker.EulerWorker.Constructions
All Implemented Interfaces:
Serializable, Comparable<EulerWorker.Constructions>
Enclosing class:
EulerWorker

protected static enum EulerWorker.Constructions
extends Enum<EulerWorker.Constructions>

Implemented construction modes/scenes.


Enum Constant Summary
CUBE
          Cube.
FUNCTION_GRAPH
          Graph of R->R^2 function.
TETRAHEDRON
          Tetrahedron.
XML_SCRIPT
          Euler operators read from XML file.
 
Method Summary
static EulerWorker.Constructions valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EulerWorker.Constructions[] 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

TETRAHEDRON

public static final EulerWorker.Constructions TETRAHEDRON
Tetrahedron.


CUBE

public static final EulerWorker.Constructions CUBE
Cube.


FUNCTION_GRAPH

public static final EulerWorker.Constructions FUNCTION_GRAPH
Graph of R->R^2 function.


XML_SCRIPT

public static final EulerWorker.Constructions XML_SCRIPT
Euler operators read from XML file.

Method Detail

values

public static EulerWorker.Constructions[] 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 (EulerWorker.Constructions c : EulerWorker.Constructions.values())
    System.out.println(c);

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

valueOf

public static EulerWorker.Constructions valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null