Class EdgeEvent

  extended by java.util.EventObject
      extended by org.graffiti.event.AbstractEvent
          extended by org.graffiti.event.EdgeEvent
All Implemented Interfaces:

public class EdgeEvent
extends AbstractEvent

Contains an edge event. An EdgeEvent object is passed to every EdgeListener or AbstractEdgeListener object which is registered to receive the "interesting" edge events using the component's addEdgeListener method. (AbstractEdgeListener objects implement the EdgeListener interface.) Each such listener object gets an EdgeEvent containing the edge event.

$Revision: 5767 $
See Also:
EdgeListener, AbstractEdgeListener, Serialized Form

Constructor Summary
EdgeEvent(Edge edge)
          Constructs an edge event object with the specified source component.
Method Summary
 Edge getEdge()
          Returns the originator of the event.
Methods inherited from class java.util.EventObject
getSource, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public EdgeEvent(Edge edge)
Constructs an edge event object with the specified source component.

edge - the edge that originated the event.
Method Detail


public Edge getEdge()
Returns the originator of the event.

the edge that has been changed by this event.

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