Class AnimationCompleteEvent
- java.lang.Object
-
- org.pepstock.charba.client.events.Event
-
- org.pepstock.charba.client.events.AbstractEvent
-
- org.pepstock.charba.client.events.AnimationCompleteEvent
-
- All Implemented Interfaces:
HasNativeEvent
public final class AnimationCompleteEvent extends AbstractEvent
Event which is fired when the animation of the chart is completed.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description AnimationCompleteEvent(NativeCustomEvent nativeEvent, AnimationItem item)
Creates the event with the animation info from chart.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispatch(EventHandler handler)
Implemented by subclasses to dispatch event on the handler.AnimationItem
getItem()
Returns item with animation info from chart-
Methods inherited from class org.pepstock.charba.client.events.AbstractEvent
getChart, getNativeEvent, getType
-
-
-
-
Field Detail
-
TYPE
public static final EventType TYPE
Event type
-
-
Constructor Detail
-
AnimationCompleteEvent
public AnimationCompleteEvent(NativeCustomEvent nativeEvent, AnimationItem item)
Creates the event with the animation info from chart.- Parameters:
nativeEvent
- native event of this custom eventitem
- item with animation info from chart
-
-
Method Detail
-
dispatch
protected void dispatch(EventHandler handler)
Description copied from class:Event
Implemented by subclasses to dispatch event on the handler.
-
getItem
public final AnimationItem getItem()
Returns item with animation info from chart- Returns:
- the item with animation info from chart
-
-