co.uk.sentinelweb.views.draw.model.path
Enum PathData.Type

java.lang.Object
  extended by java.lang.Enum<PathData.Type>
      extended by co.uk.sentinelweb.views.draw.model.path.PathData.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PathData.Type>
Enclosing class:
PathData

public static enum PathData.Type
extends java.lang.Enum<PathData.Type>


Enum Constant Summary
ARC
           
BEZIER
           
POINT
           
QUAD
           
 
Method Summary
static PathData.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PathData.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

POINT

public static final PathData.Type POINT

BEZIER

public static final PathData.Type BEZIER

ARC

public static final PathData.Type ARC

QUAD

public static final PathData.Type QUAD
Method Detail

values

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

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

valueOf

public static PathData.Type 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