Class DynamicWizardModel<T extends WizardOption>

java.lang.Object
org.pietschy.wizard.AbstractWizardModel
org.pietschy.wizard.models.MultiPathModel
repast.simphony.util.wizard.DynamicWizardModel<T>
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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Object
     
    protected Scenario
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DynamicWizardModel(org.pietschy.wizard.models.Path path, Scenario scenario, Object contextID)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    void
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • contextID

      protected Object contextID
    • scenario

      protected Scenario scenario
  • Constructor Details

    • DynamicWizardModel

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

    • 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