Class TLcdSLDLabelPlacement

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDLabelPlacement
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdSLDLabelPlacement extends TLcdDataObject
The "LabelPlacement" specifies where and how a text label should be rendered relative to a geometry. The present mechanism is poorly aligned with CSS/SVG. The placement is defined by either a point placement or a line placement, but these can not be combined.
  • Constructor Details

    • TLcdSLDLabelPlacement

      public TLcdSLDLabelPlacement()
      Empty constructor. No point are line placement is set.
    • TLcdSLDLabelPlacement

      public TLcdSLDLabelPlacement(TLcdSLDPointPlacement aPointPlacement)
      Constructor with a given point placement.
      Parameters:
      aPointPlacement - the given placement.
    • TLcdSLDLabelPlacement

      public TLcdSLDLabelPlacement(TLcdSLDLinePlacement aLinePlacement)
      Constructor with a given line placement.
      Parameters:
      aLinePlacement - the given line placement.
    • TLcdSLDLabelPlacement

      public TLcdSLDLabelPlacement(TLcdDataType aDataType)
      Empty constructor. No point are line placement is set.
  • Method Details

    • getPointPlacement

      public TLcdSLDPointPlacement getPointPlacement()
      Gets the point placement.
      Returns:
      the point placement.
    • setPointPlacement

      public void setPointPlacement(TLcdSLDPointPlacement aPointPlacement)
      Sets the point placement. Since point placement and line placement are mutually exclusive, setting a non-null point placement will nullify the line placement.
      Parameters:
      aPointPlacement - the point placement.
    • getLinePlacement

      public TLcdSLDLinePlacement getLinePlacement()
      Gest the line placement.
      Returns:
      the line placement.
    • setLinePlacement

      public void setLinePlacement(TLcdSLDLinePlacement aLinePlacement)
      Sets the line placement. Since point placement and line placement are mutually exclusive, setting a non-null line placement will nullify the point placement.