Package org.graffiti.event
Class AbstractEvent
java.lang.Object
java.util.EventObject
org.graffiti.event.AbstractEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AttributeEvent
,EdgeEvent
,GraphEvent
,NodeEvent
,SelectionEvent
,TransactionEvent
public abstract class AbstractEvent extends EventObject
This class is merely meant to group all the Node-/Edge-/ etc. events. One
could imagine that common things could be added right there (for example the
timestamp of the event). Otherwise the class is empty.
- Version:
- $Revision: 1.5 $
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractEvent.EVENTTYPE
-
Constructor Summary
Constructors Constructor Description AbstractEvent(Object o)
Constructs an AbstractEvent with object o as source. -
Method Summary
Modifier and Type Method Description AbstractEvent.EVENTTYPE
getEventType()
void
setEventType(AbstractEvent.EVENTTYPE eventType)
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AbstractEvent
Constructs an AbstractEvent with object o as source.- Parameters:
o
- the object that is considered as source of the event.
-
-
Method Details
-
getEventType
-
setEventType
-