Package org.graffiti.event
Class EdgeEvent
java.lang.Object
java.util.EventObject
org.graffiti.event.AbstractEvent
org.graffiti.event.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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.graffiti.event.AbstractEvent
AbstractEvent.EVENTTYPE
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Attributable
getAttributeable()
Edge
getEdge()
Returns the originator of the event.Methods inherited from class org.graffiti.event.AbstractEvent
getEventType, setEventType
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
EdgeEvent
Constructs an edge event object with the specified source component.- Parameters:
edge
- the edge that originated the event.
-
-
Method Details
-
getEdge
Returns the originator of the event.- Returns:
- the edge that has been changed by this event.
-
getAttributeable
-