java.awt.event.ActionListener
, java.io.Serializable
, java.lang.Cloneable
, java.util.EventListener
, javax.swing.Action
public class BrowserHelpAction
extends javax.swing.AbstractAction
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt) |
|
static BrowserLauncher |
createBrowserLauncher(java.awt.Component parent) |
Creates and returns a new BrowserLauncher instance.
|
static javax.swing.Action |
createIdAction(java.lang.String helpId,
java.awt.Component parent) |
Returns a new action displaying help for a given help ID.
|
static javax.swing.Action |
createManual1Action(java.awt.Component parent) |
Returns a new action displaying help for the whole application as
a single-page HTML document
|
static javax.swing.Action |
createManualAction(java.awt.Component parent) |
Returns a new action displaying help for the whole application as
a multi-page HTML document
|
static java.net.URL |
getHelpUrl(java.lang.String relUrl) |
Returns an internal URL corresponding to a relative URL
(rooted at uk/ac/starlink/topcat/ in the classpath).
|
public void actionPerformed(java.awt.event.ActionEvent evt)
public static BrowserLauncher createBrowserLauncher(java.awt.Component parent)
parent
- parent component, may be used for error displaypublic static javax.swing.Action createIdAction(java.lang.String helpId, java.awt.Component parent)
helpId
- help IDparent
- parent window - may be used for positioningpublic static javax.swing.Action createManualAction(java.awt.Component parent)
parent
- parent window - may be used for positioningpublic static javax.swing.Action createManual1Action(java.awt.Component parent)
parent
- parent window - may be used for positioningpublic static java.net.URL getHelpUrl(java.lang.String relUrl)
relUrl
- relative pathCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.