Class TLcdXYGridOverlayLabelBuilder

java.lang.Object
com.luciad.view.map.TLcdXYGridOverlayLabelBuilder

public final class TLcdXYGridOverlayLabelBuilder extends Object

Builder that makes it possible to create XY grid overlay labels. These are text labels that are added to the view and show a grid coordinate. These labels can have a pre-defined content, and style. Note that overlay labels are not attached to grid lines, but are added to the view.

When all properties of TLcdXYGridOverlayLabelBuilder are set, it can be added to a TLcdXYGridLayer, which will build the overlay label, and paint it on the view.

An example of how to use this builder:


   TLcdXYGridOverlayLabelBuilder overlayLabelBuilder =
       TLcdXYGridOverlayLabelBuilder.newBuilder()
                                    .content(TLcdXYGridOverlayLabelBuilder.Content.COORDINATE_AT_CENTER)
                                    .style(gridStyle);

   TLcdXYGridLayer gridLayer = ...;
   gridLayer.addOverlayLabel(overlayLabelBuilder, TLcdOverlayLayout.Location.NORTH);
 
Since:
2016.0