Class TLspDataObjectLabelTextProviderStyle.Builder<B extends TLspDataObjectLabelTextProviderStyle.Builder<B>>
java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle.Builder<B>
com.luciad.view.lightspeed.painter.label.style.ALspLabelTextProviderStyle.Builder<B>
com.luciad.view.lightspeed.painter.label.style.TLspDataObjectLabelTextProviderStyle.Builder<B>
- Enclosing class:
TLspDataObjectLabelTextProviderStyle
public static class TLspDataObjectLabelTextProviderStyle.Builder<B extends TLspDataObjectLabelTextProviderStyle.Builder<B>>
extends ALspLabelTextProviderStyle.Builder<B>
Builder for data object text provider using expressions.
You must provide at least one expression using expressions(String...)
.
By default, is uses the TLcdDataObjectExpressionLanguage
.
- Since:
- 2012.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCopies all properties from the given style.build()
Constructs a data object label text provider style with the set parameters.dataObjectExpressionLanguage
(ALcdDataObjectExpressionLanguage aExpressionLanguage) Sets the data object expression language, must not benull
.expressions
(String... aExpressions) Sets the data object expressions, must not benull
, but may be an empty array.Methods inherited from class com.luciad.view.lightspeed.style.ALspStyle.Builder
equals, hashCode
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
dataObjectExpressionLanguage
Sets the data object expression language, must not benull
.- Parameters:
aExpressionLanguage
- the data object expression language, must not benull
- Returns:
this
- Throws:
IllegalArgumentException
-if aExpressionLanguage==null
-
expressions
Sets the data object expressions, must not benull
, but may be an empty array.- Parameters:
aExpressions
- the data object expressions, must not benull
, but may be an empty array- Returns:
this
- Throws:
IllegalArgumentException
-if aExpressions==null
-
all
Copies all properties from the given style.- Overrides:
all
in classALspLabelTextProviderStyle.Builder<B extends TLspDataObjectLabelTextProviderStyle.Builder<B>>
- Parameters:
aStyle
- the style to copy- Returns:
this
-
build
Constructs a data object label text provider style with the set parameters.- Specified by:
build
in classALspLabelTextProviderStyle.Builder<B extends TLspDataObjectLabelTextProviderStyle.Builder<B>>
- Returns:
- the resulting data object label text provider style
-