Class FormThemeItemCssUrl

java.lang.Object
de.xima.fc.gui.designer.form.model.FormThemeItemCssUrl
All Implemented Interfaces:
Serializable

public final class FormThemeItemCssUrl extends Object implements Serializable
Details regarding a CSS URL, used by FormThemeItem.
Since:
8.3.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • 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 Details

    • 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.