org.jgraph.graph.DefaultEdge Class Reference

Inheritance diagram for org.jgraph.graph.DefaultEdge:

org.jgraph.graph.DefaultGraphCell org.jgraph.graph.Edge org.jgraph.graph.GraphCell org.jgraph.graph.GraphCell manas.gates.GWire manas.GGates.GEdge List of all members.

Public Member Functions

 DefaultEdge ()
 DefaultEdge (Object userObject)
 DefaultEdge (Object userObject, AttributeMap storageMap)
Object getSource ()
Object getTarget ()
void setSource (Object port)
void setTarget (Object port)
Object clone ()

Protected Attributes

Object source
Object target

Classes

class  DefaultRouting
class  LoopRouting

Detailed Description

A simple implementation for an edge.

Version:
1.0 1/1/02
Author:
Gaudenz Alder


Constructor & Destructor Documentation

org.jgraph.graph.DefaultEdge.DefaultEdge  ) 
 

Constructs an empty edge.

org.jgraph.graph.DefaultEdge.DefaultEdge Object  userObject  ) 
 

Constructs an edge that holds a reference to the specified user object.

Parameters:
userObject reference to the user object

org.jgraph.graph.DefaultEdge.DefaultEdge Object  userObject,
AttributeMap  storageMap
 

Constructs an edge that holds a reference to the specified user object and sets default values for points and the label position.

Parameters:
userObject reference to the user object


Member Function Documentation

Object org.jgraph.graph.DefaultEdge.clone  ) 
 

Create a clone of the cell. The cloning of the user object is deferred to the cloneUserObject() method. The source and target references are set to null.

Returns:
Object a clone of this object.

Reimplemented from org.jgraph.graph.DefaultGraphCell.

Object org.jgraph.graph.DefaultEdge.getSource  ) 
 

Returns the source of the edge.

Implements org.jgraph.graph.Edge.

Object org.jgraph.graph.DefaultEdge.getTarget  ) 
 

Returns the target of the edge.

Implements org.jgraph.graph.Edge.

void org.jgraph.graph.DefaultEdge.setSource Object  port  ) 
 

Sets the source of the edge.

Implements org.jgraph.graph.Edge.

void org.jgraph.graph.DefaultEdge.setTarget Object  port  ) 
 

Returns the target of edge.

Implements org.jgraph.graph.Edge.


Member Data Documentation

Object org.jgraph.graph.DefaultEdge.source [protected]
 

Source and target of the edge.

Object org.jgraph.graph.DefaultEdge.target [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun May 28 19:13:14 2006 for Digimod by  doxygen 1.4.6-NO