|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adf.view.faces.bi.component.BIComplexAttributeBase
oracle.adf.view.faces.bi.component.imageView.GradientStopStyle
public class GradientStopStyle
Field Summary | |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
GRADIENT_STOP_COLOR_KEY
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
GRADIENT_STOP_POSITION_KEY
|
protected java.awt.Color |
m_defaultGradientStopColor
|
protected double |
m_defaultGradientStopPosition
|
protected int |
m_defaultStopIndex
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
STOP_INDEX_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 | |
---|---|
GradientStopStyle()
|
Method Summary | |
---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
|
java.awt.Color |
getGradientStopColor()
Retrieves the color of a stop. |
double |
getGradientStopPosition()
Retrieves position of a stop in the gradient of the graph. |
int |
getStopIndex()
Retrieves the index of this GradientStop. |
void |
resetStyleProperties()
Applications do not need to call this method. |
void |
setDefaultValues(int stopIndex,
java.awt.Color stopColor,
double stopPosition)
Application developers do not need to call this method. |
void |
setGradientStopColor(java.awt.Color newColor)
Specifies the color of a stop. |
void |
setGradientStopPosition(double newPos)
Sets the position of a stop in a gradient. |
void |
setStopIndex(int index)
Specifies the index of this GradientStop. |
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase |
---|
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, restoreState, 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 |
---|
protected int m_defaultStopIndex
protected java.awt.Color m_defaultGradientStopColor
protected double m_defaultGradientStopPosition
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey STOP_INDEX_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey GRADIENT_STOP_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey GRADIENT_STOP_POSITION_KEY
Constructor Detail |
---|
public GradientStopStyle()
Method Detail |
---|
public int getStopIndex()
public void setStopIndex(int index)
index
- of this GradientStoppublic java.awt.Color getGradientStopColor()
public void setGradientStopColor(java.awt.Color newColor)
newColor
- The color for the stop.public double getGradientStopPosition()
For example, if the gradient direction is GD_DOWN
, and the
position for stop 0 is 0, then the color for stop 0 appears at the
top of the gradient.
If the position for stop 1 is 50, then the color for stop 1 appears
in the middle of the gradient.
If the position for stop 2 is 100, then the color for stop 2 appears
at the bottom of the gradient.
public void setGradientStopPosition(double newPos)
GD_DOWN
, and the
position for stop 0 is 0, then the color for stop 0 appears at the
top of the gradient.
If the position for stop 1 is 50, then the color for stop 1 appears
in the middle of the gradient.
If the position for stop 2 is 100, then the color for stop 2 appears
at the bottom of the gradient.
newPos
- The position of the specified stop in the gradient.
Valid values are from 0 - 100.public void resetStyleProperties()
public void setDefaultValues(int stopIndex, java.awt.Color stopColor, double stopPosition)
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |