org.netbeans.api.wizard
Interface WizardResultReceiver


public interface WizardResultReceiver

Object which is called when the wizard is completed or cancelled. Only useful if you want to call WizardDisplayer.installInContainer() to install a wizard in a custom container (such as a JInternalDialog) - this class is a callback to notify the caller that the Finish or Cancel button has been pressed.

Author:
Tim Boudreau

Method Summary
Modifier and Type Method and Description
 void cancelled(java.util.Map settings)
          Called when the wizard has been cancelled.
 void finished(java.lang.Object wizardResult)
          Called when the wizard has been completed, providing whatever object the wizard created as its result.
 

Method Detail

finished

void finished(java.lang.Object wizardResult)
Called when the wizard has been completed, providing whatever object the wizard created as its result.

Parameters:
wizardResult - The object created by Wizard.finish()

cancelled

void cancelled(java.util.Map settings)
Called when the wizard has been cancelled.

Parameters:
settings - The settings that were gathered thus far in the wizard