Class FormThemeItemCssUrl

    • Constructor Detail

      • FormThemeItemCssUrl

        public FormThemeItemCssUrl​(String url,
                                   boolean offerClassesAsSuggestions,
                                   FormThemeReference theme)
        Creates a new form theme item CSS URL with the given data.
        Parameters:
        url - The URL of the CSS file.
        offerClassesAsSuggestions - Whether the classes in the CSS file should be offered as suggestions.
    • Method Detail

      • getTheme

        public FormThemeReference getTheme()
        The reference to the theme that provides the CSS file.
        Returns:
        The reference to the providing theme.
      • getUrl

        public String getUrl()
        The URL to the CSS file.
        Returns:
        The URL for accessing the CSS file.
      • isOfferClassesAsSuggestions

        public boolean isOfferClassesAsSuggestions()
        Whether to offer the classes from this file as suggestions, i.e. in the properties panel of the form designer. Users can add custom CSS classes to form elements, the form designer offers classes from themes as suggestions.
        Returns:
        Whether to offer the classes as suggestions.