public class ChartMouseEvent extends EventObject implements Serializable
ChartPanel.ChartMouseListener,
Serialized Formsource| Constructor and Description |
|---|
ChartMouseEvent(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, toStringpublic ChartMouseEvent(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).Copyright © 2001-2014 JFree.org. All Rights Reserved.