org.bushe.swing.event
Class ObjectEvent
java.lang.Object
org.bushe.swing.event.AbstractEventServiceEvent
org.bushe.swing.event.ObjectEvent
- All Implemented Interfaces:
- EventServiceEvent, PublicationStatusTracker
public class ObjectEvent
- extends AbstractEventServiceEvent
A simple event that delivers an untyped object with a source object.
Usage: EventBus.publish(new ObjectEvent(this, objectOfInterest);
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectEvent
public ObjectEvent(Object sourceObject,
Object payload)
- Constructor
- Parameters:
sourceObject
- the source of the eventpayload
- the payload or eventObject of the event
getEventObject
public Object getEventObject()
Copyright © 2011 Bushe Enterprises, Inc.. All Rights Reserved.