org.kuali.student.common.ui.client.event
Class ActionEvent<H extends ApplicationEventHandler>

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<H>
          extended by org.kuali.student.common.ui.client.mvc.ApplicationEvent<H>
              extended by org.kuali.student.common.ui.client.event.ActionEvent<H>
Direct Known Subclasses:
ModifyActionEvent, SaveActionEvent

public abstract class ActionEvent<H extends ApplicationEventHandler>
extends ApplicationEvent<H>

This is an abstract action event, which provides for getting/setting of an ActionCompleteCallback for any custom defined actions. ActionEvents are used to perform some action and have a action complete call back to be invoked when the action is completed so additional steps can be take when action has completed. The standard way of doing this is as follows: 1. Create an specific action event (eg. SaveActionEvent) 2. Register an ActionEventHandler (eg. SaveActionEventHandler) to perform some action (eg. save data) 3. Fire the action event with an ActionCompleteCall back to do some additional processing (eg. close save dialog or notify user)

Author:
Kuali Student Team

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Field Summary
private  ActionCompleteCallback actionCompleteCallback
           
 
Constructor Summary
ActionEvent()
           
 
Method Summary
 void doActionComplete()
           
 ActionCompleteCallback getActionCompleteCallback()
           
 void setActionCompleteCallback(ActionCompleteCallback actionCompleteCallback)
           
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, dispatch, getAssociatedType, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

actionCompleteCallback

private ActionCompleteCallback actionCompleteCallback
Constructor Detail

ActionEvent

public ActionEvent()
Method Detail

getActionCompleteCallback

public ActionCompleteCallback getActionCompleteCallback()

setActionCompleteCallback

public void setActionCompleteCallback(ActionCompleteCallback actionCompleteCallback)

doActionComplete

public void doActionComplete()


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.