public class OpenWebsiteAction extends ExtendedAbstractAction
Constructor and Description |
---|
OpenWebsiteAction(java.lang.String url)
Creates a new instance of this class.
|
OpenWebsiteAction(java.lang.String url,
java.lang.String pathPrefix)
Creates a new instance of this class.
|
OpenWebsiteAction(java.net.URI url)
Creates a new instance of this class.
|
OpenWebsiteAction(java.net.URI url,
java.lang.String pathPrefix)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected static java.net.URI |
createURI(java.lang.String uri) |
java.net.URI |
getURL() |
getPathPrefix, loadSymbols
public OpenWebsiteAction(java.lang.String url, java.lang.String pathPrefix)
url
- the URL to be openedpathPrefix
- the prefix of the resource path to load icons frompublic OpenWebsiteAction(java.lang.String url)
url
- the URL to be openedpublic OpenWebsiteAction(java.net.URI url, java.lang.String pathPrefix)
url
- the URL to be openedpathPrefix
- the prefix of the resource path to load icons frompublic OpenWebsiteAction(java.net.URI url)
url
- the URL to be openedprotected static java.net.URI createURI(java.lang.String uri)
public java.net.URI getURL()
public void actionPerformed(java.awt.event.ActionEvent e)