Interface ColorMapEntry

  • All Known Implementing Classes:
    ColorMapEntryImpl

    public interface ColorMapEntry
    A basic interface for objects which can hold color map entries.
      <xs:element name="ColorMapEntry">
      <xs:complexType>
      <xs:attribute name="color" type="xs:string" use="required"/>
      <xs:attribute name="opacity" type="xs:double"/>
      <xs:attribute name="quantity" type="xs:double"/>
      <xs:attribute name="label" type="xs:string"/>
      </xs:complexType>
      </xs:element>
      
    • Method Detail

      • getLabel

        String getLabel()
        Label for this Color Map Entry
      • setLabel

        void setLabel​(String label)
        Parameters:
        label -
      • setColor

        void setColor​(Expression color)
        Expression resulting in a color
      • getColor

        Expression getColor()
        Returns:
        Expression evaluated into a color
      • setOpacity

        void setOpacity​(Expression opacity)
        Parameters:
        opacity - Expressed as a value between 0 and 1
      • getOpacity

        Expression getOpacity()
        Returns:
        Opacity expressed as a value between 0 and 1
      • setQuantity

        void setQuantity​(Expression quantity)
        Quantity marking the start of this color map entry.
      • getQuantity

        Expression getQuantity()
        Returns:
        Quanity marking the start of this color map entry