com.googlecode.whatswrong
Enum Edge.RenderType

java.lang.Object
  extended by java.lang.Enum<Edge.RenderType>
      extended by com.googlecode.whatswrong.Edge.RenderType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Edge.RenderType>
Enclosing class:
Edge

public static enum Edge.RenderType
extends java.lang.Enum<Edge.RenderType>

The RenderType enum can be used to specify how the edge should be rendered.


Enum Constant Summary
dependency
          Draw edge as a dependency
span
          Draw edge as a span.
 
Method Summary
static Edge.RenderType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Edge.RenderType[] 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

span

public static final Edge.RenderType span
Draw edge as a span.


dependency

public static final Edge.RenderType dependency
Draw edge as a dependency

Method Detail

values

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

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

valueOf

public static Edge.RenderType 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


Copyright © 2009. All Rights Reserved.