org.cruxframework.crux.core.client.screen.views
Class ChangeViewEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<ChangeViewHandler>
org.cruxframework.crux.core.client.screen.views.ChangeViewEvent
public class ChangeViewEvent
- extends com.google.gwt.event.shared.GwtEvent<ChangeViewHandler>
- Author:
- Thiago da Rosa de Bustamante
| 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 |
| Methods inherited from class com.google.web.bindery.event.shared.Event |
setSource, toDebugString, toString |
ChangeViewEvent
public ChangeViewEvent(View previous,
View next)
- Parameters:
next - previous -
getType
public static com.google.gwt.event.shared.GwtEvent.Type<ChangeViewHandler> getType()
- Returns:
dispatch
protected void dispatch(ChangeViewHandler handler)
- Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<ChangeViewHandler>
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<ChangeViewHandler> getAssociatedType()
- Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ChangeViewHandler>
getPreviousView
public View getPreviousView()
getNextView
public View getNextView()
fire
public static <T> void fire(HasChangeViewHandlers source,
View previous,
View next)
Copyright © 2014. All rights reserved.