Class StructuredParameterization.StructuredParameterizationBuilder<T extends StructuredParameterization.StructuredParameterizationBuilder<T>>
java.lang.Object
com._1c.g5.aef2.standard.parameterization.StructuredParameterization.StructuredParameterizationBuilder<T>
- Direct Known Subclasses:
NavigatorTableParameterization.NavigatorTableParameterizationBuilder
,TreeParameterization.TreeParameterizationBuilder
- Enclosing class:
- StructuredParameterization
public static class StructuredParameterization.StructuredParameterizationBuilder<T extends StructuredParameterization.StructuredParameterizationBuilder<T>>
extends Object
Builder of structured parameterization.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a new instance of structured parameterization.comparator
(Comparator<Object> comparator) Sets the comparator of elements in structured view.Sets the contextemptyChoiceAllowed
(boolean value) Sets the value of "Is empty choice allowed" flag.multi
(boolean value) Sets the value of "Is multi" flag.searchBoxVisible
(boolean value) Sets the value of "Is search box visible" flag.protected final T
self()
Returns the self object.showCheckboxes
(boolean value) Sets the value of "Show checkboxes" flag.showImages
(boolean value) Sets the value of "Show images" flag.
-
Constructor Details
-
StructuredParameterizationBuilder
public StructuredParameterizationBuilder()
-
-
Method Details
-
searchBoxVisible
Sets the value of "Is search box visible" flag.- Parameters:
value
- Value for "Is search box visible" flag- Returns:
- this
-
multi
Sets the value of "Is multi" flag.- Parameters:
value
- Value for "Is multi" flag- Returns:
- the builder instance, never
null
.
-
emptyChoiceAllowed
Sets the value of "Is empty choice allowed" flag.- Parameters:
value
- Value for "Is empty choice allowed" flag- Returns:
- the builder instance, never
null
.
-
showImages
Sets the value of "Show images" flag.- Parameters:
value
- Value for "Show images" flag- Returns:
- the builder instance, never
null
.
-
showCheckboxes
Sets the value of "Show checkboxes" flag.- Parameters:
value
- Value for "Show checkboxes" flag- Returns:
- the builder instance, never
null
.
-
context
Sets the context- Parameters:
context
- the context, may benull
.- Returns:
- the builder instance, never
null
.
-
comparator
Sets the comparator of elements in structured view.- Parameters:
comparator
- the comparator instance, may benull
.- Returns:
- the builder instance, never
null
.
-
build
Returns a new instance of structured parameterization.- Returns:
- New instance of structured parameterization
-
self
Returns the self object.- Returns:
- the self object.
-