Package repast.simphony.util.wizard
Class DynamicWizard
- java.lang.Object
-
- repast.simphony.util.wizard.DynamicWizard
-
- All Implemented Interfaces:
EventListener
,org.pietschy.wizard.WizardListener
public class DynamicWizard extends Object implements org.pietschy.wizard.WizardListener
-
-
Constructor Summary
Constructors Constructor Description DynamicWizard(String wizardId, Scenario scenario, Object contextID, String firstStepTitle, String firstStepPrompt, org.pietschy.wizard.WizardStep finishStep, WizardModelFactory modelFactory, org.pietschy.wizard.WizardStep... firstSteps)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicWizardModel
getModel()
static Collection<WizardOption>
getWizardOptions(String wizardId)
static void
registerWizardOption(String wizardId, WizardOption option)
void
showDialog(Component component, String title)
boolean
wasCancelled()
void
wizardCancelled(org.pietschy.wizard.WizardEvent arg0)
void
wizardClosed(org.pietschy.wizard.WizardEvent arg0)
-
-
-
Method Detail
-
getModel
public DynamicWizardModel getModel()
-
registerWizardOption
public static void registerWizardOption(String wizardId, WizardOption option)
-
getWizardOptions
public static Collection<WizardOption> getWizardOptions(String wizardId)
-
wizardClosed
public void wizardClosed(org.pietschy.wizard.WizardEvent arg0)
- Specified by:
wizardClosed
in interfaceorg.pietschy.wizard.WizardListener
-
wizardCancelled
public void wizardCancelled(org.pietschy.wizard.WizardEvent arg0)
- Specified by:
wizardCancelled
in interfaceorg.pietschy.wizard.WizardListener
-
wasCancelled
public boolean wasCancelled()
-
-