Class AnimationProgressEvent


  • public final class AnimationProgressEvent
    extends AbstractEvent
    Event which is fired when the animation of the chart is progressing.
    Author:
    Andrea "Stock" Stocchero
    • 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 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