P
- The type of the target page ("to page")public final class TransitionTo<P extends com.google.gwt.user.client.ui.IsWidget> extends Object
PageNode
s are the
nodes and PageTransitions are the edges.
Instances of this class are normally obtained via dependency injection.
Instances of this class are immutable.
Modifier and Type | Method and Description |
---|---|
void |
go()
Transitions the application's view from the current page (whatever it is)
to the
toPage of this transition, passing no extra state
information. |
void |
go(com.google.common.collect.Multimap<String,String> state)
Transitions the application's view from the current page (whatever it is)
to the
toPage of this transition, passing the given extra state
information. |
Class<P> |
toPageType()
The page this transition goes to.
|
public void go()
toPage
of this transition, passing no extra state
information.
Note: if the Navigation framework is being used together with ErraiIOC in asynchronous mode, the page transition may not have happened by the time this method returns.
public void go(com.google.common.collect.Multimap<String,String> state)
toPage
of this transition, passing the given extra state
information.
Note: if the Navigation framework is being used together with ErraiIOC in asynchronous mode, the page transition may not have happened by the time this method returns.
state
- Extra state information that should be passed to the page before
it is displayed. Must not be null.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.