Package org._3pq.jgrapht.ext
Interface JGraphModelAdapter.CellFactory
-
- All Known Implementing Classes:
JGraphModelAdapter.DefaultCellFactory
- Enclosing class:
- JGraphModelAdapter
public static interface JGraphModelAdapter.CellFactoryCreates the JGraph cells that reflect the respective JGraphT elements.- Since:
- Dec 12, 2003
- Author:
- Barak Naveh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jgraph.graph.DefaultEdgecreateEdgeCell(Edge jGraphTEdge)Creates an edge cell that contains its respective JGraphT edge.org.jgraph.graph.DefaultGraphCellcreateVertexCell(java.lang.Object jGraphTVertex)Creates a vertex cell that contains its respective JGraphT vertex.
-
-
-
Method Detail
-
createEdgeCell
org.jgraph.graph.DefaultEdge createEdgeCell(Edge jGraphTEdge)
Creates an edge cell that contains its respective JGraphT edge.- Parameters:
jGraphTEdge- a JGraphT edge to be contained.- Returns:
- an edge cell that contains its respective JGraphT edge.
-
createVertexCell
org.jgraph.graph.DefaultGraphCell createVertexCell(java.lang.Object jGraphTVertex)
Creates a vertex cell that contains its respective JGraphT vertex.- Parameters:
jGraphTVertex- a JGraphT vertex to be contained.- Returns:
- a vertex cell that contains its respective JGraphT vertex.
-
-