Class FormDesignerPluginBean
- java.lang.Object
-
- de.xima.fc.gui.designer.form.bean.FormDesignerPluginBean
-
- All Implemented Interfaces:
Serializable
@RequestScoped @Named public class FormDesignerPluginBean extends Object implements Serializable
Bean for the form designer. Handles plugin-related functions, such as providing the JavaScript and CSS required by widget plugins.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description FormDesignerPluginBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CssFontFaceInfo
getPluginCssFontFaceInfo()
org.primefaces.model.StreamedContent
getPluginCssForDesignerUiStreamedContent(long clientId)
String
getPluginCssForDesignerUiUrl()
org.primefaces.model.StreamedContent
getPluginCssStreamedContent(long clientId)
String
getPluginCssUrl()
org.primefaces.model.StreamedContent
getPluginJavaScriptStreamedContent(long clientId)
String
getPluginJavaScriptUrl()
-
-
-
Method Detail
-
getPluginCssForDesignerUiStreamedContent
public org.primefaces.model.StreamedContent getPluginCssForDesignerUiStreamedContent(long clientId)
- Parameters:
clientId
- ID of the client for which to fetch the data.- Returns:
- The CSS for the designer UI required by widget plugin for the given client.
-
getPluginCssForDesignerUiUrl
public String getPluginCssForDesignerUiUrl()
- Returns:
- The URL for the resource that serves the CSS form the form designer UI required by widget plugins.
-
getPluginCssStreamedContent
public org.primefaces.model.StreamedContent getPluginCssStreamedContent(long clientId)
- Parameters:
clientId
- ID of the client for which to fetch the data.- Returns:
- The CSS for the form inside the designer required by widget plugin for the given client.
-
getPluginCssUrl
public String getPluginCssUrl()
- Returns:
- The URL for the resource that serves the CSS for the form within the designer required by widget plugins.
-
getPluginCssFontFaceInfo
public CssFontFaceInfo getPluginCssFontFaceInfo()
- Returns:
- The font face info for the CSS of all plugins, used by the designer to extract those styles outside the shadow DOM.
-
getPluginJavaScriptStreamedContent
public org.primefaces.model.StreamedContent getPluginJavaScriptStreamedContent(long clientId)
- Parameters:
clientId
- ID of the client for which to fetch the data.- Returns:
- The JavaScript required by widget plugin for the given client.
-
getPluginJavaScriptUrl
public String getPluginJavaScriptUrl()
- Returns:
- The URL for the resource that serves the JavaScript required by widget plugins.
-
-