de.postfuse.ui
Enum EdgeArrowType
java.lang.Object
java.lang.Enum<EdgeArrowType>
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
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
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)