public interface MutationListener
EventStrategy
change events.
Implementations of this interface should be added to the list of listeners on the addListener method on
the EventStrategy
.Modifier and Type | Method and Description |
---|---|
void |
edgeAdded(Edge edge)
Raised after a new
Edge is added. |
void |
edgePropertyChanged(Edge element,
Property oldValue,
Object setValue)
Raised after the property of a
Edge changed. |
void |
edgePropertyRemoved(Edge element,
Property property)
|
void |
edgeRemoved(Edge edge)
Raised after an
Edge was removed from the graph. |
void |
vertexAdded(Vertex vertex)
Raised when a new
Vertex is added. |
void |
vertexPropertyChanged(Vertex element,
Property oldValue,
Object setValue,
Object... vertexPropertyKeyValues)
Raised after the property of a
Vertex changed. |
void |
vertexPropertyPropertyChanged(VertexProperty element,
Property oldValue,
Object setValue)
Raised after the property of a
VertexProperty changed. |
void |
vertexPropertyPropertyRemoved(VertexProperty element,
Property property)
Raised after an
Property property was removed from a VertexProperty . |
void |
vertexPropertyRemoved(VertexProperty vertexProperty)
Raised after a
VertexProperty was removed from the graph. |
void |
vertexRemoved(Vertex vertex)
Raised after a
Vertex was removed from the graph. |
void vertexAdded(Vertex vertex)
Vertex
is added.vertex
- the Vertex
that was addedvoid vertexRemoved(Vertex vertex)
Vertex
was removed from the graph.vertex
- the Vertex
that was removedvoid vertexPropertyChanged(Vertex element, Property oldValue, Object setValue, Object... vertexPropertyKeyValues)
Vertex
changed.element
- the Vertex
that changedsetValue
- the new value of the propertyvoid vertexPropertyRemoved(VertexProperty vertexProperty)
VertexProperty
was removed from the graph.vertexProperty
- the VertexProperty
that was removedvoid edgeAdded(Edge edge)
Edge
is added.edge
- the Edge
that was addedvoid edgeRemoved(Edge edge)
Edge
was removed from the graph.edge
- the Edge
that was removed.void edgePropertyChanged(Edge element, Property oldValue, Object setValue)
Edge
changed.element
- the Edge
that changedsetValue
- the new value of the propertyvoid edgePropertyRemoved(Edge element, Property property)
property
- the Property
that was removedvoid vertexPropertyPropertyChanged(VertexProperty element, Property oldValue, Object setValue)
VertexProperty
changed.element
- the VertexProperty
that changedsetValue
- the new value of the propertyvoid vertexPropertyPropertyRemoved(VertexProperty element, Property property)
Property
property was removed from a VertexProperty
.property
- the Property
that removedCopyright © 2013–2017 Apache Software Foundation. All rights reserved.