com.google.inject.grapher.graphviz
Enum NodeStyle
java.lang.Object
java.lang.Enum<NodeStyle>
com.google.inject.grapher.graphviz.NodeStyle
- All Implemented Interfaces:
- Serializable, Comparable<NodeStyle>
public enum NodeStyle
- extends Enum<NodeStyle>
Styles for nodes. Similar to EdgeStyle
but with a few more options.
See: http://www.graphviz.org/doc/info/attrs.html#k:style
- Author:
- phopkins@gmail.com (Pete Hopkins)
Method Summary |
String |
toString()
|
static NodeStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NodeStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
BOLD
public static final NodeStyle BOLD
DASHED
public static final NodeStyle DASHED
DIAGONALS
public static final NodeStyle DIAGONALS
DOTTED
public static final NodeStyle DOTTED
INVISIBLE
public static final NodeStyle INVISIBLE
FILLED
public static final NodeStyle FILLED
ROUNDED
public static final NodeStyle ROUNDED
SOLID
public static final NodeStyle SOLID
values
public static NodeStyle[] 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 (NodeStyle c : NodeStyle.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NodeStyle 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<NodeStyle>
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.