org.graffiti.event
Interface NodeListener

All Superinterfaces:
EventListener, TransactionListener
All Known Implementing Classes:
AbstractNodeListener

public interface NodeListener
extends TransactionListener

Interface that contains methods which are called when a node is changed.

Version:
$Revision: 5767 $

Method Summary
 void postInEdgeAdded(NodeEvent e)
          Called just after an incoming edge has been added to the node.
 void postInEdgeRemoved(NodeEvent e)
          Called after an incoming edge has been removed from the node.
 void postOutEdgeAdded(NodeEvent e)
          Called after an outgoing edge has been added to the node.
 void postOutEdgeRemoved(NodeEvent e)
          Called after an outgoing edge has been removed from the node.
 void postUndirectedEdgeAdded(NodeEvent e)
          Called after an (undirected) edge has been added to the node.
 void postUndirectedEdgeRemoved(NodeEvent e)
          Called after an (undirected) edge has been removed from the node.
 void preInEdgeAdded(NodeEvent e)
          Called just before an incoming edge is added to the node.
 void preInEdgeRemoved(NodeEvent e)
          Called just before an incoming edge is removed from the node.
 void preOutEdgeAdded(NodeEvent e)
          Called just before an outgoing edge is added to the node.
 void preOutEdgeRemoved(NodeEvent e)
          Called just before an outgoing edge is removed from the node.
 void preUndirectedEdgeAdded(NodeEvent e)
          Called just before an (undirected) edge is added to the node.
 void preUndirectedEdgeRemoved(NodeEvent e)
          Called just before an (undirected) edge is removed from the node.
 
Methods inherited from interface org.graffiti.event.TransactionListener
transactionFinished, transactionStarted
 

Method Detail

postInEdgeAdded

void postInEdgeAdded(NodeEvent e)
Called just after an incoming edge has been added to the node. (For undirected edges postUndirectedEdgeAdded is called instead.)

Parameters:
e - The NodeEvent detailing the changes.

postInEdgeRemoved

void postInEdgeRemoved(NodeEvent e)
Called after an incoming edge has been removed from the node. (For undirected edges postUndirectedEdgeRemoved is called.)

Parameters:
e - The NodeEvent detailing the changes.

postOutEdgeAdded

void postOutEdgeAdded(NodeEvent e)
Called after an outgoing edge has been added to the node. (For undirected edges postUndirectedEdgeAdded is called instead.)

Parameters:
e - The NodeEvent detailing the changes.

postOutEdgeRemoved

void postOutEdgeRemoved(NodeEvent e)
Called after an outgoing edge has been removed from the node. (For undirected edges postUndirectedEdgeRemoved is called.)

Parameters:
e - The NodeEvent detailing the changes.

postUndirectedEdgeAdded

void postUndirectedEdgeAdded(NodeEvent e)
Called after an (undirected) edge has been added to the node. (For directed edges pre- In/Out- EdgeAdded is called.)

Parameters:
e - The NodeEvent detailing the changes.

postUndirectedEdgeRemoved

void postUndirectedEdgeRemoved(NodeEvent e)
Called after an (undirected) edge has been removed from the node. (For directed edges pre- In/Out- EdgeRemoved is called.)

Parameters:
e - The NodeEvent detailing the changes.

preInEdgeAdded

void preInEdgeAdded(NodeEvent e)
Called just before an incoming edge is added to the node. (For undirected edges preUndirectedEdgeAdded is called instead.)

Parameters:
e - The NodeEvent detailing the changes.

preInEdgeRemoved

void preInEdgeRemoved(NodeEvent e)
Called just before an incoming edge is removed from the node. (For undirected edges preUndirectedEdgeRemoved is called.)

Parameters:
e - The NodeEvent detailing the changes.

preOutEdgeAdded

void preOutEdgeAdded(NodeEvent e)
Called just before an outgoing edge is added to the node. (For undirected edges preUndirectedEdgeAdded is called instead.)

Parameters:
e - The NodeEvent detailing the changes.

preOutEdgeRemoved

void preOutEdgeRemoved(NodeEvent e)
Called just before an outgoing edge is removed from the node. (For undirected edges preUndirectedEdgeRemoved is called.)

Parameters:
e - The NodeEvent detailing the changes.

preUndirectedEdgeAdded

void preUndirectedEdgeAdded(NodeEvent e)
Called just before an (undirected) edge is added to the node. (For directed edges pre- In/Out- EdgeAdded is called.)

Parameters:
e - The NodeEvent detailing the changes.

preUndirectedEdgeRemoved

void preUndirectedEdgeRemoved(NodeEvent e)
Called just before an (undirected) edge is removed from the node. (For directed edges pre- In/Out- EdgeRemoved is called.)

Parameters:
e - The NodeEvent detailing the changes.


Generated at 2012-05-30 11:00:14 PM CEST