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 Constructor Description StructuredParameterizationBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuredParameterization
build()
Returns a new instance of structured parameterization.T
comparator(Comparator<Object> comparator)
Sets the comparator of elements in structured view.T
context(String context)
Sets the contextT
emptyChoiceAllowed(boolean value)
Sets the value of "Is empty choice allowed" flag.T
multi(boolean value)
Sets the value of "Is multi" flag.T
searchBoxVisible(boolean value)
Sets the value of "Is search box visible" flag.protected T
self()
Returns the self object.T
showCheckboxes(boolean value)
Sets the value of "Show checkboxes" flag.T
showImages(boolean value)
Sets the value of "Show images" flag.
-
-
-
Method Detail
-
searchBoxVisible
public T searchBoxVisible(boolean value)
Sets the value of "Is search box visible" flag.- Parameters:
value
- Value for "Is search box visible" flag- Returns:
- this
-
multi
public T multi(boolean value)
Sets the value of "Is multi" flag.- Parameters:
value
- Value for "Is multi" flag- Returns:
- the builder instance, never
null
.
-
emptyChoiceAllowed
public T emptyChoiceAllowed(boolean value)
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
public T showImages(boolean value)
Sets the value of "Show images" flag.- Parameters:
value
- Value for "Show images" flag- Returns:
- the builder instance, never
null
.
-
showCheckboxes
public T showCheckboxes(boolean value)
Sets the value of "Show checkboxes" flag.- Parameters:
value
- Value for "Show checkboxes" flag- Returns:
- the builder instance, never
null
.
-
context
public T context(String context)
Sets the context- Parameters:
context
- the context, may benull
.- Returns:
- the builder instance, never
null
.
-
comparator
public T comparator(Comparator<Object> comparator)
Sets the comparator of elements in structured view.- Parameters:
comparator
- the comparator instance, may benull
.- Returns:
- the builder instance, never
null
.
-
build
public StructuredParameterization build()
Returns a new instance of structured parameterization.- Returns:
- New instance of structured parameterization
-
self
protected final T self()
Returns the self object.- Returns:
- the self object.
-
-