Class GatewayWizardModel

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.wicket.extensions.wizard.IWizardModel, org.apache.wicket.util.io.IClusterable

    public class GatewayWizardModel
    extends org.apache.wicket.extensions.wizard.dynamic.DynamicWizardModel
    Created by mattg on 3/25/15. Use with a GatewayWizard implementation to set up its wizard step model.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class org.apache.wicket.extensions.wizard.dynamic.DynamicWizardModel

        getActiveStep, getStartStep, isLastAvailable, isLastStep, isNextAvailable, isPreviousAvailable, last, next, previous, reset, setActiveStep, stepIterator
      • Methods inherited from class org.apache.wicket.extensions.wizard.AbstractWizardModel

        addListener, cancel, finish, fireActiveStepChanged, fireWizardCancelled, fireWizardFinished, isCancelVisible, isLastVisible, removeListener, setCancelVisible, setLastVisible
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GatewayWizardModel

        public GatewayWizardModel​(GatewayWizardStep firstStep)
        Pass in the first GatewayWizardStep here. All other wizard steps need to be defined in each next() method of every GatewayWizardStep that you are adding. Example GatewayWizard constructor:
        GatewayWizardModel wizardModel = new GatewayWizardModel(new MyStep(dataModel));
        this.init(wizardModel);