org.pietschy.wizard
Interface HelpBroker


public interface HelpBroker

An interface for handling wizard help requests. If this interface is implemented by a WizardModel, the help button will be automatically displayed and help request fowwareded the model. Otherwise, you'll need to call Wizard.setHelpBroker(HelpBroker) explicitly with an instance of this interface.

Version:
$Revision: 1.3 $
Author:
andrewp

Method Summary
 void activateHelp(javax.swing.JComponent parent, WizardModel model)
          Activated when the user presses help.
 

Method Detail

activateHelp

public void activateHelp(javax.swing.JComponent parent,
                         WizardModel model)
Activated when the user presses help. Implementors will typically query the model to determine the current step and display the appropriate information.

Parameters:
parent - the component that is requesting the help. This is typically the Wizard itself.
model - the wizard model.


Copyright © 2004 Andrew Pietsch.