javax.help

Class CSH.DisplayHelpFromSource

Enclosing Class:
CSH
Implemented Interfaces:
ActionListener

public static class CSH.DisplayHelpFromSource
extends java.lang.Object
implements ActionListener

An ActionListener that gets the helpID for the action source and displays the helpID in the help viewer.
See Also:
HelpBroker.enableHelp

Constructor Summary

DisplayHelpFromSource(HelpBroker hb)
DisplayHelpFromSource(HelpSet hs, String presentation, String presentationName)
Create a DisplayHelpFromSource actionListener for a given HelpSet.

Method Summary

void
actionPerformed(ActionEvent e)

Constructor Details

DisplayHelpFromSource

public DisplayHelpFromSource(HelpBroker hb)

DisplayHelpFromSource

public DisplayHelpFromSource(HelpSet hs,
                             String presentation,
                             String presentationName)
Create a DisplayHelpFromSource actionListener for a given HelpSet. Display the results in specific Presentation of given PresentationName.
Parameters:
hs - A valid HelpSet.

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)