Package repast.simphony.util.wizard
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
-
-
Constructor Summary
Constructors Constructor Description DynamicWizardModel(org.pietschy.wizard.models.Path path, Scenario scenario, Object contextID)
-
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
-
-
-
-
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 interfaceorg.pietschy.wizard.WizardListener
-
wizardClosed
public void wizardClosed(org.pietschy.wizard.WizardEvent event)
- Specified by:
wizardClosed
in interfaceorg.pietschy.wizard.WizardListener
-
-