Package io.openems.edge.core.appmanager
Class JsonFormlyUtil.RepeatBuilder
java.lang.Object
io.openems.edge.core.appmanager.JsonFormlyUtil.FormlyBuilder<JsonFormlyUtil.RepeatBuilder>
io.openems.edge.core.appmanager.JsonFormlyUtil.RepeatBuilder
- All Implemented Interfaces:
OnlyIf<JsonFormlyUtil.RepeatBuilder>
,Self<JsonFormlyUtil.RepeatBuilder>
- Enclosing class:
- JsonFormlyUtil
public static final class JsonFormlyUtil.RepeatBuilder
extends JsonFormlyUtil.FormlyBuilder<JsonFormlyUtil.RepeatBuilder>
A Builder for a Formly Checkbox.
{ "key": "key", "type": "repeat", "templateOptions": { "label": "label", "required": true }, "expressionProperties": { "templateOptions.required": "model.PROPERTY" }, "hideExpression": "!model.PROPERTY", "defaultValue": "defaultValue" }
-
Field Summary
Fields inherited from class io.openems.edge.core.appmanager.JsonFormlyUtil.FormlyBuilder
jsonObject, templateOptions
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonObject
build()
protected String
getType()
setAddText
(String addText) setFieldArray
(com.google.gson.JsonObject object) Methods inherited from class io.openems.edge.core.appmanager.JsonFormlyUtil.FormlyBuilder
addWrapper, getExpressionProperties, isRequired, onlyShowIf, onlyShowIfChecked, onlyShowIfNotChecked, onlyShowIfValueEquals, self, setDefaultValue, setDefaultValue, setDefaultValue, setDefaultValue, setDefaultValueCases, setDefaultValueWithBooleanSupplier, setDefaultValueWithStringSupplier, setDescription, setKey, setLabel, setLabelExpression
-
Method Details
-
setAddText
-
setFieldArray
-
getType
- Specified by:
getType
in classJsonFormlyUtil.FormlyBuilder<JsonFormlyUtil.RepeatBuilder>
-
build
public com.google.gson.JsonObject build()- Overrides:
build
in classJsonFormlyUtil.FormlyBuilder<JsonFormlyUtil.RepeatBuilder>
-