public class TLcdSLDCategorize extends TLcdSLDFunction
Modifier and Type | Class and Description |
---|---|
static class |
TLcdSLDCategorize.ThresholdsBelongTo
Indicates whether a lookup value that is equal to a threshold should be
mapped on to the
preceeding or the succeeding value. |
Constructor and Description |
---|
TLcdSLDCategorize()
Default Constructor
|
TLcdSLDCategorize(TLcdDataType aType)
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addThreshold(TLcdSLDParameterValue aThreshold,
TLcdSLDParameterValue aValue)
Adds a threshold and the value that is to be used if the lookup is larger
than that threshold, and smaller than the subsequent threshold.
|
TLcdSLDParameterValue |
getFirstValue()
Gets the value of the
'FirstValue' property. |
TLcdSLDParameterValue |
getLookupValue()
Gets the value of the
'LookupValue' property. |
List<TLcdSLDParameterValue> |
getThreshold()
Gets the value of the
'Threshold' property. |
TLcdSLDCategorize.ThresholdsBelongTo |
getThresholdsBelongTo()
Gets the value of the
'thresholdsBelongTo' property. |
List<TLcdSLDParameterValue> |
getValue()
Gets the value of the
'Value' property. |
void |
setFirstValue(TLcdSLDParameterValue aValue)
Sets the value of the
'FirstValue' property. |
void |
setLookupValue(TLcdSLDParameterValue aValue)
Sets the value of the
'LookupValue' property. |
void |
setThresholdsBelongTo(TLcdSLDCategorize.ThresholdsBelongTo aValue)
Sets the value of the
'thresholdsBelongTo' property. |
getFallbackValue, setFallbackValue
public TLcdSLDCategorize()
public TLcdSLDCategorize(TLcdDataType aType)
public TLcdSLDCategorize.ThresholdsBelongTo getThresholdsBelongTo()
'thresholdsBelongTo'
property.
Indicates whether a lookup value that is equal to a threshold should be
mapped on to the preceeding
or the succeeding
value.
'thresholdsBelongTo'
property.public void setThresholdsBelongTo(TLcdSLDCategorize.ThresholdsBelongTo aValue)
'thresholdsBelongTo'
property.
Indicates whether a lookup value that is equal to a threshold should be
mapped on to the preceeding
or the succeeding
value.
aValue
- the value to set for the 'thresholdsBelongTo'
property.public TLcdSLDParameterValue getLookupValue()
'LookupValue'
property.
The lookup value is the input to the function, and is usually dependent on the object that is being styled.
'LookupValue'
property.public void setLookupValue(TLcdSLDParameterValue aValue)
'LookupValue'
property.
The lookup value is the input to the function, and is usually dependent on the object that is being styled.
aValue
- the value to set for the 'LookupValue'
property.public TLcdSLDParameterValue getFirstValue()
'FirstValue'
property.
The first value is returned if the lookup value is smaller than the first threshold.
'FirstValue'
property.public void setFirstValue(TLcdSLDParameterValue aValue)
'FirstValue'
property.
The first value is returned if the lookup value is smaller than the first threshold.
aValue
- the value to set for the 'FirstValue'
property.public List<TLcdSLDParameterValue> getThreshold()
'Threshold'
property.'Threshold'
property.public List<TLcdSLDParameterValue> getValue()
'Value'
property.'Value'
property.public void addThreshold(TLcdSLDParameterValue aThreshold, TLcdSLDParameterValue aValue)
setFirstValue(TLcdSLDParameterValue)
to set the value used when
the lookup is smaller than the first threshold.
Thresholds should be added in increasing order.
aThreshold
- A threshold, should evaluate to a value that is
comparable to the lookup valueaValue
- The value returned when the lookup is larger than aThreshold.