Class AnimationProgressEvent
- java.lang.Object
-
- org.pepstock.charba.client.events.Event
-
- org.pepstock.charba.client.events.AbstractEvent
-
- org.pepstock.charba.client.events.AnimationProgressEvent
-
public final class AnimationProgressEvent extends AbstractEvent
Event which is fired when the animation of the chart is progressing.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description AnimationProgressEvent(BaseNativeEvent 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
-
AnimationProgressEvent
public AnimationProgressEvent(BaseNativeEvent 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
-
-