org.moxieapps.gwt.highcharts.client.events
Class AxisSetExtremesEvent
java.lang.Object
org.moxieapps.gwt.highcharts.client.events.AxisEvent
org.moxieapps.gwt.highcharts.client.events.AxisSetExtremesEvent
public class AxisSetExtremesEvent
- extends AxisEvent
Provides access to the raw information provided by Highcharts when a axis set extremes event occurs.
- Since:
- 1.3.0
- Author:
- myersj@gmail.com (Jeff Myers)
Fields inherited from class org.moxieapps.gwt.highcharts.client.events.AxisEvent |
axis, event |
Constructor Summary |
AxisSetExtremesEvent(com.google.gwt.core.client.JavaScriptObject event,
Axis<?> axis)
This constructor is intended for internal use only. |
Method Summary |
Number |
getMax()
Return the maximum value of the new axis extremes as a Number. |
Number |
getMin()
Return the minimum value of the new axis extremes as a Number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxisSetExtremesEvent
public AxisSetExtremesEvent(com.google.gwt.core.client.JavaScriptObject event,
Axis<?> axis)
- This constructor is intended for internal use only. You should not create axis set extremes
events directly, but instead should register a
AxisSetExtremesEventHandler
.
- 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.
getMin
public Number getMin()
- Return the minimum value of the new axis extremes as a Number. An exception will be thrown
if the native value of the object is not a number.
- Returns:
- The new minimum value of the axis extremes as a Number.
getMax
public Number getMax()
- Return the maximum value of the new axis extremes as a Number. An exception will be thrown
if the native value of the object is not a number.
- Returns:
- The new maximum value of the axis extremes as a Number.
Copyright © 2015. All Rights Reserved.