org.kuali.student.common.ui.client.event
Class ActionEvent<H extends ApplicationEventHandler>
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<H>
org.kuali.student.common.ui.client.mvc.ApplicationEvent<H>
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 classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
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 |
actionCompleteCallback
private ActionCompleteCallback actionCompleteCallback
ActionEvent
public ActionEvent()
getActionCompleteCallback
public ActionCompleteCallback getActionCompleteCallback()
setActionCompleteCallback
public void setActionCompleteCallback(ActionCompleteCallback actionCompleteCallback)
doActionComplete
public void doActionComplete()
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.