Class TLspRulerSegmentLabelContentStyle.Builder<B extends TLspRulerSegmentLabelContentStyle.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.controller.ruler.TLspRulerDistanceFormatStyle.Builder<B>
com.luciad.view.lightspeed.controller.ruler.TLspRulerSegmentLabelContentStyle.Builder<B>
- Enclosing class:
TLspRulerSegmentLabelContentStyle
public static class TLspRulerSegmentLabelContentStyle.Builder<B extends TLspRulerSegmentLabelContentStyle.Builder<B>>
extends TLspRulerDistanceFormatStyle.Builder<B>
Builder for the ruler segment label content style.
- Since:
- 2012.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCopies all properties from the given style.azimuthFormat
(Format aAzimuthFormat) Sets the format used to display azimuths.build()
Constructs a label style with the set parameters.displayAzimuth
(boolean aDisplayAzimuth) Set to true if the azimuth must be displayed as a label on the map.Methods inherited from class com.luciad.view.lightspeed.controller.ruler.TLspRulerDistanceFormatStyle.Builder
distanceFormat
Methods inherited from class com.luciad.view.lightspeed.style.ALspStyle.Builder
equals, hashCode
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
azimuthFormat
Sets the format used to display azimuths. The default .- Parameters:
aAzimuthFormat
- the distance format- Returns:
- this
-
displayAzimuth
Set to true if the azimuth must be displayed as a label on the map. Default is false.- Parameters:
aDisplayAzimuth
- True to display azimuth on the map, false otherwise.- Returns:
- this
-
all
Copies all properties from the given style.- Overrides:
all
in classTLspRulerDistanceFormatStyle.Builder<B extends TLspRulerSegmentLabelContentStyle.Builder<B>>
- Parameters:
aStyle
- the style to copy- Returns:
this
-
build
Constructs a label style with the set parameters.- Overrides:
build
in classTLspRulerDistanceFormatStyle.Builder<B extends TLspRulerSegmentLabelContentStyle.Builder<B>>
- Returns:
- the new label style
-