scale.common
Enum DEdge

java.lang.Object
  extended by java.lang.Enum<DEdge>
      extended by scale.common.DEdge
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DEdge>

public enum DEdge
extends java.lang.Enum<DEdge>

This enum specifies graphical display edge types - dashed, dotted, etc.

$Id$

Copyright 2008 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.


Enum Constant Summary
BACK
          An edge from a node to a predecessor node.
DASHED
          Use a dashed line for the edge.
DOTTED
          Use a dotted line for the edge.
SOLID
          Use a solid line for the edge.
THICK
          Use a thick line for the edge.
 
Method Summary
 java.lang.String sName()
           
static DEdge valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DEdge[] 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

SOLID

public static final DEdge SOLID
Use a solid line for the edge.


BACK

public static final DEdge BACK
An edge from a node to a predecessor node.


DASHED

public static final DEdge DASHED
Use a dashed line for the edge.


DOTTED

public static final DEdge DOTTED
Use a dotted line for the edge.


THICK

public static final DEdge THICK
Use a thick line for the edge.

Method Detail

values

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

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

valueOf

public static DEdge 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

sName

public java.lang.String sName()