org.kuali.student.common.ui.client.event
Class SaveActionEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<H>
org.kuali.student.common.ui.client.mvc.ApplicationEvent<H>
org.kuali.student.common.ui.client.event.ActionEvent<SaveActionHandler>
org.kuali.student.common.ui.client.event.SaveActionEvent
- All Implemented Interfaces:
- HasActionState
public class SaveActionEvent
- extends ActionEvent<SaveActionHandler>
- implements HasActionState
A save event with user defined save types. This allows a single widget to handle
different types of save events without having to create new events and handlers.
- 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, getSource, isLive, kill, revive, toDebugString, toString |
TYPE
public static final com.google.gwt.event.shared.GwtEvent.Type<SaveActionHandler> TYPE
actionState
private HasActionState.ActionState actionState
message
private String message
acknowledgeRequired
private boolean acknowledgeRequired
gotoNextView
private boolean gotoNextView
saveSuccessful
private boolean saveSuccessful
SaveActionEvent
public SaveActionEvent()
SaveActionEvent
public SaveActionEvent(boolean gotoNextView)
SaveActionEvent
public SaveActionEvent(String message)
dispatch
protected void dispatch(SaveActionHandler handler)
- Specified by:
dispatch
in class com.google.gwt.event.shared.GwtEvent<SaveActionHandler>
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<SaveActionHandler> getAssociatedType()
- Specified by:
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<SaveActionHandler>
setActionState
public void setActionState(HasActionState.ActionState state)
getActionState
public HasActionState.ActionState getActionState()
- Specified by:
getActionState
in interface HasActionState
- See Also:
HasActionState.getActionState()
getMessage
public String getMessage()
isAcknowledgeRequired
public boolean isAcknowledgeRequired()
setAcknowledgeRequired
public void setAcknowledgeRequired(boolean acknowledgeRequired)
gotoNextView
public boolean gotoNextView()
setGotoNextView
public void setGotoNextView(boolean gotoNextView)
setSaveSuccessful
public void setSaveSuccessful(boolean saveSuccessful)
isSaveSuccessful
public boolean isSaveSuccessful()
Copyright © 2010 The Kuali Foundation. All rights reserved.