org.kohsuke.graphviz
Enum Shape

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

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

Author:
Kohsuke Kawaguchi

Enum Constant Summary
BOX
           
BOX3D
           
CIRCLE
           
COMPONENT
           
DIAMOND
           
DOUBLECIRCLE
           
DOUBLEOCTAGON
           
EGG
           
ELLIPSE
           
FOLDER
           
HEXAGON
           
HOUSE
           
INVHOUSE
           
INVTRAPEZIUM
           
INVTRIANGLE
           
MCIRCLE
           
MDIAMOND
           
MSQUARE
           
NONE
           
NOTE
           
OCTAGON
           
PARALLELOGRAM
           
PENTAGON
           
PLAINTEXT
           
POINT
           
POLYGON
           
RECT
           
RECTANGLE
           
SEPTAGON
           
TAB
           
TRAPEZIUM
           
TRIANGLE
           
TRIPLEOCTAGON
           
 
Method Summary
static Shape valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Shape[] 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

BOX

public static final Shape BOX

POLYGON

public static final Shape POLYGON

ELLIPSE

public static final Shape ELLIPSE

CIRCLE

public static final Shape CIRCLE

POINT

public static final Shape POINT

EGG

public static final Shape EGG

TRIANGLE

public static final Shape TRIANGLE

PLAINTEXT

public static final Shape PLAINTEXT

DIAMOND

public static final Shape DIAMOND

TRAPEZIUM

public static final Shape TRAPEZIUM

PARALLELOGRAM

public static final Shape PARALLELOGRAM

HOUSE

public static final Shape HOUSE

PENTAGON

public static final Shape PENTAGON

HEXAGON

public static final Shape HEXAGON

SEPTAGON

public static final Shape SEPTAGON

OCTAGON

public static final Shape OCTAGON

DOUBLECIRCLE

public static final Shape DOUBLECIRCLE

DOUBLEOCTAGON

public static final Shape DOUBLEOCTAGON

TRIPLEOCTAGON

public static final Shape TRIPLEOCTAGON

INVTRIANGLE

public static final Shape INVTRIANGLE

INVTRAPEZIUM

public static final Shape INVTRAPEZIUM

INVHOUSE

public static final Shape INVHOUSE

MDIAMOND

public static final Shape MDIAMOND

MSQUARE

public static final Shape MSQUARE

MCIRCLE

public static final Shape MCIRCLE

RECT

public static final Shape RECT

RECTANGLE

public static final Shape RECTANGLE

NONE

public static final Shape NONE

NOTE

public static final Shape NOTE

TAB

public static final Shape TAB

FOLDER

public static final Shape FOLDER

BOX3D

public static final Shape BOX3D

COMPONENT

public static final Shape COMPONENT
Method Detail

values

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

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

valueOf

public static Shape 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.