Interface MutationListener
-
- All Known Implementing Classes:
ConsoleMutationListener
public interface MutationListener
Interface for a listener toEventStrategy
change events. Implementations of this interface should be added to the list of listeners on the addListener method on theEventStrategy
.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
edgeAdded(Edge edge)
Raised after a newEdge
is added.void
edgePropertyChanged(Edge element, Property oldValue, Object setValue)
Raised after the property of aEdge
changed.void
edgePropertyRemoved(Edge element, Property property)
void
edgeRemoved(Edge edge)
Raised after anEdge
was removed from the graph.void
vertexAdded(Vertex vertex)
Raised when a newVertex
is added.void
vertexPropertyChanged(Vertex element, VertexProperty oldValue, Object setValue, Object... vertexPropertyKeyValues)
Raised after the property of aVertex
changed.void
vertexPropertyPropertyChanged(VertexProperty element, Property oldValue, Object setValue)
Raised after the property of aVertexProperty
changed.void
vertexPropertyPropertyRemoved(VertexProperty element, Property property)
Raised after anProperty
property was removed from aVertexProperty
.void
vertexPropertyRemoved(VertexProperty vertexProperty)
Raised after aVertexProperty
was removed from the graph.void
vertexRemoved(Vertex vertex)
Raised after aVertex
was removed from the graph.
-
-
-
Method Detail
-
vertexAdded
void vertexAdded(Vertex vertex)
Raised when a newVertex
is added.- Parameters:
vertex
- theVertex
that was added
-
vertexRemoved
void vertexRemoved(Vertex vertex)
Raised after aVertex
was removed from the graph.- Parameters:
vertex
- theVertex
that was removed
-
vertexPropertyChanged
void vertexPropertyChanged(Vertex element, VertexProperty oldValue, Object setValue, Object... vertexPropertyKeyValues)
Raised after the property of aVertex
changed.- Parameters:
element
- theVertex
that changedsetValue
- the new value of the property
-
vertexPropertyRemoved
void vertexPropertyRemoved(VertexProperty vertexProperty)
Raised after aVertexProperty
was removed from the graph.- Parameters:
vertexProperty
- theVertexProperty
that was removed
-
edgeAdded
void edgeAdded(Edge edge)
Raised after a newEdge
is added.- Parameters:
edge
- theEdge
that was added
-
edgeRemoved
void edgeRemoved(Edge edge)
Raised after anEdge
was removed from the graph.- Parameters:
edge
- theEdge
that was removed.
-
edgePropertyChanged
void edgePropertyChanged(Edge element, Property oldValue, Object setValue)
Raised after the property of aEdge
changed.- Parameters:
element
- theEdge
that changedsetValue
- the new value of the property
-
edgePropertyRemoved
void edgePropertyRemoved(Edge element, Property property)
- Parameters:
property
- theProperty
that was removed
-
vertexPropertyPropertyChanged
void vertexPropertyPropertyChanged(VertexProperty element, Property oldValue, Object setValue)
Raised after the property of aVertexProperty
changed.- Parameters:
element
- theVertexProperty
that changedsetValue
- the new value of the property
-
vertexPropertyPropertyRemoved
void vertexPropertyPropertyRemoved(VertexProperty element, Property property)
Raised after anProperty
property was removed from aVertexProperty
.- Parameters:
property
- theProperty
that removed
-
-