Class ALspLabelTextProviderStyle.Builder<B extends ALspLabelTextProviderStyle.Builder<B>>
java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle.Builder<B>
com.luciad.view.lightspeed.painter.label.style.ALspLabelTextProviderStyle.Builder<B>
- Direct Known Subclasses:
TLspDataObjectLabelTextProviderStyle.Builder
,TLspRulerDistanceFormatStyle.Builder
- Enclosing class:
ALspLabelTextProviderStyle
public abstract static class ALspLabelTextProviderStyle.Builder<B extends ALspLabelTextProviderStyle.Builder<B>>
extends ALspStyle.Builder<B>
Builder for text provider styles. By default this builder creates and ALspLabelTextProviderStyle
that returns the result of
toString
of the domain object. ALspLabelTextProviderStyle
extension can extend this builder to create a custom Builder.- Since:
- 2012.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets all parameters on the builder based on the given style.abstract ALspLabelTextProviderStyle
build()
Builds the style with the set parameters.Methods inherited from class com.luciad.view.lightspeed.style.ALspStyle.Builder
equals, hashCode
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
all
Description copied from class:ALspStyle.Builder
Sets all parameters on the builder based on the given style. This is useful for example to create a new style that has almost all properties equal to another style.- Specified by:
all
in classALspStyle.Builder<B extends ALspLabelTextProviderStyle.Builder<B>>
- Parameters:
aStyle
- the style to copy- Returns:
this
-
build
Description copied from class:ALspStyle.Builder
Builds the style with the set parameters.- Specified by:
build
in classALspStyle.Builder<B extends ALspLabelTextProviderStyle.Builder<B>>
- Returns:
- the resulting style
-