public abstract class AbstractXYAnnotation extends AbstractAnnotation implements XYAnnotation
XYPlot
.Modifier and Type | Method and Description |
---|---|
abstract void |
draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
boolean |
equals(Object obj)
Tests this annotation for equality with an arbitrary object.
|
String |
getToolTipText()
Returns the tool tip text for the annotation.
|
String |
getURL()
Returns the URL for the annotation.
|
int |
hashCode()
Returns a hash code for this instance.
|
void |
setToolTipText(String text)
Sets the tool tip text for the annotation.
|
void |
setURL(String url)
Sets the URL for the annotation.
|
addChangeListener, clone, getNotify, hasListener, removeChangeListener, setNotify
getClass, notify, notifyAll, toString, wait, wait, wait
addChangeListener, removeChangeListener
public String getToolTipText()
ChartPanel
when the mouse pointer hovers over
the annotation.null
).setToolTipText(String)
public void setToolTipText(String text)
text
- the tool tip text (null
permitted).getToolTipText()
public String getURL()
null
).setURL(String)
public void setURL(String url)
url
- the URL (null
permitted).getURL()
public abstract void draw(Graphics2D g2, XYPlot plot, Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, int rendererIndex, PlotRenderingInfo info)
draw
in interface XYAnnotation
g2
- the graphics device.plot
- the plot.dataArea
- the data area.domainAxis
- the domain axis.rangeAxis
- the range axis.rendererIndex
- the renderer index.info
- if supplied, this info object will be populated with
entity information.public boolean equals(Object obj)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics