public class PanelManager extends DelegatingUserAgent
getBack(), getForward() and hasForward() methods to navigate within the history.
As a NaiveUserAgent, the PanelManager is also a DocumentListener, but must be added to the source of document
events (like a RootPanel subclass).| Constructor and Description |
|---|
PanelManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBack()
Returns the "previous" URI in the history of visiting URIs.
|
String |
getForward()
Returns the "next" URI in the history of visiting URIs.
|
XMLResource |
getXMLResource(String uri) |
boolean |
hasBack()
Returns true if there are visited URIs in history "before" the pointer the current URI.
|
boolean |
hasForward()
Returns true if there are visited URIs in history "after" the pointer the current URI.
|
boolean |
isVisited(String uri)
Returns true if the link has been visited by the user in this session.
|
String |
resolveURI(String uri)
.
|
void |
setBaseURL(String url) |
clearImageCache, documentLoaded, documentStarted, getBaseURL, getBinaryResource, getCSSResource, getImageResource, onLayoutException, onRenderException, resolveAndOpenStream, setImageResourceLoader, setRepaintListener, shrinkImageCachepublic String resolveURI(String uri)
resolveURI in interface UserAgentCallbackresolveURI in class DelegatingUserAgentpublic XMLResource getXMLResource(String uri)
getXMLResource in interface UserAgentCallbackgetXMLResource in class DelegatingUserAgentpublic boolean isVisited(String uri)
isVisited in interface UserAgentCallbackisVisited in class DelegatingUserAgentpublic void setBaseURL(String url)
setBaseURL in interface UserAgentCallbacksetBaseURL in class DelegatingUserAgentpublic String getForward()
public String getBack()
public boolean hasForward()
public boolean hasBack()
Copyright © 2023. All rights reserved.