Enum Class NodeStyle

java.lang.Object
java.lang.Enum<NodeStyle>
com.google.inject.grapher.graphviz.NodeStyle
All Implemented Interfaces:
Serializable, Comparable<NodeStyle>, Constable

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

  • Enum Constant Details

    • 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
  • Field Details

    • name

      private final String name
  • Constructor Details

    • NodeStyle

      private NodeStyle(String name)
  • Method Details

    • values

      public static NodeStyle[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NodeStyle valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<NodeStyle>