|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.errai.ui.nav.client.local.TransitionAnchorFactory<P>
P
- The type of the target page ("to page")public final class TransitionAnchorFactory<P extends com.google.gwt.user.client.ui.IsWidget>
A factory for creating TransitionAnchor
instances. This is
useful when, for example, showing a list of items that each are hyperlinked
to the same Page
but with different PageState
.
Method Summary | |
---|---|
TransitionAnchor<P> |
get()
Gets an instance of a TransitionAnchor without any additional
PageState . |
TransitionAnchor<P> |
get(com.google.common.collect.Multimap<String,String> state)
Gets an instance of a TransitionAnchor with the given PageState . |
TransitionAnchor<P> |
get(String stateKey,
String stateValue)
Gets an instance of a TransitionAnchor with the given single piece of
PageState . |
Class<P> |
toPageType()
The page this transition goes to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public TransitionAnchor<P> get()
TransitionAnchor
without any additional
PageState
.
public TransitionAnchor<P> get(com.google.common.collect.Multimap<String,String> state)
TransitionAnchor
with the given PageState
.
state
- public TransitionAnchor<P> get(String stateKey, String stateValue)
TransitionAnchor
with the given single piece of
PageState
. This is a convenience for the use-case where the target
Page
has a single piece of state, such as a UUID.
stateKey
- stateValue
- public Class<P> toPageType()
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |