Example usage for Java org.jfree.chart.plot Crosshair fields, constructors, methods, implement or subclass
The text is from its open source code.
Crosshair(double value, Paint paint, Stroke stroke) Creates a new crosshair value with the specified value and line style. | |
Crosshair(double value) Creates a new crosshair with the specified value. |
void | addPropertyChangeListener(PropertyChangeListener l) Adds a property change listener. |
double | getValue() Returns the crosshair value. |
boolean | isVisible() Returns the flag that indicates whether or not the crosshair is currently visible. |
void | removePropertyChangeListener(PropertyChangeListener l) Removes a property change listener. |
void | setLabelAnchor(RectangleAnchor anchor) Sets the label anchor point and sends a property change event (with the name 'labelAnchor') to all registered listeners. |
void | setLabelBackgroundPaint(Paint paint) Sets the label background paint and sends a property change event with the name 'labelBackgroundPaint') to all registered listeners. |
void | setLabelGenerator(CrosshairLabelGenerator generator) Sets the crosshair label generator and sends a property change event (with the name 'labelGenerator') to all registered listeners. |
void | setLabelVisible(boolean visible) Sets the flag that controls whether or not a label is drawn for the crosshair and sends a property change event (with the name 'labelVisible') to all registered listeners. |
void | setPaint(Paint paint) Sets the paint for the crosshair line and sends a property change event with the name "paint" to all registered listeners. |