|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.moxieapps.gwt.highcharts.client.events.MouseEvent org.moxieapps.gwt.highcharts.client.events.PointEvent
public abstract class PointEvent
The base class of all events that are triggered on a point, and includes methods for accessing the general properties of the point, such as its name or X and Y values.
Constructor Summary | |
---|---|
protected |
PointEvent(com.google.gwt.core.client.JavaScriptObject event,
com.google.gwt.core.client.JavaScriptObject point)
We can only be created by instantiating one of our sub classes. |
Method Summary | |
---|---|
Point |
getPoint()
Create a new GWT point instance that is connected to the Highcharts JS point instance associated with this event. |
String |
getPointName()
Return the name of the point on which the event occurred. |
String |
getSeriesId()
Retrieve the unique id of the series that the point is a part of which received the event. |
String |
getSeriesName()
Return the name of the series that the point is a part of which the event was received on. |
double |
getXAsDouble()
Return the x value of the point as a double. |
long |
getXAsLong()
Return the x value of the point as a long. |
String |
getXAsString()
Return the x value of the point as a string. |
double |
getYAsDouble()
Return the y value of the point as a double. |
long |
getYAsLong()
Return the y value of the point as a long. |
String |
getYAsString()
Return the y value of the point as a string. |
Methods inherited from class org.moxieapps.gwt.highcharts.client.events.MouseEvent |
---|
getClientX, getClientY, getNativeButton, getNativeEvent, getRelativeX, getRelativeY, getScreenX, getScreenY, isAltKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PointEvent(com.google.gwt.core.client.JavaScriptObject event, com.google.gwt.core.client.JavaScriptObject point)
event
- The native javascript object containing the details of the original event that was fired.point
- The native javascript object that represents the point instance that the event was triggered on.Method Detail |
---|
public Point getPoint()
public String getSeriesId()
BaseChart.getSeries(String)
method.
public String getSeriesName()
public String getPointName()
public double getXAsDouble()
public long getXAsLong()
public String getXAsString()
public double getYAsDouble()
public long getYAsLong()
public String getYAsString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |