public static class TLspDataObjectLabelTextProviderStyle.Builder<B extends TLspDataObjectLabelTextProviderStyle.Builder<B>> extends ALspLabelTextProviderStyle.Builder<B>
You must provide at least one expression using expressions(String...)
.
By default, is uses the TLcdDataObjectExpressionLanguage
.
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
B |
all(ALspStyle aStyle)
Copies all properties from the given style.
|
TLspDataObjectLabelTextProviderStyle |
build()
Constructs a data object label text provider style with the set
parameters.
|
B |
dataObjectExpressionLanguage(ALcdDataObjectExpressionLanguage aExpressionLanguage)
Sets the data object expression language, must not be
null . |
B |
expressions(String... aExpressions)
Sets the data object expressions, must not be
null , but may be an empty array. |
equals, hashCode
public B dataObjectExpressionLanguage(ALcdDataObjectExpressionLanguage aExpressionLanguage)
null
.aExpressionLanguage
- the data object expression language, must not be null
this
IllegalArgumentException
- if aExpressionLanguage==null
public B expressions(String... aExpressions)
null
, but may be an empty array.aExpressions
- the data object expressions, must not be null
, but may be an empty arraythis
IllegalArgumentException
- if aExpressions==null
public B all(ALspStyle aStyle)
all
in class ALspLabelTextProviderStyle.Builder<B extends TLspDataObjectLabelTextProviderStyle.Builder<B>>
aStyle
- the style to copythis
public TLspDataObjectLabelTextProviderStyle build()
build
in class ALspLabelTextProviderStyle.Builder<B extends TLspDataObjectLabelTextProviderStyle.Builder<B>>