public class ConsoleMutationListener extends Object implements MutationListener
| Constructor and Description |
|---|
ConsoleMutationListener(Graph graph) |
| 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 removedValue)
|
void |
edgeRemoved(Edge edge)
Raised after an
Edge was removed from the graph. |
String |
toString() |
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 |
vertexPropertyChanged(Vertex element,
VertexProperty 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 oldValue)
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. |
public ConsoleMutationListener(Graph graph)
public void vertexAdded(Vertex vertex)
MutationListenerVertex is added.vertexAdded in interface MutationListenervertex - the Vertex that was addedpublic void vertexRemoved(Vertex vertex)
MutationListenerVertex was removed from the graph.vertexRemoved in interface MutationListenervertex - the Vertex that was removedpublic void vertexPropertyRemoved(VertexProperty vertexProperty)
MutationListenerVertexProperty was removed from the graph.vertexPropertyRemoved in interface MutationListenervertexProperty - the VertexProperty that was removedpublic void edgeAdded(Edge edge)
MutationListenerEdge is added.edgeAdded in interface MutationListeneredge - the Edge that was addedpublic void edgeRemoved(Edge edge)
MutationListenerEdge was removed from the graph.edgeRemoved in interface MutationListeneredge - the Edge that was removed.public void edgePropertyRemoved(Edge element, Property removedValue)
MutationListeneredgePropertyRemoved in interface MutationListenerremovedValue - the Property that was removedpublic void edgePropertyChanged(Edge element, Property oldValue, Object setValue)
MutationListenerEdge changed.edgePropertyChanged in interface MutationListenerelement - the Edge that changedsetValue - the new value of the propertypublic void vertexPropertyPropertyChanged(VertexProperty element, Property oldValue, Object setValue)
MutationListenerVertexProperty changed.vertexPropertyPropertyChanged in interface MutationListenerelement - the VertexProperty that changedsetValue - the new value of the propertypublic void vertexPropertyPropertyRemoved(VertexProperty element, Property oldValue)
MutationListenerProperty property was removed from a VertexProperty.vertexPropertyPropertyRemoved in interface MutationListeneroldValue - the Property that removedpublic void vertexPropertyChanged(Vertex element, Property oldValue, Object setValue, Object... vertexPropertyKeyValues)
MutationListenerVertex changed.vertexPropertyChanged in interface MutationListenerpublic void vertexPropertyChanged(Vertex element, VertexProperty oldValue, Object setValue, Object... vertexPropertyKeyValues)
MutationListenerVertex changed.vertexPropertyChanged in interface MutationListenerelement - the Vertex that changedsetValue - the new value of the propertyCopyright © 2013–2017 Apache Software Foundation. All rights reserved.