com.sas.swing.visuals.wizard
Class Next_FinishAction

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

public class Next_FinishAction

Next_FinishAction handles a Wizard's next and finish 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 = "Next >"
        ButtonNavigationPanel.ACTION_COMMAND = ButtonNavigationPanel.NEXT_FINISH_COMMAND   
 
The Action.NAME property is changed to "Finish" on the last page of the wizard.

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

Field Summary
protected  Wizard wizard
          The Wizard object associated with this Action.
 
Constructor Summary
Next_FinishAction(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

Next_FinishAction

public Next_FinishAction(Wizard wizard)
Method Detail

actionPerformed

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

Calls the ButtonNavigationPanel method next_finishActionPerformed passing the ActionEvent directly through.




Copyright © 2009 SAS Institute Inc. All Rights Reserved.