public class TLcdSLDColorMapEntry extends TLcdDataObject
TLcdSLDColorMap
.Constructor and Description |
---|
TLcdSLDColorMapEntry()
Default constructor
|
TLcdSLDColorMapEntry(Color aColor,
double aOpacity,
double aQuantity,
String aLabel)
Creates an instance for given color, opacity, quantity and label.
|
TLcdSLDColorMapEntry(TLcdDataType aDataType)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Returns the value of the property that maps to the
color attribute. |
String |
getLabel()
Returns the value of the property that maps to the
label attribute. |
double |
getOpacity()
Returns the value of the property that maps to the
opacity attribute. |
double |
getQuantity()
Returns the value of the property that maps to the
quantity attribute. |
void |
setColor(Color aValue)
Sets the value of the property that maps to the
color attribute. |
void |
setLabel(String aValue)
Sets the value of the property that maps to the
label attribute. |
void |
setOpacity(double aValue)
Sets the value of the property that maps to the
opacity attribute. |
void |
setQuantity(double aValue)
Sets the value of the property that maps to the
quantity attribute. |
public TLcdSLDColorMapEntry()
public TLcdSLDColorMapEntry(Color aColor, double aOpacity, double aQuantity, String aLabel)
aColor
- the given color.aOpacity
- the given opacity.aQuantity
- the given quantity.aLabel
- the given label.public TLcdSLDColorMapEntry(TLcdDataType aDataType)
public Color getColor()
color
attribute.COLOR_PROPERTY
property.public void setColor(Color aValue)
color
attribute.aValue
- the value to set for the COLOR_PROPERTY
property.public String getLabel()
label
attribute.LABEL_PROPERTY
property.public void setLabel(String aValue)
label
attribute.aValue
- the value to set for the LABEL_PROPERTY
property.public double getOpacity()
opacity
attribute.OPACITY_PROPERTY
property.public void setOpacity(double aValue)
opacity
attribute.aValue
- the value to set for the OPACITY_PROPERTY
property.public double getQuantity()
quantity
attribute.QUANTITY_PROPERTY
property.public void setQuantity(double aValue)
quantity
attribute.aValue
- the value to set for the QUANTITY_PROPERTY
property.