public class DispatchHandlerFX extends AbstractMouseHandlerFX
ChartMouseEventFXevents to listeners that are registered with the
ChartCanvas(listeners can also be registered with a
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|
Creates a new instance.
|Modifier and Type||Method and Description|
Handles a mouse clicked event by setting the anchor point for the canvas and redrawing the chart (the anchor point is a reference point used by the chart to determine crosshair lines).
Handles a mouse moved event.
Handles a mouse pressed event by recording the location of the mouse pointer (so that later we can check that the click isn't part of a drag).
getID, handleMouseDragged, handleMouseReleased, handleScroll, hasMatchingModifiers, isEnabled, setEnabled
public DispatchHandlerFX(java.lang.String id)
id- the id (
public void handleMousePressed(ChartCanvas canvas, javafx.scene.input.MouseEvent e)
public void handleMouseMoved(ChartCanvas canvas, javafx.scene.input.MouseEvent e)
public void handleMouseClicked(ChartCanvas canvas, javafx.scene.input.MouseEvent e)