org.moxieapps.gwt.highcharts.client.events
Interface PointMouseOverEventHandler
public interface PointMouseOverEventHandler
An interface that can be used as a callback handler when mouse over events are fired on the individual
points in a series. General usage is as follows:
chart.setSeriesPlotOptions(new SeriesPlotOptions()
.setPointMouseOverEventHandler(new PointMouseOverEventHandler() {
public boolean onMouseOver(PointMouseOverEvent event) {
Window.alert("User moused over point: " + event.getXAsLong() + ", " + event.getYAsLong());
return true;
}
)
});
See the documentation on the PointMouseOverEvent
class for more details on the data
available when a point mouse over event occurs.
- Since:
- 1.1.0
- Author:
- squinn@moxiegroup.com (Shawn Quinn)
Method Summary |
boolean |
onMouseOver(PointMouseOverEvent pointMouseOverEvent)
This method is fired whenever a mouse over event occurs on an individual point. |
onMouseOver
boolean onMouseOver(PointMouseOverEvent pointMouseOverEvent)
- This method is fired whenever a mouse over event occurs on an individual point. See
the
PointMouseOverEvent
class for more details on the data available when this event is fired.
- Parameters:
pointMouseOverEvent
- The details of the event that occurred.
- Returns:
- The response to send back to the event handler function.
Copyright © 2015. All Rights Reserved.