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