Chart Builder API (beta)

oracle.ord.media.chart.types
Class AnnotationDesc

java.lang.Object
  |
  +--oracle.ord.media.chart.types.AnnotationDesc

public class AnnotationDesc
extends java.lang.Object

AnnotationDesc objects are used to customize chart annotations. These objects are accessed through the getAnnotationDesc() call. For example, to change the background color of the annotation, the user would call:
getAnnotationDesc().setBackground(Color.gray);

See Also:
AxisChart.getAnnotationDesc()

Constructor Summary
AnnotationDesc()
           
 
Method Summary
 java.awt.Color getBackground()
          Get the annotation background color.
 java.awt.Font getFont()
          Get the annotation font
 java.awt.Color getForeground()
          Get the annotation foreground color.
 void setBackground(java.awt.Color background)
          Set the color of the region background for the annotation.
 void setFont(java.awt.Font f)
          Set the annotation font.
 void setForeground(java.awt.Color foreground)
          Set the color of the font and the region boundary of the annotation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationDesc

public AnnotationDesc()
Method Detail

setForeground

public void setForeground(java.awt.Color foreground)
Set the color of the font and the region boundary of the annotation.

setBackground

public void setBackground(java.awt.Color background)
Set the color of the region background for the annotation.

setFont

public void setFont(java.awt.Font f)
Set the annotation font.

getForeground

public java.awt.Color getForeground()
Get the annotation foreground color.

getBackground

public java.awt.Color getBackground()
Get the annotation background color.

getFont

public java.awt.Font getFont()
Get the annotation font

Chart Builder API (beta)