|
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.dss.dataView.BaseComponentXML
oracle.dss.graph.BaseGraphComponent
oracle.dss.graph.ReferenceObject
public class ReferenceObject
The class for reference objects of Data axes and Series. The objects could be a reference lines and/or a reference areas. One can define unlimited number of reference objects (lines or areas) for a given axis and/or a given series. The reference objects will be of constant value in release R11. In the future, lines could be based on different data values associated with different periods of time, and be of any supported type, such as stepped or smooth.
Field Summary | |
---|---|
static boolean |
d_referenceLineDisplayedInLegend
|
static int |
d_referenceLineStyle
|
static double |
d_referenceLineValue
|
static boolean |
d_referenceLineVisible
|
static int |
d_referenceLineWidth
|
protected int |
m_display
|
protected java.lang.String |
m_elementName
|
protected boolean[] |
m_legend
|
protected SFX |
m_sfx
|
protected java.lang.Object |
m_value
|
Fields inherited from class oracle.dss.dataView.BaseComponentXML |
---|
m_jsfHashMap |
Constructor Summary | |
---|---|
ReferenceObject(CommonGraph graph)
|
Method Summary | |
---|---|
int |
getAssociation()
Retrieves a constant that identifies the component this reference object is associated with. |
java.awt.Color |
getColor()
Retrieves the color of the reference object. |
protected java.lang.String |
getComponentName()
|
java.lang.Object |
getHighValue()
Retrieves the high value of the reference Area. |
int |
getID()
Retrieves the ID of this ReferenceObject. |
int |
getLineStyle()
Retrieves the style of the line. |
java.lang.Object |
getLineValue()
Retrieves the value at which the reference line is displayed. |
int |
getLineWidth()
Retrieves the width of the reference line in pixels. |
int |
getLocation()
Returns the location of the reference object. |
java.lang.Object |
getLowValue()
Retrieves the low value of the reference Area. |
int |
getSeries()
Retrieves the series this reference object is associated with. |
SFX |
getSFX()
Retrieves the SFX object for this exceptional riser. |
java.lang.String |
getText()
Retrieves the text for the reference object. |
int |
getType()
Returns the type of the reference object. |
protected oracle.dss.util.xml.ObjectNode |
getXML(boolean allProperties,
boolean allOverriddenProperties)
|
boolean |
isDisplayedInLegend()
Indicates whether the reference object appears in the legend. |
boolean |
selectObject(int series,
int group)
Selects the reference line on the graph. |
void |
setAssociation(int component)
Specifies a constant that represents the component this reference object is associated with. |
void |
setColor(java.awt.Color newColor)
Specifies the color of the reference object. |
void |
setDisplayedInLegend(boolean visible)
Specifies whether to display the reference object in the legend. |
void |
setHighValue(java.lang.Object value)
Specifies the high value of the reference area. |
void |
setLineStyle(int style)
Specifies the style of the line. |
void |
setLineValue(java.lang.Object value)
Specifies the value at which the reference line is displayed. |
void |
setLineWidth(int width)
Specifies the width of the reference line in pixels. |
void |
setLocation(int location)
Specifies the location of the reference object. |
void |
setLowValue(java.lang.Object value)
Specifies the low value of the reference area. |
protected void |
setReferenceLineXML(oracle.dss.util.xml.ObjectNode referenceNode)
|
void |
setSeries(int series)
Specifies the series this reference object is associated with. |
void |
setText(java.lang.String str)
Specifies the text of the reference object. |
void |
setType(int type)
Specifies the type of the reference object. |
void |
setXML(oracle.dss.util.xml.ObjectNode referenceNode)
|
void |
setXML(oracle.dss.util.xml.ObjectNode referenceNode,
java.util.HashMap map)
|
Methods inherited from class oracle.dss.dataView.BaseComponentXML |
---|
getNonstyleXML, getStyleXML, getStyleXML, getXML, setNonstyleXML, setNonstyleXML, setStyleXML, setXML, setXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SFX m_sfx
protected java.lang.Object m_value
protected int m_display
protected java.lang.String m_elementName
protected boolean[] m_legend
public static final boolean d_referenceLineVisible
public static final int d_referenceLineWidth
public static final int d_referenceLineStyle
public static final double d_referenceLineValue
public static final boolean d_referenceLineDisplayedInLegend
Constructor Detail |
---|
public ReferenceObject(CommonGraph graph)
graph
- The graph that this object belongs to.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 int getType()
BaseGraphComponent.RO_LINE
,
BaseGraphComponent.RO_AREA
public void setType(int type)
type
- Constant that identifies the type of the reference
object. By default object is of type reference line
Valid constants are listed in the See Also section.BaseGraphComponent.RO_LINE
,
BaseGraphComponent.RO_AREA
public int getLocation()
BaseGraphComponent.RO_FRONT
,
BaseGraphComponent.RO_BACK
public void setLocation(int location)
type
- Constant that identifies the location of the reference
object. By default object is located at the back
Valid constants are listed in the See Also section.BaseGraphComponent.RO_FRONT
,
BaseGraphComponent.RO_BACK
public int getAssociation()
GraphConstants.Y1AXIS
,
GraphConstants.Y2AXIS
,
GraphConstants.X1AXIS
,
GraphConstants.SERIES
public void setAssociation(int component)
component
- Constant that identifies the component this reference
object is associated with. By default it is associated
with the Y1AXIS.GraphConstants.Y1AXIS
,
GraphConstants.Y2AXIS
,
GraphConstants.X1AXIS
,
GraphConstants.SERIES
public int getSeries()
public void setSeries(int series)
series
- The zero-based number of the series that this reference
object is associated with. By default it is associated
with the first series.public java.awt.Color getColor()
public void setColor(java.awt.Color newColor)
newColor
- The color for the reference object. The default
is Red (0xffcc0000)public int getLineWidth()
public void setLineWidth(int width)
width
- The width for the reference line in pixels.
The default line width is single pixel.public int getLineStyle()
BaseGraphComponent.LS_SOLID
,
BaseGraphComponent.LS_DASH
,
BaseGraphComponent.LS_DOTTED
,
BaseGraphComponent.LS_DASH_DOT
public void setLineStyle(int style)
style
- The style of the line. By default the line style
is LS_SOLIDBaseGraphComponent.LS_SOLID
,
BaseGraphComponent.LS_DASH
,
BaseGraphComponent.LS_DOTTED
,
BaseGraphComponent.LS_DASH_DOT
public java.lang.String getText()
public void setText(java.lang.String str)
str
- The text of the reference object.public boolean isDisplayedInLegend()
true
if the specified reference object
appears in the legend,
false
if it does not.public void setDisplayedInLegend(boolean visible)
visible
- true
to display the object in the legend,
false
to remove it from the legend.public java.lang.Object getLineValue()
public void setLineValue(java.lang.Object value)
value
- The value at which to display the reference object.
This Object will be of type Number when reference object
is of type "Line".public java.lang.Object getLowValue()
public void setLowValue(java.lang.Object value)
value
- The low value of the reference area.public java.lang.Object getHighValue()
public void setHighValue(java.lang.Object value)
value
- The high value of the reference area.public SFX getSFX()
SFX
object for this exceptional riser.
This allows you to retrieve and specify attributes for special effects.
SFX
object for this exceptional riser.public int getID()
protected java.lang.String getComponentName()
getComponentName
in class BaseComponentXML
protected oracle.dss.util.xml.ObjectNode getXML(boolean allProperties, boolean allOverriddenProperties)
protected void setReferenceLineXML(oracle.dss.util.xml.ObjectNode referenceNode)
public void setXML(oracle.dss.util.xml.ObjectNode referenceNode, java.util.HashMap map)
setXML
in class BaseComponentXML
public void setXML(oracle.dss.util.xml.ObjectNode referenceNode)
setXML
in class BaseComponentXML
|
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 |