org.cytoscape.util.swing
Interface OpenBrowser
public interface OpenBrowser
A utility provided as an OSGi service for opening
a web browser. The Cytoscape property "defaultWebBrowser"
may be set with an alternative command for opening
a different web browser than default.
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
Method Summary |
boolean |
openURL(String url)
Opens a web browser pointing to the specified URL. |
DEF_WEB_BROWSER_PROP_NAME
static final String DEF_WEB_BROWSER_PROP_NAME
- The name of a property for a Properties object used to define an alternative
web browser command.
- See Also:
- Constant Field Values
openURL
boolean openURL(String url)
- Opens a web browser pointing to the specified URL.
- Parameters:
url
- A string URL that should be opened in the web browser.
- Returns:
- Whether the browser opened successfully or not.
Copyright 2011 Cytoscape Consortium. All rights reserved.