V
- the graph vertex typepublic class GraphVertexChangeEvent<V> extends GraphChangeEvent
GraphChangeEvent.getType()
method.Modifier and Type | Field and Description |
---|---|
static int |
BEFORE_VERTEX_ADDED
Before vertex added event.
|
static int |
BEFORE_VERTEX_REMOVED
Before vertex removed event.
|
protected V |
vertex
The vertex that this event is related to.
|
static int |
VERTEX_ADDED
Vertex added event.
|
static int |
VERTEX_REMOVED
Vertex removed event.
|
type
source
Constructor and Description |
---|
GraphVertexChangeEvent(Object eventSource,
int type,
V vertex)
Creates a new GraphVertexChangeEvent object.
|
Modifier and Type | Method and Description |
---|---|
V |
getVertex()
Returns the vertex that this event is related to.
|
getType
getSource, toString
public static final int BEFORE_VERTEX_ADDED
public static final int BEFORE_VERTEX_REMOVED
public static final int VERTEX_ADDED
public static final int VERTEX_REMOVED
protected V vertex
public V getVertex()
Copyright © 2018. All rights reserved.