public class GraphRemoveVertexEvent extends EventObject
source| Constructor and Description |
|---|
GraphRemoveVertexEvent(Object source,
Vertex vertextoremove)
Creates a GraphRemoveVertexEvent object indicating the source of the event
and the Vertex is about to be removed from a Graph object
|
| Modifier and Type | Method and Description |
|---|---|
Vertex |
getVertex()
Returns the Vertex object is about to be removed from a Graph object
|
getSource, toStringpublic GraphRemoveVertexEvent(Object source, Vertex vertextoremove)
source - source of the event. This is usually the Graph object
where the Vertex object is to be removednewvertex - Vertex object that is about to be removed from a Graph objectpublic Vertex getVertex()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.