public class TooltipHandlerFX extends AbstractMouseHandlerFX implements MouseHandlerFX
ChartCanvas
.
THE API FOR THIS CLASS IS SUBJECT TO CHANGE IN FUTURE RELEASES. This is so that we can incorporate feedback on the (new) JavaFX support in JFreeChart.
Constructor and Description |
---|
TooltipHandlerFX(java.lang.String id)
Creates a new instance with the specified ID.
|
Modifier and Type | Method and Description |
---|---|
void |
handleMouseMoved(ChartCanvas canvas,
javafx.scene.input.MouseEvent e)
Handles a mouse moved event by updating the tooltip.
|
getID, handleMouseClicked, handleMouseDragged, handleMousePressed, handleMouseReleased, handleScroll, hasMatchingModifiers, isEnabled, setEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getID, handleMouseClicked, handleMouseDragged, handleMousePressed, handleMouseReleased, handleScroll, hasMatchingModifiers, isEnabled
public TooltipHandlerFX(java.lang.String id)
id
- the handler id (null
not permitted).public void handleMouseMoved(ChartCanvas canvas, javafx.scene.input.MouseEvent e)
handleMouseMoved
in interface MouseHandlerFX
handleMouseMoved
in class AbstractMouseHandlerFX
canvas
- the chart canvas (null
not permitted).e
- the mouse event.