de.esprit.common.gui.wizzard

## Class StepAction

- java.lang.Object
- - javax.swing.AbstractAction
  - - de.esprit.common.gui.ZAction
    - - de.esprit.common.gui.wizzard.StepAction

- All Implemented Interfaces:
    ApplicationObject, ErrorHandlerSupport, SimpleLogSupport, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

      public abstract class StepAction
      extends ZAction

  This class encapsulates the common behavior of all step-actions in a wizzard. Basically this action knows that it must enable only if it's own step index has become the current one.
  Author:
    Rainer Buesch
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class javax.swing.AbstractAction

      `changeSupport, enabled`

    - ### Fields inherited from interface javax.swing.Action

      `ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StepAction(NlsActionKey nls)`
    `StepAction(NlsActionKey nls, IconKey iconKey)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `checkEnableState()`
    `int` | `getCurrentStepIndex()`
    `int` | `getMyStepIndex()`
    `void` | `initStepAction(StepSerie steps, int myState)`
    `protected void` | `setDone()`

    - ### Methods inherited from class de.esprit.common.gui.ZAction

      `actionConfirmed, actionDenied, actionFailed, actionFired, actionPerformed, actionPrepare, actionSucceeded, checkEnableCondition, fire, getApplicationContext, getButtonText, getIcon, getLogChannel, getMenuText, getName, getPressedIcon, getTipText, isForced, isHandleError, isLogDebug, isLogVerbose, isPermitted, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, performAvailabilityCheck, setBusyAnimationEnabled, setHandleError, setIcon, setIcon, setLogChannel, setName, setPressedIcon, setPressedIcon, setText, setTipText, setValidator, showError, showError, showError, showInfo, showInfo, showWarning, showWarning, toString`

    - ### 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, wait, wait, wait`

- - ### Constructor Detail

    - #### StepAction

          public StepAction(NlsActionKey nls)

    - #### StepAction

          public StepAction(NlsActionKey nls,
                    IconKey iconKey)

  - ### Method Detail

    - #### initStepAction

          public void initStepAction(StepSerie steps,
                            int myState)

    - #### checkEnableState

          protected void checkEnableState()

    - #### getCurrentStepIndex

          public int getCurrentStepIndex()

    - #### getMyStepIndex

          public int getMyStepIndex()

    - #### setDone

          protected void setDone()

Copyright © 2014 EsprIT-Systems. All Rights Reserved.