Java org.jfree.chart.plot Crosshair fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.plot Crosshair fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.plot Crosshair.

The text is from its open source code.

Constructor

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.

Method

voidaddPropertyChangeListener(PropertyChangeListener l)
Adds a property change listener.
doublegetValue()
Returns the crosshair value.
booleanisVisible()
Returns the flag that indicates whether or not the crosshair is currently visible.
voidremovePropertyChangeListener(PropertyChangeListener l)
Removes a property change listener.
voidsetLabelAnchor(RectangleAnchor anchor)
Sets the label anchor point and sends a property change event (with the name 'labelAnchor') to all registered listeners.
voidsetLabelBackgroundPaint(Paint paint)
Sets the label background paint and sends a property change event with the name 'labelBackgroundPaint') to all registered listeners.
voidsetLabelGenerator(CrosshairLabelGenerator generator)
Sets the crosshair label generator and sends a property change event (with the name 'labelGenerator') to all registered listeners.
voidsetLabelVisible(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.
voidsetPaint(Paint paint)
Sets the paint for the crosshair line and sends a property change event with the name "paint" to all registered listeners.