org.pietschy.wizard
Class WizardAction
java.lang.Object
javax.swing.AbstractAction
org.pietschy.wizard.WizardAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable
- public abstract class WizardAction
- extends javax.swing.AbstractAction
- implements java.beans.PropertyChangeListener
Base class for all Wizard actions.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wizard
protected Wizard wizard
WizardAction
protected WizardAction(java.lang.String key,
Wizard wizard,
javax.swing.Icon icon)
WizardAction
protected WizardAction(java.lang.String key,
Wizard wizard)
getWizard
protected Wizard getWizard()
getModel
public WizardModel getModel()
getActiveStep
public WizardStep getActiveStep()
actionPerformed
public final void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
handleInvalideStateException
protected void handleInvalideStateException(InvalidStateException ise)
doAction
public abstract void doAction(java.awt.event.ActionEvent e)
throws InvalidStateException
- Throws:
InvalidStateException
updateState
protected abstract void updateState()
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener
Copyright © 2004 Andrew Pietsch.