Class FormDesignerCssBean
- java.lang.Object
-
- de.xima.fc.gui.designer.form.bean.FormDesignerCssBean
-
- All Implemented Interfaces:
Serializable
@RequestScoped @Named public class FormDesignerCssBean extends Object implements Serializable
Bean for the form designer. Creates a list of available CSS classes, and fetches the CSS for the selected theme.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormDesignerCssBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getAvailableCssClasses()
Remote command that analyzes the given CSS and returns all available CSS classes.void
getAvailableFontFaceRules()
Remote command that analyzes the given CSS and returns all available font face rules.void
getCssInfo()
Remote command that analyzes the given CSS and returns all info about the CSS files.CssFontFaceInfo
getFontFaceInfoForFacesResource(String library, String resourceName)
Searches a Faces resource for font faces info, including nested CSS files from@import
rules.void
getFormThemeCss()
Remote command that return the theme CSS for a given theme ID.boolean
isHasOverload(String name)
Checks whether a system, client, or form file overload exists for the given file name.
-
-
-
Method Detail
-
getAvailableCssClasses
public void getAvailableCssClasses()
Remote command that analyzes the given CSS and returns all available CSS classes.
-
getAvailableFontFaceRules
public void getAvailableFontFaceRules()
Remote command that analyzes the given CSS and returns all available font face rules.
-
isHasOverload
public boolean isHasOverload(String name)
Checks whether a system, client, or form file overload exists for the given file name.- Parameters:
name
- Name of a (CSS) file.- Returns:
- Whether a system, client, or form file overload exists for the given file name.
-
getCssInfo
public void getCssInfo()
Remote command that analyzes the given CSS and returns all info about the CSS files.
-
getFormThemeCss
public void getFormThemeCss()
Remote command that return the theme CSS for a given theme ID.
-
getFontFaceInfoForFacesResource
public CssFontFaceInfo getFontFaceInfoForFacesResource(String library, String resourceName)
Searches a Faces resource for font faces info, including nested CSS files from@import
rules.- Parameters:
library
- Optional library of the Faces resource.resourceName
- Path to the Faces resource.- Returns:
- The font face info extracted from the given Faces resource.
-
-