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 byFormThemeItem
.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormThemeItemCssUrl(String url, boolean offerClassesAsSuggestions, FormThemeReference theme)
Creates a new form theme item CSS URL with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormThemeReference
getTheme()
The reference to the theme that provides the CSS file.String
getUrl()
The URL to the CSS file.boolean
isOfferClassesAsSuggestions()
Whether to offer the classes from this file as suggestions, i.e.
-
-
-
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.
-
-