/src/org/mt4j/util/animation/IAnimationManagerListener.java

http://mt4j.googlecode.com/ · Java · 42 lines · 4 code · 3 blank · 35 comment · 0 complexity · 336ff246a0c4cf82959a058cd2e3f2ed MD5 · raw file

  1. /***********************************************************************
  2. * mt4j Copyright (c) 2008 - 2009 C.Ruff, Fraunhofer-Gesellschaft All rights reserved.
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 3 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. *
  17. ***********************************************************************/
  18. package org.mt4j.util.animation;
  19. /**
  20. * The listener interface for receiving AnimationUpdateEvent events.
  21. * The class that is interested in processing a AnimationUpdateEvent
  22. * event implements this interface, and the object created
  23. * with that class is registered with a component using the
  24. * component's <code>addAnimationManagerListener</code> method. When
  25. * the AnimationUpdateEvent event occurs, that object's appropriate
  26. * method is invoked.
  27. *
  28. * @see org.mt4j.util.animation.AnimationUpdateEvent
  29. * @see org.mt4j.util.animation.AnimationManager
  30. * @author Christopher Ruff
  31. */
  32. public interface IAnimationManagerListener {
  33. /**
  34. * Update animation.
  35. *
  36. * @param ev the ev
  37. */
  38. public void updateAnimation(AnimationUpdateEvent ev);
  39. }