Class RefreshEvent

java.lang.Object
java.util.EventObject
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: