wt.clients.util
Class RefreshEvent

java.lang.Object
  extended by java.util.EventObject
      extended by wt.clients.util.RefreshEvent
All Implemented Interfaces:
Serializable

public class RefreshEvent
extends EventObject

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 );
  

See Also:
RefreshListener,

Supported API: true

Extendable: false
, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait