Class DynamicWizardModel<T extends WizardOption>

  • All Implemented Interfaces:
    EventListener, org.pietschy.wizard.WizardListener, org.pietschy.wizard.WizardModel
    Direct Known Subclasses:
    DataLoaderWizardModel, FreezeDryWizardModel

    public class DynamicWizardModel<T extends WizardOption>
    extends org.pietschy.wizard.models.MultiPathModel
    implements org.pietschy.wizard.WizardListener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getChosenOption()  
      Object getContextID()  
      Scenario getScenario()  
      void setChosenOption​(T option)  
      void wizardCancelled​(org.pietschy.wizard.WizardEvent event)  
      void wizardClosed​(org.pietschy.wizard.WizardEvent event)  
      • Methods inherited from class org.pietschy.wizard.models.MultiPathModel

        allStepsComplete, getFirstPath, getLastPath, getPathForStep, isLastStep, lastStep, nextStep, previousStep, refreshModelState, reset, stepIterator
      • Methods inherited from class org.pietschy.wizard.AbstractWizardModel

        addCompleteListener, addPropertyChangeListener, addPropertyChangeListener, getActiveStep, isLastAvailable, isLastVisible, isNextAvailable, isPreviousAvailable, removePropertyChangeListener, removePropertyChangeListener, setActiveStep, setCancelAvailable, setLastAvailable, setLastVisible, setNextAvailable, setPreviousAvailable
    • Field Detail

      • contextID

        protected Object contextID
    • Constructor Detail

      • DynamicWizardModel

        public DynamicWizardModel​(org.pietschy.wizard.models.Path path,
                                  Scenario scenario,
                                  Object contextID)
    • Method Detail

      • getScenario

        public Scenario getScenario()
      • getContextID

        public Object getContextID()
      • getChosenOption

        public T getChosenOption()
      • setChosenOption

        public void setChosenOption​(T option)
      • wizardCancelled

        public void wizardCancelled​(org.pietschy.wizard.WizardEvent event)
        Specified by:
        wizardCancelled in interface org.pietschy.wizard.WizardListener
      • wizardClosed

        public void wizardClosed​(org.pietschy.wizard.WizardEvent event)
        Specified by:
        wizardClosed in interface org.pietschy.wizard.WizardListener