public class JsonPageManager extends Object implements PageManager, Authentication.LoginListener
Constructor and Description |
---|
JsonPageManager() |
Modifier and Type | Method and Description |
---|---|
void |
addContent(String elementId,
JsonComponent content) |
void |
clearContent(JsonSwitch jsonSwitch) |
void |
closeDialog(JsonDialog dialog) |
JsonOutput |
handle(JsonInput input) |
String |
handle(String inputString) |
void |
hideDetail(Page page) |
boolean |
isDetailShown(Page page) |
void |
loginCancelled() |
void |
loginSucceded(Subject subject) |
void |
openDialog(JsonDialog jsonDialog) |
void |
register(Object o) |
void |
show(Page page) |
void |
showDetail(Page mainPage,
Page detail) |
IDialog |
showDialog(String title,
Frontend.IContent content,
Action saveAction,
Action closeAction,
Action... actions) |
void |
showError(String text) |
void |
showMessage(String text) |
void |
unregister(Object o) |
public void loginSucceded(Subject subject)
loginSucceded
in interface Authentication.LoginListener
public void loginCancelled()
loginCancelled
in interface Authentication.LoginListener
public JsonOutput handle(JsonInput input)
public void show(Page page)
show
in interface PageManager
public void showDetail(Page mainPage, Page detail)
showDetail
in interface PageManager
public void hideDetail(Page page)
hideDetail
in interface PageManager
public boolean isDetailShown(Page page)
isDetailShown
in interface PageManager
public IDialog showDialog(String title, Frontend.IContent content, Action saveAction, Action closeAction, Action... actions)
showDialog
in interface PageManager
public void showMessage(String text)
showMessage
in interface PageManager
public void showError(String text)
showError
in interface PageManager
public void register(Object o)
public void unregister(Object o)
public void openDialog(JsonDialog jsonDialog)
public void closeDialog(JsonDialog dialog)
public void clearContent(JsonSwitch jsonSwitch)
public void addContent(String elementId, JsonComponent content)
Copyright © 2019. All rights reserved.