org.jfree.chart.fx.interaction
Class TooltipHandlerFX
- 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 aChartCanvas.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.
- Since:
- 1.0.18
-
-
Constructor Summary
Constructors Constructor and Description TooltipHandlerFX(java.lang.String id)Creates a new instance with the specified ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and 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, setEnabled
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jfree.chart.fx.interaction.MouseHandlerFX
getID, handleMouseClicked, handleMouseDragged, handleMousePressed, handleMouseReleased, handleScroll, hasMatchingModifiers, isEnabled
-
-
-
-
Constructor Detail
-
TooltipHandlerFX
public TooltipHandlerFX(java.lang.String id)
Creates a new instance with the specified ID.- Parameters:
id- the handler id (nullnot permitted).
-
-
Method Detail
-
handleMouseMoved
public void handleMouseMoved(ChartCanvas canvas, javafx.scene.input.MouseEvent e)
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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG