org.jgraph.graph.DefaultCellViewFactory Class Reference

Inheritance diagram for org.jgraph.graph.DefaultCellViewFactory:

org.jgraph.graph.CellViewFactory List of all members.

Public Member Functions

CellView createView (GraphModel model, Object cell)

Protected Member Functions

VertexView createVertexView (Object cell)
EdgeView createEdgeView (Object cell)
PortView createPortView (Object cell)
EdgeView createEdgeView (Edge cell)
PortView createPortView (Port cell)

Detailed Description

The default implementation of a cell view factory that returns the default views for vertices, edges and ports.


Member Function Documentation

EdgeView org.jgraph.graph.DefaultCellViewFactory.createEdgeView Edge  cell  )  [protected]
 

Constructs an EdgeView view for the specified object.

Deprecated:
replaced by createEdgeView(Object)since JGraph no longer exposes dependecies on GraphCell subclasses (Port, Edge)

EdgeView org.jgraph.graph.DefaultCellViewFactory.createEdgeView Object  cell  )  [protected]
 

Constructs an EdgeView view for the specified object.

PortView org.jgraph.graph.DefaultCellViewFactory.createPortView Port  cell  )  [protected]
 

Constructs a PortView view for the specified object.

Deprecated:
replaced by createPortView(Object)since JGraph no longer exposes dependecies on GraphCell subclasses (Port, Edge)

PortView org.jgraph.graph.DefaultCellViewFactory.createPortView Object  cell  )  [protected]
 

Constructs a PortView view for the specified object.

VertexView org.jgraph.graph.DefaultCellViewFactory.createVertexView Object  cell  )  [protected]
 

Constructs a VertexView view for the specified object.

CellView org.jgraph.graph.DefaultCellViewFactory.createView GraphModel  model,
Object  cell
 

Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper. This calls refresh on the created CellView to create all dependent views.

Note: The mapping needs to be available before the views of child cells and ports are created. Note: This method must return new instances!

Parameters:
cell reference to the object in the model

Implements org.jgraph.graph.CellViewFactory.


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