org.graffiti.event
Interface EdgeListener

All Superinterfaces:
EventListener, TransactionListener
All Known Subinterfaces:
InteractiveView<T>, ValueEditComponent, View, View2D
All Known Implementing Classes:
AbstractDialogableEditComponent, AbstractEdgeListener, AbstractValueEditComponent, AbstractView, ComboBoxEditComponent, EdgeEditComponent, GraphComponentEditComponent, GraphConstraintChecker, NodeEditComponent, NumberEditComponent, SelectionEditComponent, SingleGraphElementEditComponent, SpinnerEditComponent, StandardValueEditComponent, ValueEditComponentAdapter

public interface EdgeListener
extends TransactionListener

Interface that contains methods which are called when an edge is changed.

Version:
$Revision: 5767 $

Method Summary
 void postDirectedChanged(EdgeEvent e)
          Called after the edge was set directed or undirected.
 void postEdgeReversed(EdgeEvent e)
          Called after the edge has been reversed.
 void postSourceNodeChanged(EdgeEvent e)
          Called after the source node of an edge has changed.
 void postTargetNodeChanged(EdgeEvent e)
          Called after the target node of an edge has changed.
 void preDirectedChanged(EdgeEvent e)
          Called before the edge is set directed or undirected.
 void preEdgeReversed(EdgeEvent e)
          Called before the edge is going to be reversed.
 void preSourceNodeChanged(EdgeEvent e)
          Called before a change of the source node of an edge takes place.
 void preTargetNodeChanged(EdgeEvent e)
          Called before a change of the target node of an edge takes place.
 
Methods inherited from interface org.graffiti.event.TransactionListener
transactionFinished, transactionStarted
 

Method Detail

postDirectedChanged

void postDirectedChanged(EdgeEvent e)
Called after the edge was set directed or undirected.

Parameters:
e - the EdgeEvent detailing the changes.

postEdgeReversed

void postEdgeReversed(EdgeEvent e)
Called after the edge has been reversed.

Parameters:
e - the EdgeEvent detailing the changes.

postSourceNodeChanged

void postSourceNodeChanged(EdgeEvent e)
Called after the source node of an edge has changed.

Parameters:
e - the EdgeEvent detailing the changes.

postTargetNodeChanged

void postTargetNodeChanged(EdgeEvent e)
Called after the target node of an edge has changed.

Parameters:
e - the EdgeEvent detailing the changes.

preDirectedChanged

void preDirectedChanged(EdgeEvent e)
Called before the edge is set directed or undirected.

Parameters:
e - the EdgeEvent detailing the changes.

preEdgeReversed

void preEdgeReversed(EdgeEvent e)
Called before the edge is going to be reversed.

Parameters:
e - the EdgeEvent detailing the changes.

preSourceNodeChanged

void preSourceNodeChanged(EdgeEvent e)
Called before a change of the source node of an edge takes place.

Parameters:
e - the EdgeEvent detailing the changes.

preTargetNodeChanged

void preTargetNodeChanged(EdgeEvent e)
Called before a change of the target node of an edge takes place.

Parameters:
e - the EdgeEvent detailing the changes.


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