com.sas.swing.visuals.wizard2
Class BackAction

com.sas.swing.visuals.wizard2.BackAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class BackAction

BackAction handles a Wizard's back events.

An Action object can be added to the ButtonNavigationPanel using the following version of the ButtonNavigationPanel's add method: public void addButton(Action a, Object constraint)

Two key/value object properties have been defined for this class:

        Action.NAME = "< Back"
        ButtonNavigationPanel.ACTION_COMMAND = ButtonNavigationPanel.BACK_COMMAND  
 

See Also:
HelpAction, Next_FinishAction, FinishAction, CancelAction, Serialized Form

Field Summary
protected  Wizard wizard
          The Wizard object associated with this Action.
 
Constructor Summary
BackAction(Wizard wizard)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Invoked when an action occurs.
 

Field Detail

wizard

protected Wizard wizard
The Wizard object associated with this Action.

Constructor Detail

BackAction

public BackAction(Wizard wizard)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs.

Calls the wizard method handleButtonCommand passing the ActionEvent's action command.




Copyright © 2009 SAS Institute Inc. All Rights Reserved.