org.kohsuke.graphviz
Enum StyleAttr

java.lang.Object
  extended by java.lang.Enum<StyleAttr>
      extended by org.kohsuke.graphviz.StyleAttr
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StyleAttr>

public enum StyleAttr
extends java.lang.Enum<StyleAttr>

Author:
Kohsuke Kawaguchi

Enum Constant Summary
BOLD
           
DASHED
           
DIAGONALS
           
DOTTED
           
FILLED
           
INVIS
           
ROUNDED
           
SOLID
           
 
Method Summary
static StyleAttr valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StyleAttr[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SOLID

public static final StyleAttr SOLID

DASHED

public static final StyleAttr DASHED

DOTTED

public static final StyleAttr DOTTED

BOLD

public static final StyleAttr BOLD

INVIS

public static final StyleAttr INVIS

FILLED

public static final StyleAttr FILLED

DIAGONALS

public static final StyleAttr DIAGONALS

ROUNDED

public static final StyleAttr ROUNDED
Method Detail

values

public static StyleAttr[] 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 (StyleAttr c : StyleAttr.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StyleAttr valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2008. All Rights Reserved.