public class GraphRemoveEdgeEvent extends EventObject
source| Constructor and Description |
|---|
GraphRemoveEdgeEvent(Object source,
Edge edgetoremove,
Vertex vertex)
Creates a GraphRemoveEdgeEvent object indicating the source of the event
and the Edge that is about to be removed from a Graph object
|
| Modifier and Type | Method and Description |
|---|---|
Edge |
getEdge()
Returns the Edge object is about to be removed from a Graph object
|
Vertex |
getVertex()
If this edge is being removed implicitly due to the removal of a vertex,
then the vertex being removed; else null.
|
getSource, toStringpublic GraphRemoveEdgeEvent(Object source, Edge edgetoremove, Vertex vertex)
source - source of the event. This is usually the Graph object
where the Edge object is to be removed.newedge - Edge object that is about to be removed from a Graph objectvertex - see getVertex()public Edge getEdge()
public Vertex getVertex()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.