org.jfree.chart
public class ChartMouseEvent extends EventObject implements Serializable
See Also: ChartMouseListener
Constructor Summary | |
---|---|
ChartMouseEvent(JFreeChart chart, MouseEvent trigger, ChartEntity entity)
Constructs a new event.
|
Method Summary | |
---|---|
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.
|
Parameters: 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).
Returns: The chart (never null
).
Returns: The chart entity (possibly null
).
Returns: The event (never null
).