| 
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.0.0) E17492-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.dss.sparkChart.Threshold
public final class Threshold
Defines methods for specifying thresholds for formatting data items on a spark chart.
| Method Summary | |
|---|---|
 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.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public void setColor(int index,
                     java.awt.Color color)
              throws ThresholdOutOfRangeException
index - the index of the thresholdcolor - the Color of the threshold
ThresholdOutOfRangeException
public java.awt.Color getColor(int index)
                        throws ThresholdOutOfRangeException
index - the index of the threshold
ThresholdOutOfRangeException
public void setMaxValue(int index,
                        double maxValue)
                 throws ThresholdOutOfRangeException
index - the index of the thresholdmaxValue - the upper bound of this threshold
ThresholdOutOfRangeException
public double getMaxValue(int index)
                   throws ThresholdOutOfRangeException
index - the index of the threshold
ThresholdOutOfRangeException
  | 
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.0.0) E17492-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||