Class EdgeStyleStep

    • Constructor Detail

      • EdgeStyleStep

        public EdgeStyleStep()
    • Method Detail

      • prepare

        public void prepare()
        Specified by:
        prepare in interface org.pietschy.wizard.WizardStep
        Overrides:
        prepare 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
      • 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
      • checkForStyleEditor

        protected boolean checkForStyleEditor​(DisplayDescriptor descriptor)
        Returns true if the display type in the descriptor supports edited styles.
        Parameters:
        descriptor -
        Returns:
      • getEditedStyleClassForDisplay

        protected String getEditedStyleClassForDisplay​(DisplayDescriptor descriptor)
        Returns the class name for edited styles based on the display type in the descriptor.
        Parameters:
        descriptor -
        Returns:
      • findStylesForDisplay

        protected List<String> findStylesForDisplay​(DisplayDescriptor descriptor)
        Finds all classes that implement the style interface for the type in the descriptor.
        Parameters:
        descriptor -
        Returns:
      • getDefaultStyle

        protected String getDefaultStyle​(DisplayDescriptor descriptor)
        Provides the default style class name for the display defined in the descriptor.
        Parameters:
        descriptor -
        Returns:
      • findStylesFor

        protected List<String> findStylesFor​(Class<?> styleInterface,
                                             String defaultStyle)
        Provides a list of available style classes (including default) for the specified interface.
        Parameters:
        styleInterface -
        Returns: