Class TLcdSLDColorMapEntry

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

public class TLcdSLDColorMapEntry extends TLcdDataObject
Entry for a TLcdSLDColorMap.
  • Constructor Details

    • TLcdSLDColorMapEntry

      public TLcdSLDColorMapEntry()
      Default constructor
    • TLcdSLDColorMapEntry

      public TLcdSLDColorMapEntry(Color aColor, double aOpacity, double aQuantity, String aLabel)
      Creates an instance for given color, opacity, quantity and label.
      Parameters:
      aColor - the given color.
      aOpacity - the given opacity.
      aQuantity - the given quantity.
      aLabel - the given label.
    • TLcdSLDColorMapEntry

      public TLcdSLDColorMapEntry(TLcdDataType aDataType)
      Default constructor
  • Method Details

    • getColor

      public Color getColor()
      Returns the value of the property that maps to the color attribute.
      Returns:
      the value of the COLOR_PROPERTY property.
    • setColor

      public void setColor(Color aValue)
      Sets the value of the property that maps to the color attribute.
      Parameters:
      aValue - the value to set for the COLOR_PROPERTY property.
    • getLabel

      public String getLabel()
      Returns the value of the property that maps to the label attribute.
      Returns:
      the value of the LABEL_PROPERTY property.
    • setLabel

      public void setLabel(String aValue)
      Sets the value of the property that maps to the label attribute.
      Parameters:
      aValue - the value to set for the LABEL_PROPERTY property.
    • getOpacity

      public double getOpacity()
      Returns the value of the property that maps to the opacity attribute.
      Returns:
      the value of the OPACITY_PROPERTY property.
    • setOpacity

      public void setOpacity(double aValue)
      Sets the value of the property that maps to the opacity attribute.
      Parameters:
      aValue - the value to set for the OPACITY_PROPERTY property.
    • getQuantity

      public double getQuantity()
      Returns the value of the property that maps to the quantity attribute.
      Returns:
      the value of the QUANTITY_PROPERTY property.
    • setQuantity

      public void setQuantity(double aValue)
      Sets the value of the property that maps to the quantity attribute.
      Parameters:
      aValue - the value to set for the QUANTITY_PROPERTY property.