org.moxieapps.gwt.highcharts.client.events
Class AxisEvent

java.lang.Object
  extended by org.moxieapps.gwt.highcharts.client.events.AxisEvent
Direct Known Subclasses:
AxisSetExtremesEvent

public abstract class AxisEvent
extends Object

The base class of all events that are triggered on a axis, and includes methods for accessing the axis instance directly.

Since:
1.3.0
Author:
myersj@gmail.com (Jeff Myers)

Field Summary
protected  Axis<?> axis
           
protected  com.google.gwt.core.client.JavaScriptObject event
           
 
Constructor Summary
protected AxisEvent(com.google.gwt.core.client.JavaScriptObject event, Axis<?> axis)
          We can only be created by instantiating one of our sub classes.
 
Method Summary
 Axis<?> getAxis()
          Get the axis instance that received the event.
 com.google.gwt.core.client.JavaScriptObject getNativeEvent()
          Returns a pointer to the native Highchart's instance data object that this GWT instance is wrapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

protected com.google.gwt.core.client.JavaScriptObject event

axis

protected Axis<?> axis
Constructor Detail

AxisEvent

protected AxisEvent(com.google.gwt.core.client.JavaScriptObject event,
                    Axis<?> axis)
We can only be created by instantiating one of our sub classes.

Parameters:
event - The native javascript object containing the details of the original event that was fired.
axis - The axis instance that the event was triggered on.
Method Detail

getAxis

public Axis<?> getAxis()
Get the axis instance that received the event. This axis may be a XAxis or a YAxis.

Returns:
the axis that the event was triggered on

getNativeEvent

public com.google.gwt.core.client.JavaScriptObject getNativeEvent()
Returns a pointer to the native Highchart's instance data object that this GWT instance is wrapping. For advanced JSNI use-cases only.

Returns:
The native Highcharts object instance that this GWT instance is associated with.
Since:
1.5.0


Copyright © 2015. All Rights Reserved.