Package de.xima.fc.form.common.models
Class XItemRenderCtx.XItemRenderCtxBuilder
- java.lang.Object
-
- de.xima.fc.form.common.models.XItemRenderCtx.XItemRenderCtxBuilder
-
- Enclosing class:
- XItemRenderCtx
public static final class XItemRenderCtx.XItemRenderCtxBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description XItemRenderCtxBuilder(XItemRenderData renderData)
-
Method Summary
-
-
-
Constructor Detail
-
XItemRenderCtxBuilder
public XItemRenderCtxBuilder(XItemRenderData renderData)
-
-
Method Detail
-
withParents
public XItemRenderCtx.XItemRenderCtxBuilder withParents(Map<String,com.hp.gagawa.java.FertileNode> parents)
-
withDesignerPreview
public XItemRenderCtx.XItemRenderCtxBuilder withDesignerPreview(boolean designerPreview)
-
withRenderCallback
public XItemRenderCtx.XItemRenderCtxBuilder withRenderCallback(IXFormRenderCallback renderCallback)
-
withAttributeW3CMode
public XItemRenderCtx.XItemRenderCtxBuilder withAttributeW3CMode(boolean attributeW3CMode)
-
withValidateSubmitAction
public XItemRenderCtx.XItemRenderCtxBuilder withValidateSubmitAction(boolean validateSubmitAction)
-
withLegacyUseOptionTextForAutocomplete
public XItemRenderCtx.XItemRenderCtxBuilder withLegacyUseOptionTextForAutocomplete(boolean legacyUseOptionTextForAutocomplete)
-
withElementClassNameMode
public XItemRenderCtx.XItemRenderCtxBuilder withElementClassNameMode(boolean elementClassNameMode)
-
withXForm
public XItemRenderCtx.XItemRenderCtxBuilder withXForm(IXForm xForm)
Applies the data form the given form, i.e.IXForm.isAttributeW3CMode()
andIXForm.isElementClassNameMode()
.- Parameters:
xForm
- XForm with data to apply to this render context builder.- Returns:
- This builder instance for chaining method calls.
-
withDynFieldMap
public XItemRenderCtx.XItemRenderCtxBuilder withDynFieldMap(Map<String,? extends IFormContainerMetaData> dynValues)
-
withRenderConditionProcessor
public XItemRenderCtx.XItemRenderCtxBuilder withRenderConditionProcessor(XItemConditionProcessor itemRenderConditionProcessor)
-
build
public XItemRenderCtx build()
-
withDynValues
public XItemRenderCtx.XItemRenderCtxBuilder withDynValues(com.alibaba.fastjson.JSONObject dynValues)
-
-