Package javax.help
Class CSH.DisplayHelpFromSource
java.lang.Object
javax.help.CSH.DisplayHelpFromSource
- All Implemented Interfaces:
ActionListener
,EventListener
- Enclosing class:
CSH
An ActionListener that
gets the helpID for the action source and displays the helpID in the
help viewer.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDisplayHelpFromSource
(HelpSet hs, String presentation, String presentationName) Create a DisplayHelpFromSource actionListener for a given HelpSet. -
Method Summary
-
Constructor Details
-
DisplayHelpFromSource
-
DisplayHelpFromSource
Create a DisplayHelpFromSource actionListener for a given HelpSet. Display the results in specific Presentation of given PresentationName.- Parameters:
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.- Throws:
NullPointerException
- if hs is Null.IllegalArgumentException
- if presentation is not valid.
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-