Class ChooseOptionStep

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, org.pietschy.wizard.WizardStep, PluginWizardStepListener

public class ChooseOptionStep extends PluginWizardStep
Wizard step used for selecting from a list of options, usually used as the first step in a wizard.
Author:
Jerry Vos, Eric Tatara
See Also:
  • Field Details

  • Constructor Details

    • ChooseOptionStep

      public ChooseOptionStep(String firstStepTitle, String firstStepPrompt)
  • Method Details

    • getContentPanel

      protected JPanel getContentPanel()
      Description copied from class: PluginWizardStep
      Subclasses must provide a JPanel with the wizard contents.
      Specified by:
      getContentPanel in class PluginWizardStep
      Returns:
      the content panel
    • setOptions

      public void setOptions(Iterable<WizardOption> options)
    • init

      public void init(org.pietschy.wizard.WizardModel model)
      Specified by:
      init in interface org.pietschy.wizard.WizardStep
      Overrides:
      init in class org.pietschy.wizard.PanelWizardStep
    • applyState

      public void applyState() throws org.pietschy.wizard.InvalidStateException
      Specified by:
      applyState in interface org.pietschy.wizard.WizardStep
      Overrides:
      applyState in class org.pietschy.wizard.PanelWizardStep
      Throws:
      org.pietschy.wizard.InvalidStateException
    • getSelectedOption

      public WizardOption getSelectedOption()