ptolemy.vergil.basic
Enum BasicGraphFrame.ElementInLinkType

java.lang.Object
  extended by java.lang.Enum<BasicGraphFrame.ElementInLinkType>
      extended by ptolemy.vergil.basic.BasicGraphFrame.ElementInLinkType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BasicGraphFrame.ElementInLinkType>
Enclosing class:
BasicGraphFrame

private static enum BasicGraphFrame.ElementInLinkType
extends java.lang.Enum<BasicGraphFrame.ElementInLinkType>

An enumerate to specifies what kind of element the element (head or tail) is in a link.


Enum Constant Summary
PORT_IN_ACTOR
           
RELATION
           
STANDALONE_PORT
           
 
Method Summary
static BasicGraphFrame.ElementInLinkType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BasicGraphFrame.ElementInLinkType[] 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

PORT_IN_ACTOR

public static final BasicGraphFrame.ElementInLinkType PORT_IN_ACTOR

STANDALONE_PORT

public static final BasicGraphFrame.ElementInLinkType STANDALONE_PORT

RELATION

public static final BasicGraphFrame.ElementInLinkType RELATION
Method Detail

values

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

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

valueOf

public static BasicGraphFrame.ElementInLinkType 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