public final class Threshold
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getColor(int index)
Returns the Color used to format data items that fall within the threshold.
|
double |
getMaxValue(int index)
Returns the upper bound of the threshold.
|
void |
setColor(int index,
java.awt.Color color)
Specifies the Color used to format data items that fall within the threshold.
|
void |
setMaxValue(int index,
double maxValue)
Specifies the upper bound of the threshold.
|
public void setColor(int index,
java.awt.Color color)
throws ThresholdOutOfRangeException
index - the index of the thresholdcolor - the Color of the thresholdThresholdOutOfRangeExceptionpublic java.awt.Color getColor(int index)
throws ThresholdOutOfRangeException
index - the index of the thresholdThresholdOutOfRangeExceptionpublic void setMaxValue(int index,
double maxValue)
throws ThresholdOutOfRangeException
index - the index of the thresholdmaxValue - the upper bound of this thresholdThresholdOutOfRangeExceptionpublic double getMaxValue(int index)
throws ThresholdOutOfRangeException
index - the index of the thresholdThresholdOutOfRangeException