org.cruxframework.crux.core.client.screen.views
Class ChangeViewEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<ChangeViewHandler>
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Constructor Summary
ChangeViewEvent(View previous, View next)
           
 
Method Summary
protected  void dispatch(ChangeViewHandler handler)
           
static
<T> void
fire(HasChangeViewHandlers source, View previous, View next)
           
 com.google.gwt.event.shared.GwtEvent.Type<ChangeViewHandler> getAssociatedType()
           
 View getNextView()
           
 View getPreviousView()
           
static com.google.gwt.event.shared.GwtEvent.Type<ChangeViewHandler> getType()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeViewEvent

public ChangeViewEvent(View previous,
                       View next)
Parameters:
next -
previous -
Method Detail

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.