org._3pq.jgrapht.ext
public static class JGraphModelAdapter.DefaultCellFactory extends java.lang.Object implements JGraphModelAdapter.CellFactory, java.io.Serializable
Constructor and Description |
---|
JGraphModelAdapter.DefaultCellFactory() |
Modifier and Type | Method and Description |
---|---|
org.jgraph.graph.DefaultEdge |
createEdgeCell(Edge jGraphTEdge)
Creates an edge cell that contains its respective JGraphT edge.
|
org.jgraph.graph.DefaultGraphCell |
createVertexCell(java.lang.Object jGraphTVertex)
Creates a vertex cell that contains its respective JGraphT vertex.
|
public JGraphModelAdapter.DefaultCellFactory()
public org.jgraph.graph.DefaultEdge createEdgeCell(Edge jGraphTEdge)
JGraphModelAdapter.CellFactory
createEdgeCell
in interface JGraphModelAdapter.CellFactory
jGraphTEdge
- a JGraphT edge to be contained.JGraphModelAdapter.CellFactory.createEdgeCell(org._3pq.jgrapht.Edge)
public org.jgraph.graph.DefaultGraphCell createVertexCell(java.lang.Object jGraphTVertex)
JGraphModelAdapter.CellFactory
createVertexCell
in interface JGraphModelAdapter.CellFactory
jGraphTVertex
- a JGraphT vertex to be contained.JGraphModelAdapter.CellFactory.createVertexCell(Object)