Package io.openems.edge.core.appmanager
Class JsonFormlyUtil
java.lang.Object
io.openems.edge.core.appmanager.JsonFormlyUtil
Source https://formly.dev/examples/introduction.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static final class
A Builder for a Formly Checkbox.static class
static final class
static final class
static class
A Builder for a Formly field.static final class
A Builder for a Formly Input.static final class
static final class
A Builder for a Formly Checkbox.static final class
A Builder for a Formly Select.static final class
static enum
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Enum<T>>
JsonFormlyUtil.CheckboxBuilderbuildCheckbox
(T property) Creates a JsonObject Formly Checkbox Builder for the given enum.buildCheckboxFromNameable
(Nameable nameable) Creates a JsonObject Formly Checkbox Builder for the given enum.static <T extends Enum<T>>
JsonFormlyUtil.FieldGroupBuilderbuildFieldGroup
(T property) Creates a JsonObject Formly Input Builder for the given enum.buildFieldGroupFromNameable
(Nameable nameable) Creates a JsonObject Formly Input Builder for the given enum.static <T extends Enum<T>>
JsonFormlyUtil.InputBuilderbuildInput
(T property) Creates a JsonObject Formly Input Builder for the given enum.static JsonFormlyUtil.InputBuilder
buildInputFromNameable
(Nameable nameable) Creates a JsonObject Formly Input Builder for the given enum.static <T extends Enum<T>>
JsonFormlyUtil.RangeBuilderbuildRange
(T property) Creates a JsonObject Formly Range Builder for the given enum.static JsonFormlyUtil.RangeBuilder
buildRangeFromNameable
(Nameable nameable) Creates a JsonObject Formly Range Builder for the given enum.static JsonFormlyUtil.RepeatBuilder
buildRepeat
(Nameable nameable) Creates a JsonObject Formly Repeat Builder for the given enum.static <T extends Enum<T>>
JsonFormlyUtil.RepeatBuilderbuildRepeat
(T property) Creates a JsonObject Formly Repeat Builder for the given enum.static <T extends Enum<T>>
JsonFormlyUtil.SelectBuilderbuildSelect
(T property) Creates a JsonObject Formly Select Builder for the given enum.static JsonFormlyUtil.SelectBuilder
buildSelectFromNameable
(Nameable nameable) Creates a JsonObject Formly Select Builder for the given enum.
-
Method Details
-
buildCheckbox
Creates a JsonObject Formly Checkbox Builder for the given enum.- Type Parameters:
T
- the type of the enum- Parameters:
property
- the enum property- Returns:
- a
JsonFormlyUtil.CheckboxBuilder
-
buildCheckboxFromNameable
Creates a JsonObject Formly Checkbox Builder for the given enum.- Parameters:
nameable
- theNameable
property- Returns:
- a
JsonFormlyUtil.CheckboxBuilder
-
buildInput
Creates a JsonObject Formly Input Builder for the given enum.- Type Parameters:
T
- the type of the enum- Parameters:
property
- the enum property- Returns:
- a
JsonFormlyUtil.InputBuilder
-
buildInputFromNameable
Creates a JsonObject Formly Input Builder for the given enum.- Parameters:
nameable
- theNameable
property- Returns:
- a
JsonFormlyUtil.InputBuilder
-
buildFieldGroup
Creates a JsonObject Formly Input Builder for the given enum.- Type Parameters:
T
- the type of the enum- Parameters:
property
- the enum property- Returns:
- a
JsonFormlyUtil.InputBuilder
-
buildFieldGroupFromNameable
Creates a JsonObject Formly Input Builder for the given enum.- Parameters:
nameable
- theNameable
property- Returns:
- a
JsonFormlyUtil.InputBuilder
-
buildSelect
Creates a JsonObject Formly Select Builder for the given enum.- Type Parameters:
T
- the type of the enum- Parameters:
property
- the enum property- Returns:
- a
JsonFormlyUtil.SelectBuilder
-
buildSelectFromNameable
Creates a JsonObject Formly Select Builder for the given enum.- Parameters:
nameable
- theNameable
property- Returns:
- a
JsonFormlyUtil.SelectBuilder
-
buildRange
Creates a JsonObject Formly Range Builder for the given enum.- Type Parameters:
T
- the type of the enum- Parameters:
property
- the enum property- Returns:
- a
JsonFormlyUtil.RangeBuilder
-
buildRangeFromNameable
Creates a JsonObject Formly Range Builder for the given enum.- Parameters:
nameable
- theNameable
property- Returns:
- a
JsonFormlyUtil.RangeBuilder
-
buildRepeat
Creates a JsonObject Formly Repeat Builder for the given enum.- Type Parameters:
T
- the type of the enum- Parameters:
property
- the enum property- Returns:
- a
JsonFormlyUtil.RepeatBuilder
-
buildRepeat
Creates a JsonObject Formly Repeat Builder for the given enum.- Parameters:
nameable
- theNameable
property- Returns:
- a
JsonFormlyUtil.RepeatBuilder
-