org.jgraph.graph
public class DefaultCellViewFactory extends Object implements CellViewFactory, Serializable
Method Summary | |
---|---|
protected EdgeView | createEdgeView(Object cell)
Constructs an EdgeView view for the specified object. |
protected EdgeView | createEdgeView(Edge cell)
Constructs an EdgeView view for the specified object.
|
protected PortView | createPortView(Object cell)
Constructs a PortView view for the specified object. |
protected PortView | createPortView(Port cell)
Constructs a PortView view for the specified object.
|
protected VertexView | createVertexView(Object cell)
Constructs a VertexView view for the specified object. |
CellView | createView(GraphModel model, Object cell)
Constructs a view for the specified cell and associates it with the
specified object using the specified CellMapper. |
Deprecated: replaced by createEdgeViewsince JGraph no longer exposes dependecies on GraphCell subclasses (Port, Edge)
Constructs an EdgeView view for the specified object.Deprecated: replaced by createPortViewsince JGraph no longer exposes dependecies on GraphCell subclasses (Port, Edge)
Constructs a PortView view for the specified object.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