Class AnimationEvent


  • @Deprecated
    public class AnimationEvent
    extends Event<AnimationHandler>
    Deprecated.
    Events posted by an animation control.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class totalcross.ui.event.Event

        Event.Type<H>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int FINISH
      Deprecated.
      The event type when the animation ends.
      static int FRAME
      Deprecated.
      The event type when a new frame is displayed.
      static int LOOP
      Deprecated.
      The event type when the animation loops.
    • Constructor Summary

      Constructors 
      Constructor Description
      AnimationEvent​(int type, java.lang.Object target)
      Deprecated.
      Constructs a new animation event, setting the type and target to the given parameters.
    • Field Detail

      • LOOP

        public static final int LOOP
        Deprecated.
        The event type when the animation loops.
        See Also:
        Constant Field Values
      • FRAME

        public static final int FRAME
        Deprecated.
        The event type when a new frame is displayed.
        See Also:
        Constant Field Values
      • FINISH

        public static final int FINISH
        Deprecated.
        The event type when the animation ends.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AnimationEvent

        public AnimationEvent​(int type,
                              java.lang.Object target)
        Deprecated.
        Constructs a new animation event, setting the type and target to the given parameters.
        Parameters:
        type - The event type.
        target - The object which is the target of the event.