public static class JGraphModelAdapter.DefaultCellFactory<VV,EE> extends Object implements JGraphModelAdapter.CellFactory<VV,EE>, Serializable
Constructor and Description |
---|
JGraphModelAdapter.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 JGraphModelAdapter.DefaultCellFactory()
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 © 2016. All rights reserved.