Class 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
    • 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 event
        item - 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.
        Specified by:
        dispatch in class Event
        Parameters:
        handler - handler instance
      • getItem

        public final AnimationItem getItem()
        Returns item with animation info from chart
        Returns:
        the item with animation info from chart