Package com.luciad.ogc.sld.model
Class TLcdSLDColorMapEntry
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDColorMapEntry
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Entry for a
TLcdSLDColorMap
.-
Constructor Summary
ConstructorDescriptionDefault constructorTLcdSLDColorMapEntry
(TLcdDataType aDataType) Default constructorTLcdSLDColorMapEntry
(Color aColor, double aOpacity, double aQuantity, String aLabel) Creates an instance for given color, opacity, quantity and label. -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Returns the value of the property that maps to thecolor
attribute.getLabel()
Returns the value of the property that maps to thelabel
attribute.double
Returns the value of the property that maps to theopacity
attribute.double
Returns the value of the property that maps to thequantity
attribute.void
Sets the value of the property that maps to thecolor
attribute.void
Sets the value of the property that maps to thelabel
attribute.void
setOpacity
(double aValue) Sets the value of the property that maps to theopacity
attribute.void
setQuantity
(double aValue) Sets the value of the property that maps to thequantity
attribute.
-
Constructor Details
-
TLcdSLDColorMapEntry
public TLcdSLDColorMapEntry()Default constructor -
TLcdSLDColorMapEntry
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
Default constructor
-
-
Method Details
-
getColor
Returns the value of the property that maps to thecolor
attribute.- Returns:
- the value of the
COLOR_PROPERTY
property.
-
setColor
Sets the value of the property that maps to thecolor
attribute.- Parameters:
aValue
- the value to set for theCOLOR_PROPERTY
property.
-
getLabel
Returns the value of the property that maps to thelabel
attribute.- Returns:
- the value of the
LABEL_PROPERTY
property.
-
setLabel
Sets the value of the property that maps to thelabel
attribute.- Parameters:
aValue
- the value to set for theLABEL_PROPERTY
property.
-
getOpacity
public double getOpacity()Returns the value of the property that maps to theopacity
attribute.- Returns:
- the value of the
OPACITY_PROPERTY
property.
-
setOpacity
public void setOpacity(double aValue) Sets the value of the property that maps to theopacity
attribute.- Parameters:
aValue
- the value to set for theOPACITY_PROPERTY
property.
-
getQuantity
public double getQuantity()Returns the value of the property that maps to thequantity
attribute.- Returns:
- the value of the
QUANTITY_PROPERTY
property.
-
setQuantity
public void setQuantity(double aValue) Sets the value of the property that maps to thequantity
attribute.- Parameters:
aValue
- the value to set for theQUANTITY_PROPERTY
property.
-