org.kuali.student.common.ui.client.mvc.events
Class ViewChangeEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<H>
org.kuali.student.common.ui.client.mvc.ApplicationEvent<ViewChangeHandler>
org.kuali.student.common.ui.client.mvc.events.ViewChangeEvent
public class ViewChangeEvent
- extends ApplicationEvent<ViewChangeHandler>
"Checked" event that is fired by the controller when the view is changed
- 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<ViewChangeHandler> TYPE
previousView
private final View previousView
newView
private final View newView
ViewChangeEvent
public ViewChangeEvent(View previousView,
View newView)
- This constructs a new ViewChangeEvent
- Parameters:
previousView
- the previously displayed View, or null if this is the first view changenewView
- the new View to be displayed
getPreviousView
public View getPreviousView()
- Returns the previously displayed view, or null if this is the first view change
- Returns:
getNewView
public View getNewView()
- Returns the new View to be displayed
- Returns:
dispatch
protected void dispatch(ViewChangeHandler handler)
- Specified by:
dispatch
in class com.google.gwt.event.shared.GwtEvent<ViewChangeHandler>
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<ViewChangeHandler> getAssociatedType()
- Specified by:
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<ViewChangeHandler>
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.