Package de.xima.fc.gui.model.params
Class RenderItemParams
- java.lang.Object
-
- de.xima.fc.gui.model.params.RenderItemParams
-
public final class RenderItemParams extends Object
Parameters for the render item remote command, seeFormRenderHelper.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description RenderItemParams(Locale defaultLocale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EHelpTextDisplaygetHelpTextDisplay()Gets how the help texts of form elements are displayed, unless overridden by a form element.LocalegetLang()StringgetLangCode()List<com.alibaba.fastjson.JSONObject>getPersist()ERequiredFieldDisplaygetRequiredFieldDisplay()Checks which form fields are marked as required or optional, nevernull.com.alibaba.fastjson.JSONObjectgetVersion()booleanisAttributeW3CMode()booleanisElementClassNameMode()booleanisLegacyUseOptionTextForAutocomplete()booleanisPlaceholderPreview()booleanisPreview()booleanisValidateSubmitAction()
-
-
-
Constructor Detail
-
RenderItemParams
public RenderItemParams(Locale defaultLocale)
-
-
Method Detail
-
getLang
public Locale getLang()
-
getLangCode
public String getLangCode()
-
getPersist
public List<com.alibaba.fastjson.JSONObject> getPersist()
-
getVersion
public com.alibaba.fastjson.JSONObject getVersion()
-
isAttributeW3CMode
public boolean isAttributeW3CMode()
-
isElementClassNameMode
public boolean isElementClassNameMode()
- Returns:
trueif the name of the element should be added as a CSS style class,falseotherwise.
-
isLegacyUseOptionTextForAutocomplete
public boolean isLegacyUseOptionTextForAutocomplete()
-
isPlaceholderPreview
public boolean isPlaceholderPreview()
-
isPreview
public boolean isPreview()
-
isValidateSubmitAction
public boolean isValidateSubmitAction()
-
getRequiredFieldDisplay
public ERequiredFieldDisplay getRequiredFieldDisplay()
Checks which form fields are marked as required or optional, nevernull.- Returns:
- How required fields are displayed in the form, never
null. - Since:
- 8.6.0
-
getHelpTextDisplay
public EHelpTextDisplay getHelpTextDisplay()
Gets how the help texts of form elements are displayed, unless overridden by a form element.- Returns:
- How help texts are displayed in the form, never
null. - Since:
- 8.6.0
-
-