P
- The type of the target page ("to page")public final class TransitionAnchorFactory<P extends com.google.gwt.user.client.ui.IsWidget> extends Object
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
.Modifier and Type | Method and Description |
---|---|
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.
|
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
- Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.