de.postfuse.ui
Enum EdgeArrowType

java.lang.Object
  extended by java.lang.Enum<EdgeArrowType>
      extended by de.postfuse.ui.EdgeArrowType
All Implemented Interfaces:
Serializable, Comparable<EdgeArrowType>

public enum EdgeArrowType
extends Enum<EdgeArrowType>

An enum which contains different arrow types - no arrow means an undirected connection

Author:
Peter

Enum Constant Summary
ARROW_NONE
           
ARROW_NORMAL
           
ARROW_TALL
           
ARROW_WIDE
           
 
Method Summary
static EdgeArrowType fromInt(int arrow_type)
           
 int getInt()
           
static EdgeArrowType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EdgeArrowType[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

ARROW_NORMAL

public static final EdgeArrowType ARROW_NORMAL

ARROW_WIDE

public static final EdgeArrowType ARROW_WIDE

ARROW_TALL

public static final EdgeArrowType ARROW_TALL

ARROW_NONE

public static final EdgeArrowType ARROW_NONE
Method Detail

values

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

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

valueOf

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

getInt

public int getInt()

fromInt

public static EdgeArrowType fromInt(int arrow_type)