com.google.inject.grapher.graphviz
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
- Author:
- phopkins@gmail.com (Pete Hopkins)
Method Summary |
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. |
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
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 name
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<ArrowType>
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.