public abstract static class HtmlBrowser.URLDisplayer extends Object
Modifier | Constructor | Description |
---|---|---|
protected |
URLDisplayer() |
Subclass constructor.
|
Modifier and Type | Method | 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 showBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.