Class StyleStep

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, org.pietschy.wizard.WizardStep, PluginWizardStepListener
Direct Known Subclasses:
StyleClassStep

public abstract class StyleStep extends PluginWizardStep
Abstract style step for display wizards that provides basic agent selection. Implementing subclasses should provide a style editing panel.
Author:
Nick Collier, Eric Tatara
See Also:
  • Field Details

  • Constructor Details

    • StyleStep

      public StyleStep(String name, String description)
  • 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
    • getStylePanel

      protected abstract JPanel getStylePanel()
      Provide a JPanel with style editing capabilities.
      Returns:
      the style editor panel
    • setCurrentElementValues

      protected abstract void setCurrentElementValues()
      Set the values of the current element in the agent list when another element in the list is selected.
    • agentListChanged

      protected abstract void agentListChanged(StyleStep.AgentTypeElement element)
      Do something whenever the agent list changes to a new value through selection.
    • applyChanges

      protected abstract void applyChanges()
      Apply the editor changes to the DisplayDescriptor.
    • initialize

      protected abstract void initialize()
      Initialize sub classes.
    • init

      public void init(org.pietschy.wizard.WizardModel wizardModel)
      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
    • prepare

      public void prepare()
      Specified by:
      prepare in interface org.pietschy.wizard.WizardStep
      Overrides:
      prepare in class org.pietschy.wizard.PanelWizardStep