com.jrefinery.chart.annotations
Class TextAnnotation

java.lang.Object
  |
  +--com.jrefinery.chart.annotations.TextAnnotation
Direct Known Subclasses:
XYTextAnnotation

public class TextAnnotation
extends java.lang.Object

A base class for text annotations.


Field Summary
static java.awt.Font DEFAULT_FONT
          The default font.
static java.awt.Paint DEFAULT_PAINT
          The default paint.
protected  java.awt.Font font
          The font.
protected  java.awt.Paint paint
          The paint.
protected  java.lang.String text
          The text.
 
Constructor Summary
protected TextAnnotation(java.lang.String text, java.awt.Font font, java.awt.Paint paint)
          Constructs a text annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FONT

public static java.awt.Font DEFAULT_FONT
The default font.

DEFAULT_PAINT

public static java.awt.Paint DEFAULT_PAINT
The default paint.

text

protected java.lang.String text
The text.

font

protected java.awt.Font font
The font.

paint

protected java.awt.Paint paint
The paint.
Constructor Detail

TextAnnotation

protected TextAnnotation(java.lang.String text,
                         java.awt.Font font,
                         java.awt.Paint paint)
Constructs a text annotation.