|
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.Annotation
public class Annotation
This class
Field Summary | |
---|---|
protected GraphFont |
m_font
|
protected int |
m_group
|
protected oracle.dss.graph.pfj.draw.IdentObj |
m_idBox
|
protected int |
m_series
|
protected SFX |
m_sfx
|
Fields inherited from class oracle.dss.dataView.BaseComponentXML |
---|
m_jsfHashMap |
Constructor Summary | |
---|---|
Annotation(CommonGraph graph,
int series,
int group)
|
Method Summary | |
---|---|
java.awt.Color |
getBorderColor()
Retrieves the border color of this annotation. |
protected java.lang.String |
getComponentName()
|
java.awt.Color |
getFillColor()
Retrieves the background color of the annotation. |
java.awt.Font |
getFont()
Retrieves a Font object for the text of the annotation. |
GraphFont |
getGraphFont()
Retrieves a GraphFont object for the text of the annotation. |
int |
getID()
Retrieves the ID of this ReferenceObject. |
SFX |
getSFX()
Retrieves the SFX object for this exceptional riser. |
java.lang.String |
getText()
Retrieves the text for the annotation. |
protected oracle.dss.util.xml.ObjectNode |
getXML(boolean allProperties,
boolean allOverriddenProperties)
|
boolean |
isVisible()
Indicates whether the annotation is visible. |
boolean |
selectObject(int series,
int group)
Selects the annotation on the graph. |
void |
setBorderColor(java.awt.Color newColor)
Specifies the border color of this annotation. |
void |
setFillColor(java.awt.Color newColor)
Specifies the background color of the annotation. |
void |
setFont(java.awt.Font f)
Specifies a Font object for the text of the annotation. |
void |
setText(java.lang.String str)
Specifies the text of the annotation. |
void |
setVisible(boolean yesNo)
Specifies whether the annotation is visible. |
void |
setXML(oracle.dss.util.xml.ObjectNode node)
|
void |
setXML(oracle.dss.util.xml.ObjectNode node,
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 GraphFont m_font
protected oracle.dss.graph.pfj.draw.IdentObj m_idBox
protected int m_series
protected int m_group
Constructor Detail |
---|
public Annotation(CommonGraph graph, int series, int group)
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 java.awt.Color getBorderColor()
public void setBorderColor(java.awt.Color newColor)
newColor
- The border color of this annotation.public java.awt.Color getFillColor()
public void setFillColor(java.awt.Color newColor)
newColor
- The background color for the annotation.
The default is (0xaffaf6f0)public boolean isVisible()
true
if it is visible, false
if it is
invisible.public void setVisible(boolean yesNo)
yesNo
- true
to make it visible, false
to make it invisible.public GraphFont getGraphFont()
GraphFont
object for the text of the annotation.
Use the GraphFont
objects to specify and retrieve font
properties such as name, color, style, and size in virtual coordinates.
Virtual coordinates make the font size relative to the size of the graph.
GraphFont
object for the object.public void setFont(java.awt.Font f)
Font
object for the text of the annotation.
This is the awt
object with properties such as name, style,
and absolute size.
f
- A Font
object for this object.public java.awt.Font getFont()
Font
object for the text of the annotation.
This is the awt
object with properties such as name, style,
and absolute size.
Font
object for the object.public java.lang.String getText()
public void setText(java.lang.String str)
str
- The text of the annotation.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)
public void setXML(oracle.dss.util.xml.ObjectNode node, java.util.HashMap map)
setXML
in class BaseComponentXML
public void setXML(oracle.dss.util.xml.ObjectNode node)
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 |