public class ChartMouseEventFX extends java.util.EventObject implements java.io.Serializable
ChartViewer.| Constructor and Description |
|---|
ChartMouseEventFX(JFreeChart chart,
javafx.scene.input.MouseEvent trigger,
ChartEntity entity)
Constructs a new event.
|
| Modifier and Type | Method and Description |
|---|---|
JFreeChart |
getChart()
Returns the chart that the mouse event relates to.
|
ChartEntity |
getEntity()
Returns the chart entity (if any) under the mouse point.
|
javafx.scene.input.MouseEvent |
getTrigger()
Returns the mouse event that triggered this event.
|
public ChartMouseEventFX(JFreeChart chart, javafx.scene.input.MouseEvent trigger, ChartEntity entity)
chart - the source chart (null not permitted).trigger - the mouse event that triggered this event
(null not permitted).entity - the chart entity (if any) under the mouse point
(null permitted).public JFreeChart getChart()
null).public javafx.scene.input.MouseEvent getTrigger()
null).public ChartEntity getEntity()
null).