org.pietschy.wizard
Class WizardFrameCloser

java.lang.Object
  extended byorg.pietschy.wizard.WizardFrameCloser
All Implemented Interfaces:
java.util.EventListener, WizardListener

public class WizardFrameCloser
extends java.lang.Object
implements WizardListener

This class implements WizardListener and is used to hide and dispose frames when a wizard has been completed or canceled.


Method Summary
static void bind(Wizard wizard, java.awt.Window window)
          Creates a new closer that monitors the specified wizard and closes the parent frame.
 void closeWindow()
           
 void wizardCancelled(WizardEvent e)
          Called when the user cancels the wizard.
 void wizardClosed(WizardEvent e)
          Called when the user closes the wizard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bind

public static void bind(Wizard wizard,
                        java.awt.Window window)
Creates a new closer that monitors the specified wizard and closes the parent frame.

Parameters:
wizard -
window -

wizardClosed

public void wizardClosed(WizardEvent e)
Description copied from interface: WizardListener
Called when the user closes the wizard.

Specified by:
wizardClosed in interface WizardListener
Parameters:
e - the wizard event.

wizardCancelled

public void wizardCancelled(WizardEvent e)
Description copied from interface: WizardListener
Called when the user cancels the wizard.

Specified by:
wizardCancelled in interface WizardListener
Parameters:
e - the wizard event.

closeWindow

public void closeWindow()


Copyright © 2004 Andrew Pietsch.