public class NetViewFactory extends DefaultCellViewFactory
Constructor and Description |
---|
NetViewFactory() |
Modifier and Type | Method and Description |
---|---|
CellView |
createView(GraphModel model,
java.lang.Object cell)
Constructs a view for the specified cell and associates it with the
specified object using the specified CellMapper.
|
createEdgeView, createEdgeView, createPortView, createPortView, createVertexView
public CellView createView(GraphModel model, java.lang.Object cell)
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 CellViewFactory
createView
in class DefaultCellViewFactory
cell
- reference to the object in the model