Interface MutationListener
-
- All Known Implementing Classes:
ConsoleMutationListener
public interface MutationListenerInterface for a listener toEventStrategychange 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 voidedgeAdded(Edge edge)Raised after a newEdgeis added.voidedgePropertyChanged(Edge element, Property oldValue, Object setValue)Raised after the property of aEdgechanged.voidedgePropertyRemoved(Edge element, Property property)voidedgeRemoved(Edge edge)Raised after anEdgewas removed from the graph.voidvertexAdded(Vertex vertex)Raised when a newVertexis added.voidvertexPropertyChanged(Vertex element, VertexProperty oldValue, Object setValue, Object... vertexPropertyKeyValues)Raised after the property of aVertexchanged.voidvertexPropertyPropertyChanged(VertexProperty element, Property oldValue, Object setValue)Raised after the property of aVertexPropertychanged.voidvertexPropertyPropertyRemoved(VertexProperty element, Property property)Raised after anPropertyproperty was removed from aVertexProperty.voidvertexPropertyRemoved(VertexProperty vertexProperty)Raised after aVertexPropertywas removed from the graph.voidvertexRemoved(Vertex vertex)Raised after aVertexwas removed from the graph.
-
-
-
Method Detail
-
vertexAdded
void vertexAdded(Vertex vertex)
Raised when a newVertexis added.- Parameters:
vertex- theVertexthat was added
-
vertexRemoved
void vertexRemoved(Vertex vertex)
Raised after aVertexwas removed from the graph.- Parameters:
vertex- theVertexthat was removed
-
vertexPropertyChanged
void vertexPropertyChanged(Vertex element, VertexProperty oldValue, Object setValue, Object... vertexPropertyKeyValues)
Raised after the property of aVertexchanged.- Parameters:
element- theVertexthat changedsetValue- the new value of the property
-
vertexPropertyRemoved
void vertexPropertyRemoved(VertexProperty vertexProperty)
Raised after aVertexPropertywas removed from the graph.- Parameters:
vertexProperty- theVertexPropertythat was removed
-
edgeAdded
void edgeAdded(Edge edge)
Raised after a newEdgeis added.- Parameters:
edge- theEdgethat was added
-
edgeRemoved
void edgeRemoved(Edge edge)
Raised after anEdgewas removed from the graph.- Parameters:
edge- theEdgethat was removed.
-
edgePropertyChanged
void edgePropertyChanged(Edge element, Property oldValue, Object setValue)
Raised after the property of aEdgechanged.- Parameters:
element- theEdgethat changedsetValue- the new value of the property
-
edgePropertyRemoved
void edgePropertyRemoved(Edge element, Property property)
- Parameters:
property- thePropertythat was removed
-
vertexPropertyPropertyChanged
void vertexPropertyPropertyChanged(VertexProperty element, Property oldValue, Object setValue)
Raised after the property of aVertexPropertychanged.- Parameters:
element- theVertexPropertythat changedsetValue- the new value of the property
-
vertexPropertyPropertyRemoved
void vertexPropertyPropertyRemoved(VertexProperty element, Property property)
Raised after anPropertyproperty was removed from aVertexProperty.- Parameters:
property- thePropertythat removed
-
-