javax.help
public static class CSH.DisplayHelpFromSource extends java.lang.Object implements java.awt.event.ActionListener
HelpBroker.enableHelp
Constructor and Description |
---|
CSH.DisplayHelpFromSource(HelpBroker hb) |
CSH.DisplayHelpFromSource(HelpSet hs,
java.lang.String presentation,
java.lang.String presentationName)
Create a DisplayHelpFromSource actionListener for a given
HelpSet.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
public CSH.DisplayHelpFromSource(HelpBroker hb)
public CSH.DisplayHelpFromSource(HelpSet hs, java.lang.String presentation, java.lang.String presentationName)
hs
- A valid HelpSet.presention
- A valid javax.help.Presentation class. Throws
an IllegalArgumentException if the presentation class cannot
instantiated.name
- The name of the presentation. This will retrieve the
presentation details from the HelpSet hs if one exists. For
some Presentation this name will also indicate the "named"
Presentation to display the information in.java.lang.NullPointerException
- if hs is Null.java.lang.IllegalArgumentException
- if presentation is not valid.