Class OptionGroupBuilder
java.lang.Object
io.openems.edge.core.appmanager.formly.builder.selectgroup.OptionGroupBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds aOption
to thisOptionGroup
.addOptions
(List<T> options, Function<T, Option> mappingFunction) Adds a allOption
to thisOptionGroup
.build()
-
Constructor Details
-
OptionGroupBuilder
-
-
Method Details
-
addOption
Adds aOption
to thisOptionGroup
.- Parameters:
option
- theOption
to add- Returns:
- this
-
addOptions
Adds a allOption
to thisOptionGroup
.- Type Parameters:
T
- the type of the list- Parameters:
options
- the options to addmappingFunction
- the mapping function from the list to anOption
- Returns:
- this
-
build
-