Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1)

E12063-04

oracle.dss.gauge
Class Threshold

java.lang.Object
  extended by oracle.dss.gauge.BaseGaugeComponent
      extended by oracle.dss.gauge.Threshold

public class Threshold
extends BaseGaugeComponent

Since:
11.0

Field Summary
 
Fields inherited from class oracle.dss.gauge.BaseGaugeComponent
m_commonGauge, m_compType
 
Constructor Summary
Threshold(CommonGauge gauge)
           
 
Method Summary
 java.awt.Color getBorderColor(int index)
          Retrieves the fill color of the given threshold.
 java.awt.Color getFillColor(int index)
          Retrieves the fill color of the given threshold.
 SFX getSFX(int index)
          Retrieves the SFX of the given threshold.
 java.lang.String getText(int index)
          Retrieves the text of the given threshold.
 void setBorderColor(int index, java.awt.Color color)
          Specifies the border color of the given threshold.
 void setFillColor(int index, java.awt.Color color)
          Specifies the fill color of the given threshold.
 void setText(int index, java.lang.String str)
          Specifies the text of the given threshold.
 int size()
          Retrieves the number of thresholds for which attributes have been defined.
 
Methods inherited from class oracle.dss.gauge.BaseGaugeComponent
getComponentName, getComponentType, selectObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Threshold

public Threshold(CommonGauge gauge)
Method Detail

getFillColor

public java.awt.Color getFillColor(int index)
Retrieves the fill color of the given threshold.

Returns:
The fill color of the given threshold.

setFillColor

public void setFillColor(int index,
                         java.awt.Color color)
Specifies the fill color of the given threshold.

Parameters:
color - The color of the given threshold.
index - Threshold index to set

getBorderColor

public java.awt.Color getBorderColor(int index)
Retrieves the fill color of the given threshold.

Returns:
The fill color of the given threshold.

setBorderColor

public void setBorderColor(int index,
                           java.awt.Color color)
Specifies the border color of the given threshold.

Parameters:
color - The color of the given threshold.
index - Threshold index to set

getText

public java.lang.String getText(int index)
Retrieves the text of the given threshold.

Parameters:
index - Threshold index to set
Returns:
String The text of the given threshold.

setText

public void setText(int index,
                    java.lang.String str)
Specifies the text of the given threshold.

Parameters:
str - The text of the given threshold.
index - Threshold index to set

getSFX

public SFX getSFX(int index)
Retrieves the SFX of the given threshold.

Returns:
The SFX of the given threshold.

size

public int size()
Retrieves the number of thresholds for which attributes have been defined.

Returns:
Number of thresholds as a integer

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1)

E12063-04

Copyright © 1997, 2010, Oracle. All rights reserved.