Package org.openstreetmap.josm.gui.help
Interface IHelpBrowser
-
- All Known Implementing Classes:
HelpBrowser
interface IHelpBrowser
Help browser super interface.- Since:
- 9644
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HelpBrowserHistory
getHistory()
Replies the browser history.java.lang.String
getUrl()
Replies the current URL.void
openHelpTopic(java.lang.String relativeHelpTopic)
Loads and displays the help information for a help topic given by a relative help topic name, i.e.void
openUrl(java.lang.String url)
Opens an URL and displays the content.void
setUrl(java.lang.String url)
Sets the current URL.
-
-
-
Method Detail
-
getUrl
java.lang.String getUrl()
Replies the current URL.- Returns:
- the current URL
-
setUrl
void setUrl(java.lang.String url)
Sets the current URL.- Parameters:
url
- the current URL- Since:
- 14807
-
getHistory
HelpBrowserHistory getHistory()
Replies the browser history.- Returns:
- the browser history
-
openHelpTopic
void openHelpTopic(java.lang.String relativeHelpTopic)
Loads and displays the help information for a help topic given by a relative help topic name, i.e. "/Action/New".- Parameters:
relativeHelpTopic
- the relative help topic
-
openUrl
void openUrl(java.lang.String url)
Opens an URL and displays the content. If the URL is the locator of an absolute help topic, help content is loaded from the JOSM wiki. Otherwise, the help browser loads the page from the given URL.- Parameters:
url
- the url
-
-