|
JGraph |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.graph.DefaultCellViewFactory
Constructor Summary | |
DefaultCellViewFactory()
|
Method Summary | |
protected EdgeView |
createEdgeView(Edge cell)
Deprecated. replaced by #createEdgeView(Object,CellMapper) since
JGraph no longer exposes dependecies on GraphCell subclasses
(Port, Edge) |
protected EdgeView |
createEdgeView(Object 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)
Deprecated. replaced by #createPortView(Object,CellMapper) since
JGraph no longer exposes dependecies on GraphCell subclasses
(Port, Edge) |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultCellViewFactory()
Method Detail |
public CellView createView(GraphModel model, Object cell)
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 CellViewFactory
cell
- reference to the object in the modelprotected EdgeView createEdgeView(Object cell)
protected PortView createPortView(Object cell)
protected EdgeView createEdgeView(Edge cell)
#createEdgeView(Object,CellMapper)
since
JGraph no longer exposes dependecies on GraphCell subclasses
(Port, Edge)
protected PortView createPortView(Port cell)
#createPortView(Object,CellMapper)
since
JGraph no longer exposes dependecies on GraphCell subclasses
(Port, Edge)
protected VertexView createVertexView(Object cell)
|
JGraph |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |