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

E12063-02

oracle.adf.view.faces.bi.component.graph
Class Annotation

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.graph.Annotation
All Implemented Interfaces:
javax.faces.component.StateHolder

public class Annotation
extends BIComplexAttributeBase

Since:
R11

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 GRAPH_FONT_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey GROUP_KEY
           
protected  java.awt.Color m_defaultFontColor
           
protected  int m_defaultFontSize
           
protected  int m_defaultFontStyle
           
protected  java.lang.String m_defaultFontTypeface
           
static org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SERIES_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
Annotation()
           
 
Method Summary
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 java.awt.Color getBorderColor()
          Retrieves the color of the annotation.
 java.awt.Color getFillColor()
          Retrieves the color of the annotation.
 GraphFont getGraphFont()
           
 int getGroup()
          Retrieves the Group associated with this annotation.
 int getSeries()
          Retrieves the Series associated with this annotation.
 java.lang.String getText()
          Retrieves the text for the annotation.
 boolean isRendered()
          Indicates whether the annotation is rendered.
 void setBorderColor(java.awt.Color newColor)
          Specifies the color of the annotation.
 void setFillColor(java.awt.Color newColor)
          Specifies the color of the annotation.
 void setGraphFont(GraphFont font)
           
 void setGroup(int index)
          Specifies the Group associated with this annotation.
 void setRendered(boolean rendered)
          Specifies whether the annotation is rendered.
 void setSeries(int index)
          Specifies the Series associated with this annotation.
 void setText(java.lang.String str)
          Specifies the text of the annotation.
 
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

m_defaultFontTypeface

protected java.lang.String m_defaultFontTypeface

m_defaultFontStyle

protected int m_defaultFontStyle

m_defaultFontSize

protected int m_defaultFontSize

m_defaultFontColor

protected java.awt.Color m_defaultFontColor

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

RENDERED_KEY

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

GRAPH_FONT_KEY

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

SERIES_KEY

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

GROUP_KEY

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

Annotation

public Annotation()
Method Detail

setSeries

public void setSeries(int index)
Specifies the Series associated with this annotation.

Parameters:
index -

getSeries

public int getSeries()
Retrieves the Series associated with this annotation.

Returns:
the index

setGroup

public void setGroup(int index)
Specifies the Group associated with this annotation.

Parameters:
index -

getGroup

public int getGroup()
Retrieves the Group associated with this annotation.

Returns:
the index

getFillColor

public java.awt.Color getFillColor()
Retrieves the color of the annotation.

Returns:
The color of the specified annotation.

setFillColor

public void setFillColor(java.awt.Color newColor)
Specifies the color of the annotation.

Parameters:
newColor - The color for the annotation. The default is Red (0xffcc0000)

getBorderColor

public java.awt.Color getBorderColor()
Retrieves the color of the annotation.

Returns:
The color of the specified annotation.

setBorderColor

public void setBorderColor(java.awt.Color newColor)
Specifies the color of the annotation.

Parameters:
newColor - The color for the annotation. The default is Red (0xffcc0000)

getText

public java.lang.String getText()
Retrieves the text for the annotation. This text will appear as a Legend text for this annotation.

Returns:
The text for the annotation.

setText

public void setText(java.lang.String str)
Specifies the text of the annotation. This text will appear as a Legend text for this annotation.

Parameters:
str - The text of the annotation.

isRendered

public boolean isRendered()
Indicates whether the annotation is rendered.

Returns:
true if it is rendered, false if it is not rendered.

setRendered

public void setRendered(boolean rendered)
Specifies whether the annotation is rendered.

Parameters:
yesNo - true to make it rendered, false to make it not rendered.

getGraphFont

public GraphFont getGraphFont()

setGraphFont

public void setGraphFont(GraphFont font)

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Specified by:
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

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