|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jfree.chart.annotations.TextAnnotation
A base class for text annotations. This class records the content but not the location of the annotation.
| Field Summary | |
static java.awt.Font |
DEFAULT_FONT
The default font. |
static java.awt.Paint |
DEFAULT_PAINT
The default paint. |
| Constructor Summary | |
protected |
TextAnnotation(java.lang.String text,
java.awt.Font font,
java.awt.Paint paint)
Creates a text annotation. |
| Method Summary | |
java.awt.Font |
getFont()
Returns the font for the annotation. |
java.awt.Paint |
getPaint()
Returns the paint for the annotation. |
java.lang.String |
getText()
Returns the text for the annotation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.awt.Font DEFAULT_FONT
public static final java.awt.Paint DEFAULT_PAINT
| Constructor Detail |
protected TextAnnotation(java.lang.String text,
java.awt.Font font,
java.awt.Paint paint)
text - the text.font - the font.paint - the paint.| Method Detail |
public java.lang.String getText()
public java.awt.Font getFont()
public java.awt.Paint getPaint()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||