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
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDynamicWizardModel
(org.pietschy.wizard.models.Path path, Scenario scenario, Object contextID) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
contextID
-
scenario
-
-
Constructor Details
-
DynamicWizardModel
-
-
Method Details
-
getScenario
-
getContextID
-
getChosenOption
-
setChosenOption
-
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
-