Class EdgeEvent

All Implemented Interfaces:
Serializable

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.
Version:
$Revision: 1.6 $
See Also:
EdgeListener, AbstractEdgeListener, Serialized Form
  • Constructor Details

    • EdgeEvent

      public EdgeEvent​(Edge edge)
      Constructs an edge event object with the specified source component.
      Parameters:
      edge - the edge that originated the event.
  • Method Details

    • getEdge

      public Edge getEdge()
      Returns the originator of the event.
      Returns:
      the edge that has been changed by this event.
    • getAttributeable

      public Attributable getAttributeable()