com.horstmann.violet
Class ObjectDiagramGraph

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

public class ObjectDiagramGraph
extends Graph

An UML-style object diagram that shows object references.

See Also:
Serialized Form

Constructor Summary
ObjectDiagramGraph()
           
 
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

ObjectDiagramGraph

public ObjectDiagramGraph()
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