JComponentPack 1.3.0

com.zfqjava.swing.event
Class WizardAdapter

java.lang.Object
  extended by com.zfqjava.swing.event.WizardAdapter
All Implemented Interfaces:
WizardListener, EventListener

public abstract class WizardAdapter
extends Object
implements WizardListener

An abstract adapter class for receiving wizard events. The methods in this class are empty. This class exists as convenience for creating listener objects, and is functionally equivalent to the WindowAdapter class in the AWT.


Constructor Summary
WizardAdapter()
           
 
Method Summary
 void afterBack(WizardEvent e)
          Sent after the previous page has shown on the wizard page.
 void afterCancel(WizardEvent e)
          Sent after the cancel action has performed.
 void afterFinish(WizardEvent e)
          Sent after the finish button hit.
 void afterHelp(WizardEvent e)
          Sent after the help button hit.
 void afterNext(WizardEvent e)
          Sent after the next page has shown on the wizard page.
 void beforeBack(WizardEvent e)
          Sent before the previous page will show on the wizard page.
 void beforeCancel(WizardEvent e)
          Sent before the cancel action will perform.
 void beforeFinish(WizardEvent e)
          Sent before the finish action will perform.
 void beforeHelp(WizardEvent e)
          Sent before the help action will perform.
 void beforeNext(WizardEvent e)
          Sent before the next page will show on the wizard page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WizardAdapter

public WizardAdapter()
Method Detail

beforeNext

public void beforeNext(WizardEvent e)
                throws ActionVetoException
Sent before the next page will show on the wizard page.

Specified by:
beforeNext in interface WizardListener
Parameters:
e - a WizardEvent encapsulating the event information
Throws:
ActionVetoException - if the current page can't change to next page.

afterNext

public void afterNext(WizardEvent e)
Sent after the next page has shown on the wizard page.

Specified by:
afterNext in interface WizardListener
Parameters:
e - a WizardEvent encapsulating the event information

beforeBack

public void beforeBack(WizardEvent e)
                throws ActionVetoException
Sent before the previous page will show on the wizard page.

Specified by:
beforeBack in interface WizardListener
Parameters:
e - a WizardEvent encapsulating the event information
Throws:
ActionVetoException - if the current page can't change to previous page

afterBack

public void afterBack(WizardEvent e)
Sent after the previous page has shown on the wizard page.

Specified by:
afterBack in interface WizardListener
Parameters:
e - a WizardEvent encapsulating the event information

beforeFinish

public void beforeFinish(WizardEvent e)
                  throws ActionVetoException
Sent before the finish action will perform.

Specified by:
beforeFinish in interface WizardListener
Parameters:
e - a WizardEvent encapsulating the event information
Throws:
ActionVetoException - if the finish action cannot perform normally.

afterFinish

public void afterFinish(WizardEvent e)
Sent after the finish button hit.

Specified by:
afterFinish in interface WizardListener
Parameters:
e - a WizardEvent encapsulating the event information

beforeCancel

public void beforeCancel(WizardEvent e)
                  throws ActionVetoException
Sent before the cancel action will perform.

Specified by:
beforeCancel in interface WizardListener
Parameters:
e - a WizardEvent encapsulating the event information
Throws:
ActionVetoException - if the cancel action cannot perform normally.

afterCancel

public void afterCancel(WizardEvent e)
Sent after the cancel action has performed.

Specified by:
afterCancel in interface WizardListener
Parameters:
e - a WizardEvent encapsulating the event information

beforeHelp

public void beforeHelp(WizardEvent e)
                throws ActionVetoException
Sent before the help action will perform.

Specified by:
beforeHelp in interface WizardListener
Parameters:
e - a WizardEvent encapsulating the event information
Throws:
ActionVetoException - if the help action cannot perform normally.

afterHelp

public void afterHelp(WizardEvent e)
Sent after the help button hit.

Specified by:
afterHelp in interface WizardListener
Parameters:
e - a WizardEvent encapsulating the event information

JComponentPack 1.3.0

Send your Feedback
JComponentPack 1.3.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.