public class XYTextSimpleAnnotation extends org.jfree.chart.annotations.AbstractXYAnnotation
| Constructor and Description |
|---|
XYTextSimpleAnnotation(org.jfree.chart.ChartPanel chartPanel) |
XYTextSimpleAnnotation(org.jfree.chart.ChartPanel chartPanel,
boolean paintBackground) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g2,
org.jfree.chart.plot.XYPlot plot,
Rectangle2D dataArea,
org.jfree.chart.axis.ValueAxis domainAxis,
org.jfree.chart.axis.ValueAxis rangeAxis,
int rendererIndex,
org.jfree.chart.plot.PlotRenderingInfo info) |
void |
setColor(Color color) |
void |
setFont(Font font) |
void |
setLocation(float x,
float y) |
void |
setText(String text) |
addEntity, canEqual, equals, getToolTipText, getURL, hashCode, setToolTipText, setURLaddChangeListener, clone, fireAnnotationChanged, getNotify, hasListener, notifyListeners, removeChangeListener, setNotifyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddChangeListener, removeChangeListenerpublic XYTextSimpleAnnotation(org.jfree.chart.ChartPanel chartPanel)
public XYTextSimpleAnnotation(org.jfree.chart.ChartPanel chartPanel, boolean paintBackground)
public void draw(Graphics2D g2, org.jfree.chart.plot.XYPlot plot, Rectangle2D dataArea, org.jfree.chart.axis.ValueAxis domainAxis, org.jfree.chart.axis.ValueAxis rangeAxis, int rendererIndex, org.jfree.chart.plot.PlotRenderingInfo info)
draw in interface org.jfree.chart.annotations.XYAnnotationdraw in class org.jfree.chart.annotations.AbstractXYAnnotationpublic void setLocation(float x,
float y)
public void setText(String text)
public void setFont(Font font)
public void setColor(Color color)
Copyright © 2010–2024 TrackMate. All rights reserved.