|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.dss.graph.BaseGraphComponent | +--oracle.dss.graph.BaseReferenceLine
The base class for reference lines of the graph. A single reference line object represents three lines along an axis. These lines highlight axis values that are of particular interest. For example, in a graph that plots medical test results, you might show reference lines for minimum and maximum acceptable values.
Method Summary | |
java.awt.Color |
getLineColor(int index) Retrieves the color of the reference line. |
int |
getLineWidth(int index) Retrieves the width of the reference line in pixels. |
java.lang.String |
getText(int index) Retrieves the text for the reference line. |
double |
getValue(int index) Retrieves the value at which the reference line is displayed. |
boolean |
isDisplayedInLegend(int index) Indicates whether the reference line appears in the legend. |
boolean |
isVisible(int index) Indicates whether a reference line is visible. |
boolean |
selectObject(int series, int group) Selects the reference line on the graph. |
void |
setDisplayedInLegend(boolean visible, int index) Specifies whether to display the reference line in the legend. |
void |
setLineColor(java.awt.Color newColor, int index) Specifies the color of the reference line. |
void |
setLineWidth(int width, int index) Specifies the width of the reference line in pixels. |
void |
setText(java.lang.String str, int index) Specifies the text of the reference line. |
void |
setValue(double value, int index) Specifies the value at which the reference line is displayed. |
void |
setVisible(boolean visible, int index) Specifies whether to display a reference line. |
Method Detail |
public boolean selectObject(int series, int group)
selectObject
in class BaseGraphComponent
series
- Any integer.group
- Any integer.true
if successful, false
if not.public boolean isDisplayedInLegend(int index)
index
- The index of the reference line. Valid values range from 0 to 2.true
if the specified reference line appears in the legend, false
if it does not.public void setDisplayedInLegend(boolean visible, int index)
visible
- true
to display the line in the legend, false
to remove it from the legend.index
- The index of the reference line to display or remove. Valid values range from 0 to 2.public java.awt.Color getLineColor(int index)
index
- The index of the reference line whose color you want. Valid values range from 0 to 2.public void setLineColor(java.awt.Color newColor, int index)
newColor
- The color for the reference line.index
- The index of the reference line whose color to set. Valid values range from 0 to 2.public int getLineWidth(int index)
index
- The index of the reference line whose width you want. Valid values range from 0 to 2.public void setLineWidth(int width, int index)
width
- The width for the reference line in pixels.index
- The index of the reference line whose width to set. Valid values range from 0 to 2.public java.lang.String getText(int index)
index
- The index of the reference line whose text you want. Valid values range from 0 to 2.public void setText(java.lang.String str, int index)
str
- The text of the reference line.index
- The index of the reference line whose text to set. Valid values range from 0 to 2public double getValue(int index)
index
- The index of the reference line whose value you want. Valid values range from 0 to 2.public void setValue(double value, int index)
value
- The value at which to display the reference line.index
- The index of the reference line whose value to set. Valid values range from 0 to 2.public boolean isVisible(int index)
index
- The index of the reference line whose visibility you want. Valid values range from 0 to 2.true
if the specified reference line is visible, false
if it is not.public void setVisible(boolean visible, int index)
visible
- true
to display the reference line, false
to hide it.index
- The index of the reference line to display or hide. Valid values range from 0 to 2.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |