public abstract static class HtmlBrowser.URLDisplayer extends Object
Modifier | Constructor and Description |
---|---|
protected |
URLDisplayer()
Subclass constructor.
|
Modifier and Type | Method and Description |
---|---|
static HtmlBrowser.URLDisplayer |
getDefault()
Get the default URL displayer.
|
abstract void |
showURL(URL u)
API clients usage: Call this method to display your URL in some browser.
|
void |
showURLExternal(URL u)
Attempts to display given URL in preferred external browser.
|
public static HtmlBrowser.URLDisplayer getDefault()
public abstract void showURL(URL u)
SPI clients usage: Implement this method to display given URL to the user.
u
- the URL to showpublic void showURLExternal(URL u)
u
- the URL to show