public static class CSH.DisplayHelpFromFocus
extends java.lang.Object
implements java.awt.event.ActionListener
HelpBroker.enableHelpKey
Constructor and Description |
---|
CSH.DisplayHelpFromFocus(HelpBroker hb) |
CSH.DisplayHelpFromFocus(HelpSet hs,
java.lang.String presentation,
java.lang.String presentationName)
Create a DisplayHelpFromFocus actionListener for a given
HelpSet.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
public CSH.DisplayHelpFromFocus(HelpBroker hb)
public CSH.DisplayHelpFromFocus(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.