Interface AnimEventListener


@Deprecated public interface AnimEventListener
Deprecated.
AnimEventListener allows user code to receive various events regarding an AnimControl. For example, when an animation cycle is done.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAnimChange(AnimControl control, AnimChannel channel, String animName)
    Deprecated.
    Invoked when an animation is set to play by the user on the given channel.
    void
    onAnimCycleDone(AnimControl control, AnimChannel channel, String animName)
    Deprecated.
    Invoked when an animation "cycle" is done.
  • Method Details

    • onAnimCycleDone

      void onAnimCycleDone(AnimControl control, AnimChannel channel, String animName)
      Deprecated.
      Invoked when an animation "cycle" is done. For non-looping animations, this event is invoked when the animation is finished playing. For looping animations, this event is invoked each time the animation is restarted.
      Parameters:
      control - The control to which the listener is assigned.
      channel - The channel being altered
      animName - The new animation that is done.
    • onAnimChange

      void onAnimChange(AnimControl control, AnimChannel channel, String animName)
      Deprecated.
      Invoked when an animation is set to play by the user on the given channel.
      Parameters:
      control - The control to which the listener is assigned.
      channel - The channel being altered
      animName - The new animation name set.