public final class UIGoto extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PAGE_ACTION |
static String |
SINGLESHOT_MESSAGE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addAction(IGotoAction action)
Add a "goto action" to be executed on the page we will go-to.
|
static void |
addActionMessage(MsgType type,
String message)
Add a message as a
IGotoAction action. |
static void |
addActionMessage(UIMessage message)
Add a message as a
IGotoAction action. |
static void |
back()
Move to the previously-shelved page.
|
static void |
clearPageAndReload(Page pg,
String msg)
Deprecated.
|
static void |
clearPageAndReload(Page pg,
String msg,
IPageParameters pp)
Deprecated.
|
static void |
clearPageAndReload(Page pg,
UIMessage msg)
Deprecated.
|
static void |
clearPageAndReload(Page pg,
UIMessage msg,
IPageParameters pp)
Deprecated.
|
static void |
moveNew(Class<? extends UrlPage> clz)
Clear the entire shelve, then goto a new page.
|
static void |
moveNew(Class<? extends UrlPage> clz,
IPageParameters pp)
Clear the entire shelf, then goto a new page.
|
static void |
moveNew(Class<? extends UrlPage> clz,
Object... param)
Clear the entire shelf, then goto a new page.
|
static void |
moveSub(Class<? extends UrlPage> clz)
Push (shelve) the current page, then move to a new page.
|
static void |
moveSub(Class<? extends UrlPage> clz,
ConversationContext cc,
IPageParameters pp)
Push (shelve) the current page, then move to a new page.
|
static void |
moveSub(Class<? extends UrlPage> clz,
IPageParameters pp)
Push (shelve) the current page, then move to a new page.
|
static void |
moveSub(Class<? extends UrlPage> clz,
Object... param)
Push (shelve) the current page, then move to a new page.
|
static void |
redirect(String targeturl) |
static void |
reload()
Destroy the current page and reload the exact same page with the same parameters as a
new one.
|
static void |
reload(Object... parameters) |
static void |
reload(PageParameters pp)
Destroy the current page, and reload a fresh copy with fresh new parameters.
|
static void |
replace(Class<? extends UrlPage> clz)
Replace the "current" page with a new page.
|
static void |
replace(Class<? extends UrlPage> clz,
IPageParameters pp)
Replace the "current" page with a new page.
|
static void |
replace(Page pg,
Class<? extends UrlPage> clz,
IPageParameters pp,
UIMessage msg)
Replace the "current" page with a new page.
|
@Deprecated public static final String SINGLESHOT_MESSAGE
public static final String PAGE_ACTION
public static void reload()
public static void reload(@Nonnull PageParameters pp)
pp - public static void addAction(@Nonnull IGotoAction action)
action - public static void addActionMessage(@Nonnull UIMessage message)
IGotoAction action. It will be shown as a MessageFlare.message - public static void addActionMessage(@Nonnull MsgType type, @Nonnull String message)
IGotoAction action. It will be shown as a MessageFlare.type - message - public static void moveSub(Class<? extends UrlPage> clz)
clz - public static void moveSub(Class<? extends UrlPage> clz, IPageParameters pp)
clz - pp - public static void moveSub(Class<? extends UrlPage> clz, Object... param)
clz - param - A list of parameters, in PageParameters.addParameters(Object...) format.public static void moveSub(Class<? extends UrlPage> clz, ConversationContext cc, IPageParameters pp)
clz - cc - pp - public static void moveNew(Class<? extends UrlPage> clz, IPageParameters pp)
clz - pp - public static void moveNew(Class<? extends UrlPage> clz, Object... param)
clz - param - A list of parameters, in PageParameters.addParameters(Object...) format.public static void moveNew(Class<? extends UrlPage> clz)
clz - public static void replace(Class<? extends UrlPage> clz)
clz - public static void replace(Class<? extends UrlPage> clz, IPageParameters pp)
clz - pp - public static final void replace(Page pg, Class<? extends UrlPage> clz, IPageParameters pp, UIMessage msg)
pg - clz - pp - msg - public static void redirect(String targeturl)
public static void back()
@Deprecated public static final void clearPageAndReload(Page pg, String msg)
reload() or one of it's variants instead.
Destroy the current page and replace it with the new page specified. On the new page show the specified
message as an ERROR message.pg - msg - @Deprecated public static final void clearPageAndReload(Page pg, String msg, IPageParameters pp)
reload() or one of it's variants instead.
Destroy the current page and replace it with the new page specified with provided page parameters. On the new page show the specified
message as an ERROR message.pg - msg - pp - @Deprecated public static final void clearPageAndReload(Page pg, UIMessage msg)
reload() or one of it's variants instead.
Destroy the current page and replace it with the new page specified. On the new page show the specified
message.pg - msg - @Deprecated public static final void clearPageAndReload(Page pg, UIMessage msg, IPageParameters pp)
reload() or one of it's variants instead.
Destroy the current page and replace it with the new page specified. On the new page show the specified
message.pg - msg - pp - Copyright © 2017 etc.to. All rights reserved.