Enum ArrowType
- java.lang.Object
-
- java.lang.Enum<ArrowType>
-
- com.google.inject.grapher.graphviz.ArrowType
-
- All Implemented Interfaces:
Serializable
,Comparable<ArrowType>
public enum ArrowType extends Enum<ArrowType>
Arrow symbols that are available from Graphviz. These can be composed by concatenation to make double arrows and such.See: http://www.graphviz.org/doc/info/arrows.html
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOX
BOX_OPEN
CROW
DIAMOND
DIAMOND_OPEN
DOT
DOT_OPEN
INVERTED
INVERTED_OPEN
NONE
NORMAL
NORMAL_OPEN
TEE
VEE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static ArrowType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ArrowType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOX
public static final ArrowType BOX
-
BOX_OPEN
public static final ArrowType BOX_OPEN
-
CROW
public static final ArrowType CROW
-
DIAMOND
public static final ArrowType DIAMOND
-
DIAMOND_OPEN
public static final ArrowType DIAMOND_OPEN
-
DOT
public static final ArrowType DOT
-
DOT_OPEN
public static final ArrowType DOT_OPEN
-
INVERTED
public static final ArrowType INVERTED
-
INVERTED_OPEN
public static final ArrowType INVERTED_OPEN
-
NONE
public static final ArrowType NONE
-
NORMAL
public static final ArrowType NORMAL
-
NORMAL_OPEN
public static final ArrowType NORMAL_OPEN
-
TEE
public static final ArrowType TEE
-
VEE
public static final ArrowType VEE
-
-
Method Detail
-
values
public static ArrowType[] 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 (ArrowType c : ArrowType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArrowType 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 nameNullPointerException
- if the argument is null
-
-