java.lang.Object
org.jfree.chart.fx.interaction.AbstractMouseHandlerFX
org.jfree.chart.fx.interaction.TooltipHandlerFX
- All Implemented Interfaces:
MouseHandlerFX
public class TooltipHandlerFX extends AbstractMouseHandlerFX implements MouseHandlerFX
Handles the updating of tooltips on a
ChartCanvas.-
Constructor Summary
Constructors Constructor Description TooltipHandlerFX(String id)Creates a new instance with the specified ID. -
Method Summary
Modifier and Type Method Description voidhandleMouseMoved(ChartCanvas canvas, javafx.scene.input.MouseEvent e)Handles a mouse moved event by updating the tooltip.Methods inherited from class org.jfree.chart.fx.interaction.AbstractMouseHandlerFX
getID, handleMouseClicked, handleMouseDragged, handleMousePressed, handleMouseReleased, handleScroll, hasMatchingModifiers, isEnabled, setEnabledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jfree.chart.fx.interaction.MouseHandlerFX
getID, handleMouseClicked, handleMouseDragged, handleMousePressed, handleMouseReleased, handleScroll, hasMatchingModifiers, isEnabled
-
Constructor Details
-
TooltipHandlerFX
Creates a new instance with the specified ID.- Parameters:
id- the handler id (nullnot permitted).
-
-
Method Details
-
handleMouseMoved
Handles a mouse moved event by updating the tooltip.- Specified by:
handleMouseMovedin interfaceMouseHandlerFX- Overrides:
handleMouseMovedin classAbstractMouseHandlerFX- Parameters:
canvas- the chart canvas (nullnot permitted).e- the mouse event.
-