public class ChartMouseEventFX extends EventObject implements Serializable
ChartViewer
.Constructor and Description |
---|
ChartMouseEventFX(JFreeChart chart,
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.
|
MouseEvent |
getTrigger()
Returns the mouse event that triggered this event.
|
getSource, toString
public ChartMouseEventFX(JFreeChart chart, 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 MouseEvent getTrigger()
null
).public ChartEntity getEntity()
null
).Jas4pp 1.5 © Java Analysis Studio for Particle Physics