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

E12063-05

oracle.adf.view.faces.bi.component.imageView
Class Threshold

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.imageView.Threshold
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
Threshold, Threshold

public class Threshold
extends BIComplexAttributeBase

Since:
11.0

Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey BORDER_COLOR_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey FILL_COLOR_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey INDEX_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey MAX_VALUE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SFX_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey TEXT_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
 
Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
ID_KEY, m_parent, TRANSIENT_KEY
 
Constructor Summary
Threshold()
           
 
Method Summary
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 java.awt.Color getBorderColor()
          Retrieves the border color of this threshold section.
 java.awt.Color getFillColor()
          Retrieves the fill color of this threshold section.
 SpecialEffects getSpecialEffects()
           
 java.lang.String getText()
          Get the legend text of this threshold section
 double getThresholdMaxValue()
          Retrieves the max value of this threshold.
protected  void resetStyleProperties()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object stateObj)
           
 void setBorderColor(java.awt.Color newColor)
          Specifies the border color of this threshold section.
 void setFillColor(java.awt.Color newColor)
          Specifies the fill color of this threshold section.
 void setSpecialEffects(SpecialEffects sfx)
           
 void setText(java.lang.String text)
          Specifies the text of this threshold section
 void setThresholdMaxValue(double maxValue)
          Specifies thresholdMaxValue for this threshold.
 
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

FILL_COLOR_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey FILL_COLOR_KEY

BORDER_COLOR_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey BORDER_COLOR_KEY

TEXT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey TEXT_KEY

MAX_VALUE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey MAX_VALUE_KEY

SFX_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SFX_KEY

INDEX_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey INDEX_KEY
Constructor Detail

Threshold

public Threshold()
Method Detail

getFillColor

public java.awt.Color getFillColor()
Retrieves the fill color of this threshold section.

Returns:
The fill color of this threshold section.

setFillColor

public void setFillColor(java.awt.Color newColor)
Specifies the fill color of this threshold section.

Parameters:
newColor - The fill color of this threshold section.

getBorderColor

public java.awt.Color getBorderColor()
Retrieves the border color of this threshold section.

Returns:
The border color of this threshold section.

setBorderColor

public void setBorderColor(java.awt.Color newColor)
Specifies the border color of this threshold section.

Parameters:
newColor - The border color of this threshold section.

getText

public java.lang.String getText()
Get the legend text of this threshold section

Returns:
String to display as the legend text of this threshold section.

setText

public void setText(java.lang.String text)
Specifies the text of this threshold section

Parameters:
text - String to display as the legend text of this threshold section.

setThresholdMaxValue

public void setThresholdMaxValue(double maxValue)
Specifies thresholdMaxValue for this threshold. 0 is the minimum value of the first threshold. Maximum threshold value of the previous threshold becomes the current threshold's minimum. The thresholdMaxValue of the last threshold will be ignored. Maximum value of the Gauge becomes the thresholdMaxValue for the last threshold.

Parameters:
maxValue -

getThresholdMaxValue

public double getThresholdMaxValue()
Retrieves the max value of this threshold.

Returns:

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object stateObj)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class BIComplexAttributeBase

getSpecialEffects

public SpecialEffects getSpecialEffects()

setSpecialEffects

public void setSpecialEffects(SpecialEffects sfx)

resetStyleProperties

protected void resetStyleProperties()

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Specified by:
getBeanType in class BIComplexAttributeBase

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

E12063-05

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