Package wt.clients.util
Class RefreshEvent
java.lang.Object
java.util.EventObject
wt.clients.util.RefreshEvent
- All Implemented Interfaces:
Serializable
Class
RefreshEvent is an event class used
by clients for capturing object creation, modification, and
deletion events. This class maintains the type of action that has
occurred, the object on which the action occurred, and the object
which generated the event. This utility class is used in conjunction
with RefreshListener and RefreshService.
A RefreshEvent is broadcast by the
RefreshService to objects registered as
RefreshListeners:
obj = (Object) MyTaskLogic.updateObject( obj );
RefreshEvent evt = new RefreshEvent( this, RefreshEvent.UPDATE, obj );
RefreshService.getRefreshService().dispatchRefresh( evt );
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString