org.bushe.swing.event
Class AbstractEventServiceEvent

java.lang.Object
  extended by org.bushe.swing.event.AbstractEventServiceEvent
All Implemented Interfaces:
EventServiceEvent
Direct Known Subclasses:
ObjectEvent, SubscriberTimingEvent

public abstract class AbstractEventServiceEvent
extends java.lang.Object
implements EventServiceEvent

Convenience base class for EventServiceEvents in the application. Provides the small convenience of holding the event source publication. It is not necessary to use this event class when using an EventService.

Author:
Michael Bushe michael@bushe.com

Constructor Summary
AbstractEventServiceEvent(java.lang.Object source)
          Default contructor
 
Method Summary
 java.lang.Object getSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEventServiceEvent

public AbstractEventServiceEvent(java.lang.Object source)
Default contructor

Parameters:
source - the source of the event
Method Detail

getSource

public java.lang.Object getSource()
Specified by:
getSource in interface EventServiceEvent
Returns:
the source of this event