Class XFormProperties
java.lang.Object
de.xima.fc.form.common.models.XFormProperties
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal XFormPropertiescopy()booleanstatic XFormPropertiesfromJson(com.alibaba.fastjson.JSONObject json) final Stringfinal Stringfinal FormThemeReferenceGets the form theme to use for styling the form.final Stringfinal intfinal Stringfinal Stringfinal Stringfinal Map<String, XPropertyValue> final XPropertyValuegetProperty(XFormPropertyEnum property) final XPropertyValuegetProperty(String key) final Stringfinal Stringfinal Stringfinal Stringfinal Stringfinal Stringfinal UUIDgetTheme()Deprecated.final inthashCode()final booleanfinal booleanfinal booleanfinal booleanDeprecated.UsegetFormTheme()instead (which can be the system theme "modern")final booleanfinal booleanprotected voidonPropertyAdded(String key, Object value) Called after a property was newly added.protected voidonPropertyModified(String key, Object value) Called after an existing property was modified.protected voidonPropertyRemoved(String key) Called after an existing property was removed.final voidremoveProperty(XFormPropertyEnum property) final voidremoveProperty(String key) final voidsetAttributeW3CMode(boolean attributeW3CMode) final voidsetElementClassNameMode(boolean elementClassNameMode) final voidsetErrorStyle(String errorStyle) final voidsetFormDescription(String formDescription) final voidsetFormTheme(FormThemeReference formTheme) Sets the form theme to use for styling the form.final voidsetFormTitle(String formTitle) final voidsetLegacyUseOptionTextForAutocomplete(boolean legacyUseOptionTextForAutocomplete) final voidsetMaxBackups(int maxBackups) final voidsetModernTheme(boolean modernTheme) Deprecated.UsegetFormTheme()instead (which can be the system theme "modern")final voidsetPageMax(String pageMax) final voidsetPageMin(String pageMin) final voidsetPageResponsive(String pageResponsive) final voidsetPlaceholderPreview(boolean placeholderPreview) final voidsetProperty(XFormPropertyEnum property, Object value) final voidsetProperty(String key, Object value) final voidsetSeoAuthor(String seoAuthor) final voidsetSeoCopyright(String seoCopyright) final voidsetSeoDescription(String seoDescription) final voidsetSeoKeywords(String seoKeywords) final voidsetSeoPublisher(String seoPublisher) final voidsetSeoRobots(String seoRobots) final voidDeprecated.UsegetFormTheme()instead.final voidsetValidateSubmitAction(boolean validateSubmitAction) final com.alibaba.fastjson.JSONObjecttoJson()
-
Field Details
-
properties
-
-
Constructor Details
-
XFormProperties
public XFormProperties()
-
-
Method Details
-
copy
-
equals
-
getErrorStyle
-
setErrorStyle
-
getFormDescription
-
setFormDescription
-
getFormTheme
Gets the form theme to use for styling the form. A form theme may come from different sources, such as a system theme, a client theme, or a theme provided by a plugin.- Returns:
- formTheme The form theme to use.
-
setFormTheme
Sets the form theme to use for styling the form. A form theme may come from different sources, such as a system theme, a client theme, or a theme provided by a plugin.- Parameters:
formTheme- The form theme to use.
-
getFormTitle
-
setFormTitle
-
getMaxBackups
public final int getMaxBackups() -
setMaxBackups
public final void setMaxBackups(int maxBackups) -
getPageMax
-
setPageMax
-
getPageMin
-
setPageMin
-
getPageResponsive
-
setPageResponsive
-
getProperties
-
getProperty
-
getProperty
-
getSeoAuthor
-
setSeoAuthor
-
getSeoCopyright
-
setSeoCopyright
-
getSeoDescription
-
setSeoDescription
-
getSeoKeywords
-
setSeoKeywords
-
getSeoPublisher
-
setSeoPublisher
-
getSeoRobots
-
setSeoRobots
-
getTheme
Deprecated.UsegetFormTheme()instead.Gets the theme of the form, i.e. the CSS to apply to the form. The value is the UUID of ade.xima.fc.entities.Textbaustein.- Returns:
- The UUID of the theme.
-
setTheme
Deprecated.UsegetFormTheme()instead.Sets the theme of the form, i.e. the CSS to apply to the form. The value is the UUID of ade.xima.fc.entities.Textbaustein.- Parameters:
theme- The UUID of the theme.
-
hashCode
-
isAttributeW3CMode
public final boolean isAttributeW3CMode() -
setAttributeW3CMode
public final void setAttributeW3CMode(boolean attributeW3CMode) -
isElementClassNameMode
public final boolean isElementClassNameMode() -
setElementClassNameMode
public final void setElementClassNameMode(boolean elementClassNameMode) -
isLegacyUseOptionTextForAutocomplete
public final boolean isLegacyUseOptionTextForAutocomplete() -
setLegacyUseOptionTextForAutocomplete
public final void setLegacyUseOptionTextForAutocomplete(boolean legacyUseOptionTextForAutocomplete) -
isModernTheme
Deprecated.UsegetFormTheme()instead (which can be the system theme "modern")Gets whether the form uses the modern theme.- Returns:
- Whether the form uses the modern theme.
-
setModernTheme
Deprecated.UsegetFormTheme()instead (which can be the system theme "modern")Sets whether the form uses the modern theme.- Parameters:
modernTheme- Whether the form uses the modern theme.
-
isPlaceholderPreview
public final boolean isPlaceholderPreview() -
setPlaceholderPreview
public final void setPlaceholderPreview(boolean placeholderPreview) -
isValidateSubmitAction
public final boolean isValidateSubmitAction() -
setValidateSubmitAction
public final void setValidateSubmitAction(boolean validateSubmitAction) -
removeProperty
-
removeProperty
-
setProperty
-
setProperty
-
toJson
public final com.alibaba.fastjson.JSONObject toJson() -
onPropertyAdded
-
onPropertyModified
-
onPropertyRemoved
Called after an existing property was removed.- Parameters:
key- The key of the removed property.
-
fromJson
-
getFormTheme()instead.