Class FormDesignerCssBean
java.lang.Object
de.xima.fc.gui.designer.form.bean.FormDesignerCssBean
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Remote command that analyzes the given CSS and returns all available CSS classes.void
Remote command that analyzes the given CSS and returns all available font face rules.void
Remote command that analyzes the given CSS and returns all info about the CSS files.getFontFaceInfoForFacesResource
(String library, String resourceName) Searches a Faces resource for font faces info, including nested CSS files from@import
rules.void
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.
-
Constructor Details
-
FormDesignerCssBean
public FormDesignerCssBean()
-
-
Method Details
-
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
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
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.
-