| Package | Description |
|---|---|
| berack96.lib.graph.view | |
| berack96.lib.graph.view.edge | |
| berack96.lib.graph.view.vertex |
| Modifier and Type | Method and Description |
|---|---|
VertexComponent<V> |
GraphPanel.getVertexAt(java.awt.Point point) |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphPanel.addEdge(VertexComponent<V> source,
VertexComponent<V> dest,
W weight) |
void |
GraphPanel.addEdge(VertexComponent<V> source,
VertexComponent<V> dest,
W weight) |
void |
GraphPanel.modEdge(VertexComponent<V> source,
VertexComponent<V> dest,
W weight) |
void |
GraphPanel.modEdge(VertexComponent<V> source,
VertexComponent<V> dest,
W weight) |
void |
GraphPanel.moveVertex(VertexComponent<V> vertex,
java.awt.Point destination) |
void |
GraphPanel.removeEdge(VertexComponent<V> source,
VertexComponent<V> dest) |
void |
GraphPanel.removeEdge(VertexComponent<V> source,
VertexComponent<V> dest) |
| Constructor and Description |
|---|
GraphPanel(GraphicalView<VertexComponent<V>> vertexRender,
GraphicalView<EdgeComponent<V,W>> edgeRender,
java.lang.Class<V> classV,
java.lang.Class<W> classW) |
| Modifier and Type | Field and Description |
|---|---|
VertexComponent<V> |
EdgeComponent.destination |
VertexComponent<V> |
EdgeComponent.source |
| Constructor and Description |
|---|
EdgeComponent(VertexComponent<V> source,
VertexComponent<V> destination,
W weight) |
EdgeComponent(VertexComponent<V> source,
VertexComponent<V> destination,
W weight) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Rectangle |
VertexView.getBox(VertexComponent<V> obj,
java.awt.Point center) |
void |
VertexView.paint(java.awt.Graphics2D g2,
VertexComponent<V> obj,
java.awt.Point center) |