public class DelegatingHistoryManager extends Object implements com.opencloud.rem.client.place.HistoryManager, ValueChangeHandler<String>
HistoryManager
that delegates calls from a REM
plugin to REM itself.Constructor and Description |
---|
DelegatingHistoryManager() |
Modifier and Type | Method and Description |
---|---|
void |
back() |
com.opencloud.rem.client.place.HistoryToken |
currentToken() |
void |
exportJSMethods(JavaScriptObject jso) |
void |
goHome() |
boolean |
isNew() |
boolean |
isView(String view) |
void |
newHistoryItem(com.opencloud.rem.client.place.HistoryToken historyToken) |
com.opencloud.rem.client.place.HistoryToken |
newHistoryToken(int connectionId,
String instanceId) |
com.opencloud.rem.client.place.HistoryToken |
newHistoryToken(String panelName) |
com.opencloud.rem.client.place.HistoryToken |
newHistoryToken(String panelName,
String subPanel) |
com.opencloud.rem.client.place.HistoryToken |
newHistoryTokenView(String viewName) |
void |
onValueChange(ValueChangeEvent<String> event) |
void |
parseHistoryItem(String historyTokenString) |
boolean |
sameView(com.opencloud.rem.client.place.HistoryToken previousToken) |
public void onValueChange(ValueChangeEvent<String> event)
onValueChange
in interface ValueChangeHandler<String>
public void parseHistoryItem(String historyTokenString) throws IllegalArgumentException
parseHistoryItem
in interface com.opencloud.rem.client.place.HistoryManager
IllegalArgumentException
public com.opencloud.rem.client.place.HistoryToken newHistoryToken(String panelName)
newHistoryToken
in interface com.opencloud.rem.client.place.HistoryManager
public com.opencloud.rem.client.place.HistoryToken newHistoryToken(String panelName, String subPanel)
newHistoryToken
in interface com.opencloud.rem.client.place.HistoryManager
public com.opencloud.rem.client.place.HistoryToken newHistoryToken(int connectionId, String instanceId)
newHistoryToken
in interface com.opencloud.rem.client.place.HistoryManager
public void newHistoryItem(com.opencloud.rem.client.place.HistoryToken historyToken)
newHistoryItem
in interface com.opencloud.rem.client.place.HistoryManager
public com.opencloud.rem.client.place.HistoryToken newHistoryTokenView(String viewName)
newHistoryTokenView
in interface com.opencloud.rem.client.place.HistoryManager
public boolean isNew()
isNew
in interface com.opencloud.rem.client.place.HistoryManager
public boolean isView(String view)
isView
in interface com.opencloud.rem.client.place.HistoryManager
public boolean sameView(com.opencloud.rem.client.place.HistoryToken previousToken)
sameView
in interface com.opencloud.rem.client.place.HistoryManager
public com.opencloud.rem.client.place.HistoryToken currentToken()
currentToken
in interface com.opencloud.rem.client.place.HistoryManager
public void goHome()
goHome
in interface com.opencloud.rem.client.place.HistoryManager
public void back()
back
in interface com.opencloud.rem.client.place.HistoryManager
public void exportJSMethods(JavaScriptObject jso)
exportJSMethods
in interface com.opencloud.rem.client.place.HistoryManager