Class FormThemeEditModeSimpleSelectionModel

    • Method Detail

      • getHtmlTemplateCss

        public String getHtmlTemplateCss()
        Gets the CSS file with the rules for HTML templates.
        Returns:
        The HTML templates CSS file.
      • setHtmlTemplateCss

        public void setHtmlTemplateCss​(String htmlTemplateCss)
        Sets the CSS file with the rules for HTML templates.
        Parameters:
        htmlTemplateCss - The HTML templates CSS file.
      • getWebFormCss

        public String getWebFormCss()
        Gets the main CSS file with the rules for the web form.
        Returns:
        The main web form CSS file.
      • setWebFormCss

        public void setWebFormCss​(String webFormCss)
        Sets the main CSS file with the rules for the web form.
        Parameters:
        webFormCss - The main web form CSS file.
      • isHasCssChanges

        public boolean isHasCssChanges()
        Checks whether any of the CSS files have been changed since the model was created.
        Returns:
        Whether any of the CSS files have been changed.
      • isHasNonStandardFiles

        public boolean isHasNonStandardFiles()
        Whether the currently selected theme contains any non-standard CSS files. This is used to show a notification to the user when edit is set to EFormThemeEditMode.SIMPLE. Simple mode only allows editing the main form and HTML template CSS, so the user should be notified when there are additional files that are not shown in the UI.
        Returns:
        Whether the currently selected theme contains any non-standard CSS files.