public class TreeCellViewFactory
extends org.jgraph.graph.DefaultCellViewFactory
Constructor and Description |
---|
TreeCellViewFactory() |
Modifier and Type | Method and Description |
---|---|
protected org.jgraph.graph.EdgeView |
createEdgeView(java.lang.Object edge)
Constructs an EdgeView view for the specified object.
|
protected org.jgraph.graph.AbstractCellView |
createTheVertexView(java.lang.Object cell) |
org.jgraph.graph.CellView |
createView(org.jgraph.graph.GraphModel model,
java.lang.Object cell)
Constructs a view for the specified cell and associates it with the
specified object using the specified CellMapper.
|
public org.jgraph.graph.CellView createView(org.jgraph.graph.GraphModel model, java.lang.Object cell)
org.jgraph.graph.DefaultCellViewFactory
Note: The mapping needs to be available before the views of child cells and ports are created. Note: This method must return new instances!
createView
in interface org.jgraph.graph.CellViewFactory
createView
in class org.jgraph.graph.DefaultCellViewFactory
cell
- reference to the object in the modelprotected org.jgraph.graph.AbstractCellView createTheVertexView(java.lang.Object cell)
protected org.jgraph.graph.EdgeView createEdgeView(java.lang.Object edge)
org.jgraph.graph.DefaultCellViewFactory
createEdgeView
in class org.jgraph.graph.DefaultCellViewFactory