| 
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.7.2) E12063-10  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  
oracle.dss.dataView.BaseComponentXML
      
oracle.dss.graph.BaseGraphComponent
          
oracle.dss.graph.Threshold
public class Threshold
The threshold component of the funnel graph. A threshold usually represents a range of percent values with a color.
| Field Summary | 
|---|
| Fields inherited from class oracle.dss.dataView.BaseComponentXML | 
|---|
m_jsfHashMap | 
| Constructor Summary | |
|---|---|
Threshold(CommonGraph graph) | 
|
| Method Summary | |
|---|---|
 java.awt.Color | 
getColor(int threshold)Retrieves the fill color for the markers of the threshold.  | 
protected  java.lang.String | 
getComponentName() | 
 double | 
getMaxValue(int threshold)Returns the maximum value for the given threshold.  | 
 double | 
getMinValue(int threshold)Returns the minimum value for the given threshold.  | 
 int | 
getThresholdId(int group)Retrieves the index of the threshold for a given group.  | 
protected  boolean | 
getThresholdItemsXML(boolean allProperties, boolean allOverriddenProperties, oracle.dss.util.xml.ContainerNode node) | 
protected  boolean | 
getThresholdXML(boolean allProperties, boolean allOverriddenProperties, oracle.dss.util.xml.ObjectNode thresholdNode, int i) | 
protected  oracle.dss.util.xml.ContainerNode | 
getXML(boolean allProperties, boolean allOverriddenProperties) | 
 boolean | 
isTransparent(int threshold)Indicates whether the fill color for the markers of the threshold is transparent.  | 
 boolean | 
isXMLBeingSet()Checks if XML setting is on  | 
protected  void | 
resetStyle() | 
 void | 
setColor(java.awt.Color newColor, int threshold)Specifies the fill color for the markers of the threshold.  | 
 void | 
setColorValueRange(java.awt.Color[] colors, double[][] values)Sets the threshold for a funnel graph with the given set of colors and value ranges.  | 
 void | 
setDefaultColor(java.awt.Color color)Sets the default Color  | 
 void | 
setMaxValue(int threshold, double maxVal)Specifies the maximum value for the given threshold.  | 
 void | 
setMinValue(int threshold, double minVal)Specifies the minimum value for the given threshold.  | 
protected  void | 
setThresholdItemsXML(oracle.dss.util.xml.ContainerNode node) | 
protected  void | 
setThresholdXML(oracle.dss.util.xml.ObjectNode thresholdNode, int threshold, boolean allProperties, java.util.HashMap map) | 
 void | 
setTransparent(boolean yesNo, int threshold)Specifies whether the fill color for the markers of the threshold is transparent.  | 
protected  void | 
setXML(oracle.dss.util.xml.ContainerNode node, boolean allProperties) | 
protected  void | 
setXML(oracle.dss.util.xml.ContainerNode node, boolean allProperties, java.util.HashMap map) | 
| Methods inherited from class oracle.dss.dataView.BaseComponentXML | 
|---|
getNonstyleXML, getStyleXML, getStyleXML, getXML, setNonstyleXML, setNonstyleXML, setStyleXML, setXML, setXML, setXML, setXML | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Threshold(CommonGraph graph)
graph - the graph that this object belongs to| Method Detail | 
|---|
public void setColorValueRange(java.awt.Color[] colors,
                               double[][] values)
                        throws ThresholdOutOfRangeException
colors - the array of colors to be used for the thresholdvalues - the values to be used for the corresponding colors. This is a 2 dimensional array where the length of the 1st dimnension specifies the threshold count that corresponds to the number of colors. The length of the 2nd dimension should be 2 where the first index specifies the minimum value and the 2nd index specifies the maximum value for that threshold.ThresholdOutOfRangeException
public java.awt.Color getColor(int threshold)
                        throws ThresholdOutOfRangeException
getColor in interface UIThresholdColorthreshold - the index of the threshold. The values range from 0 to the value of graph.getThresholdObjectCount minus 1.null.ThresholdOutOfRangeException - if threshold is less than zero, or greater than or equal to the value of the ThresholdObjectCount property of the graph.ThresholdOutOfRangeException
public void setColor(java.awt.Color newColor,
                     int threshold)
              throws ThresholdOutOfRangeException
setColor in interface UIThresholdColorthreshold - the index of the threshold. The values range from 0 to the value of graph.getThresholdObjectCount minus 1.newColor - the fill color for the markers of the threshold. If this is null, the fill color is made transparent.ThresholdOutOfRangeException - if threshold is less than zero, or greater than or equal to the value of the ThresholdObjectCount property of the graph.ThresholdOutOfRangeExceptionGraph.getThresholdObjectCount()
public double getMinValue(int threshold)
                   throws ThresholdOutOfRangeException
threshold - the index of the threshold for which the minimum value has to be retrieved. The index values range from 0 to the value of graph.getThresholdObjectCount minus 1.ThresholdOutOfRangeException - if threshold is less than zero, or greater than or equal to the value of the ThresholdObjectCount property of the graph.ThresholdOutOfRangeException
public void setMinValue(int threshold,
                        double minVal)
                 throws ThresholdOutOfRangeException
threshold - the index of the threshold for which the minimum value has to be set. The index values range from 0 to the value of graph.getThresholdObjectCount minus 1.minVal - the minimum value to be set for the given thresholdThresholdOutOfRangeException - if threshold is less than zero, or greater than or equal to the value of the ThresholdObjectCount property of the graph.ThresholdOutOfRangeException
public double getMaxValue(int threshold)
                   throws ThresholdOutOfRangeException
threshold - the index of the threshold for which the maximum value has to be retrieved. The index values range from 0 to the value of graph.getThresholdObjectCount minus 1.ThresholdOutOfRangeException - if threshold is less than zero, or greater than or equal to the value of the ThresholdObjectCount property of the graph.ThresholdOutOfRangeException
public void setMaxValue(int threshold,
                        double maxVal)
                 throws ThresholdOutOfRangeException
threshold - the index of the threshold for which the maximum value has to be set. The index values range from 0 to the value of graph.getThresholdObjectCount minus 1.maxVal - the maximum value to be set for the given thresholdThresholdOutOfRangeException - if threshold is less than zero, or greater than or equal to the value of the ThresholdObjectCount property of the graph.ThresholdOutOfRangeException
public boolean isTransparent(int threshold)
                      throws ThresholdOutOfRangeException
setBorderTransparent and the setTransparent methods to true. When an object is transparent, it is not visible, but you can select it.threshold - the index of the threshold. The values range from 0 to the value of graph.getThresholdObjectCount minus 1.true if the fill color for the markers of the threshold is transparent, false if the fill color for the markers of this threshold is visibleThresholdOutOfRangeException - if threshold is less than zero, or greater than or equal to the value of the ThresholdObjectCount property of the graphThresholdOutOfRangeException
public void setTransparent(boolean yesNo,
                           int threshold)
                    throws ThresholdOutOfRangeException
setBorderTransparent and the setTransparent methods to true. When an object is transparent, it is not visible, but you can select it.threshold - the index of the threshold. The values range from 0 to the value of graph.getThresholdObjectCount minus 1.yesNo - true to make the fill color for the markers of the threshold transparent, false to make the fill color for the markers of this threshold visibleThresholdOutOfRangeException - if threshold is less than zero, or greater than or equal to the value of the ThresholdObjectCount property of the graphThresholdOutOfRangeExceptionpublic int getThresholdId(int group)
getThresholdId in interface UIThresholdColorgroup - the group indexpublic void setDefaultColor(java.awt.Color color)
color - The new Valuepublic boolean isXMLBeingSet()
isXMLBeingSet in interface UIThresholdColortrue if xml setting is on false if xml setting is offprotected java.lang.String getComponentName()
getComponentName in class BaseComponentXML
protected oracle.dss.util.xml.ContainerNode getXML(boolean allProperties,
                                                   boolean allOverriddenProperties)
Threshold object.
protected boolean getThresholdItemsXML(boolean allProperties,
                                       boolean allOverriddenProperties,
                                       oracle.dss.util.xml.ContainerNode node)
protected boolean getThresholdXML(boolean allProperties,
                                  boolean allOverriddenProperties,
                                  oracle.dss.util.xml.ObjectNode thresholdNode,
                                  int i)
protected void setXML(oracle.dss.util.xml.ContainerNode node,
                      boolean allProperties,
                      java.util.HashMap map)
protected void setXML(oracle.dss.util.xml.ContainerNode node,
                      boolean allProperties)
protected void setThresholdItemsXML(oracle.dss.util.xml.ContainerNode node)
protected void setThresholdXML(oracle.dss.util.xml.ObjectNode thresholdNode,
                               int threshold,
                               boolean allProperties,
                               java.util.HashMap map)
protected void resetStyle()
  | 
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.7.2) E12063-10  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||