VV
- the graph vertex typeEE
- the graph edge typepublic static class JGraphModelAdapter.DefaultCellFactory<VV,EE> extends Object implements JGraphModelAdapter.CellFactory<VV,EE>, Serializable
Constructor and Description |
---|
DefaultCellFactory() |
Modifier and Type | Method and Description |
---|---|
org.jgraph.graph.DefaultEdge |
createEdgeCell(EE jGraphTEdge)
Creates an edge cell that contains its respective JGraphT edge.
|
org.jgraph.graph.DefaultGraphCell |
createVertexCell(VV jGraphTVertex)
Creates a vertex cell that contains its respective JGraphT vertex.
|
public org.jgraph.graph.DefaultEdge createEdgeCell(EE jGraphTEdge)
JGraphModelAdapter.CellFactory
createEdgeCell
in interface JGraphModelAdapter.CellFactory<VV,EE>
jGraphTEdge
- a JGraphT edge to be contained.JGraphModelAdapter.CellFactory.createEdgeCell(Object)
public org.jgraph.graph.DefaultGraphCell createVertexCell(VV jGraphTVertex)
JGraphModelAdapter.CellFactory
createVertexCell
in interface JGraphModelAdapter.CellFactory<VV,EE>
jGraphTVertex
- a JGraphT vertex to be contained.JGraphModelAdapter.CellFactory.createVertexCell(Object)
Copyright © 2017. All rights reserved.