com.horstmann.violet
Class StateDiagramGraph

java.lang.Object
  extended by com.horstmann.violet.framework.Graph
      extended by com.horstmann.violet.StateDiagramGraph
All Implemented Interfaces:
java.io.Serializable

public class StateDiagramGraph
extends Graph

A UML state diagram.

See Also:
Serialized Form

Constructor Summary
StateDiagramGraph()
           
 
Method Summary
 Edge[] getEdgePrototypes()
          Gets the edge types of a particular graph type.
 Node[] getNodePrototypes()
          Gets the node types of a particular graph type.
 
Methods inherited from class com.horstmann.violet.framework.Graph
add, addNode, connect, connect, draw, findEdge, findNode, getBounds, getEdges, getMinBounds, getNodes, layout, removeEdge, removeNode, setMinBounds, setPersistenceDelegate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateDiagramGraph

public StateDiagramGraph()
Method Detail

getNodePrototypes

public Node[] getNodePrototypes()
Description copied from class: Graph
Gets the node types of a particular graph type.

Specified by:
getNodePrototypes in class Graph
Returns:
an array of node prototypes

getEdgePrototypes

public Edge[] getEdgePrototypes()
Description copied from class: Graph
Gets the edge types of a particular graph type.

Specified by:
getEdgePrototypes in class Graph
Returns:
an array of edge prototypes