Class FormThemeItem
java.lang.Object
de.xima.fc.gui.designer.form.model.FormThemeItem
A
FormThemeReference with a display name.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionFormThemeItem(String name, String groupName, FormThemeReference value, FormThemeReference parent, List<String> cssClasses, List<FormThemeItemCssUrl> cssUrls) Creates a new form them item with the given data. -
Method Summary
Modifier and TypeMethodDescriptionGets a list of CSS classes that are added to the container element when this theme is selected.A list of URLs with the CSS files that need to be included when this theme is selected.Gets the localized name of the group the form theme belongs to.getName()Gets the localized display name of the form theme.Gets the parent form theme of the form theme, if it has any.getValue()Gets the unique identifier of the form theme.
-
Constructor Details
-
FormThemeItem
public FormThemeItem(String name, String groupName, FormThemeReference value, FormThemeReference parent, List<String> cssClasses, List<FormThemeItemCssUrl> cssUrls) Creates a new form them item with the given data.- Parameters:
name- The localized display name of the form theme.groupName- The localized name of the group the form theme belongs to.value- The unique identifier of the form theme.parent- The parent theme, may be null.cssClasses- A list of CSS classes that are added to the container element when this theme is selected.cssUrls- A list of CSS URLs with the files that need to be included when this theme is selected.
-
-
Method Details
-
getCssClasses
-
getCssUrls
A list of URLs with the CSS files that need to be included when this theme is selected.- Returns:
- A list of CSS files.
-
getGroupName
Gets the localized name of the group the form theme belongs to. The group is used e.g. to group themes in a dropdown on the UI.- Returns:
- The name of the theme's group.
-
getName
Gets the localized display name of the form theme.- Returns:
- The name of the form theme.
-
getParent
Gets the parent form theme of the form theme, if it has any.- Returns:
- The parent form theme, null if the form theme has no parent.
-
getValue
Gets the unique identifier of the form theme.- Returns:
- The unique identifier.
-