Example usage for Java org.jfree.chart.annotations XYPointerAnnotation fields, constructors, methods, implement or subclass
The text is from its open source code.
XYPointerAnnotation(String label, double x, double y, double angle) Creates a new label and arrow annotation. |
double | getX() Returns the x coordinate for the text anchor point (measured against the domain axis). |
double | getY() Returns the y coordinate for the text anchor point (measured against the range axis). |
void | setAngle(double angle) Sets the angle of the arrow and sends an AnnotationChangeEvent to all registered listeners. |
void | setArrowLength(double length) Sets the arrow length and sends an AnnotationChangeEvent to all registered listeners. |
void | setArrowPaint(Paint paint) Sets the paint used for the arrow and sends an AnnotationChangeEvent to all registered listeners. |
void | setArrowWidth(double width) Sets the arrow width and sends an AnnotationChangeEvent to all registered listeners. |
void | setBackgroundPaint(Paint paint) Sets the background paint for the annotation and sends an AnnotationChangeEvent to all registered listeners. |
void | setBaseRadius(double radius) Sets the base radius and sends an AnnotationChangeEvent to all registered listeners. |
void | setFont(Font font) Sets the font for the annotation and sends an AnnotationChangeEvent to all registered listeners. |
void | setLabelOffset(double offset) Sets the label offset (from the arrow base, continuing in a straight line, in Java2D units) and sends an AnnotationChangeEvent to all registered listeners. |
void | setPaint(Paint paint) Sets the paint for the annotation and sends an AnnotationChangeEvent to all registered listeners. |
void | setText(String text) Sets the text for the annotation. |
void | setTextAnchor(TextAnchor anchor) Sets the text anchor (the point on the text bounding rectangle that is aligned to the (x, y) coordinate of the annotation) and sends an AnnotationChangeEvent to all registered listeners. |
void | setTipRadius(double radius) Sets the tip radius and sends an AnnotationChangeEvent to all registered listeners. |
void | setToolTipText(String text) Sets the tool tip text for the annotation. |