Class FormCssHelper
- java.lang.Object
- 
- de.xima.fc.gui.designer.form.utils.FormCssHelper
 
- 
 public final class FormCssHelper extends Object Utilities for analyzing CSS classes and fetching CSS themes, seeFormDesignerCssBean.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static List<CssClassInfo>analyzeCssForClasses(List<String> cssFiles)Finds all CSS classes that occur in the given CSS style sheets.static org.json.JSONArraybuildJson(List<CssClassInfo> infoList)static StringfetchFormThemeCss(Mandant client, long themeId)
 
- 
- 
- 
Method Detail- 
fetchFormThemeCsspublic static String fetchFormThemeCss(Mandant client, long themeId) - Parameters:
- client- Client to which the current user belongs.
- themeId- ID of a form theme to retrieve.
- Returns:
- The CSS of the given form theme.
 
 - 
analyzeCssForClassespublic static List<CssClassInfo> analyzeCssForClasses(List<String> cssFiles) Finds all CSS classes that occur in the given CSS style sheets.- Parameters:
- cssFiles- List of CSS style sheets.
- Returns:
- A list of all CSS classes in the given style sheets.
 
 - 
buildJsonpublic static org.json.JSONArray buildJson(List<CssClassInfo> infoList) - Parameters:
- infoList- A list of CSS classes.
- Returns:
- The list as a JSON object that can be sent to the client.
 
 
- 
 
-