Class StyleStep

    • Constructor Detail

      • StyleStep

        public StyleStep​(String name,
                         String description)
    • Method Detail

      • 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