Class AbstractStyle

    • Constructor Detail

      • AbstractStyle

        public AbstractStyle()
    • Method Detail

      • setContext

        public void setContext​(Context context)
        Description copied from interface: Style
        This method is called by the framework to set the Context just after the style has been constructed. This is either an InstallerContext or an UninstallerContext, depending on the whether the style is used in an installer or an uninstaller.

        When nesting other styles, this is earliest occasion that the style manager can be obtained by calling context.getWizardContext().getStyleManager().

        Specified by:
        setContext in interface Style
        Parameters:
        context - the context.
      • isStandalone

        public boolean isStandalone()
        Description copied from interface: Style
        Returns if the style is intended to by applied to installer applications, screens and screen groups. Only standalone styles are available in the corresponding style selectors and can be set as the default style. If this method returns false, the style can only be nested into other styles.
        Specified by:
        isStandalone in interface Style
        Returns:
        true or false
      • activated

        public void activated()
        Description copied from interface: Style
        This method is called by the framework just after a screen with this style has been activated. This call has to be delegated to nested styles by using StyleManager.activated(Style)
        Specified by:
        activated in interface Style
        See Also:
        Screen.activated()
      • deactivated

        public void deactivated()
        Description copied from interface: Style
        This method is called by the framework just after a screen with this style has been deactivated. This call has to be delegated to nested styles by using StyleManager.deactivated(Style)
        Specified by:
        deactivated in interface Style
      • getContext

        public Context getContext()
        Returns the Context that the framework has associated with this form component in setContext(Context).
        Returns:
        the context.
      • getStyleManager

        public StyleManager getStyleManager()
        Returns the StyleManager. This is a convenience method and calls getContext().getWizardContext().getStyleManager().
        Returns:
        the style manager