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(String id)
Creates a new instance with the specified ID.
|
Modifier and Type | Method and Description |
---|---|
void |
handleMouseMoved(ChartCanvas canvas,
MouseEvent e)
Handles a mouse moved event by updating the tooltip.
|
getID, handleMouseClicked, handleMouseDragged, handleMousePressed, handleMouseReleased, handleScroll, hasMatchingModifiers, isEnabled, setEnabled
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getID, handleMouseClicked, handleMouseDragged, handleMousePressed, handleMouseReleased, handleScroll, hasMatchingModifiers, isEnabled
public TooltipHandlerFX(String id)
id
- the handler id (null
not permitted).public void handleMouseMoved(ChartCanvas canvas, MouseEvent e)
handleMouseMoved
in interface MouseHandlerFX
handleMouseMoved
in class AbstractMouseHandlerFX
canvas
- the chart canvas (null
not permitted).e
- the mouse event.Jas4pp 1.5 © Java Analysis Studio for Particle Physics