org.problets.tutor.view.narration
Class FeedbackAnimationController
java.lang.Object
org.problets.lib.io.output.text.AnimationController
org.problets.tutor.view.narration.FeedbackAnimationController
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, AnimationConstants
- Direct Known Subclasses:
- IndependentFdbkAnimationController
public class FeedbackAnimationController
- extends AnimationController
not process the feedback
level of entries to be animated, assumes the minimum number of lines
to be animated is zero. setData() must be called before the first
ANSWER_SUBMITTED event to avoid null pointer exception.
Helps determine the animation of its caller
- Author:
- Amruth Kumar
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeedbackAnimationController
public FeedbackAnimationController(java.awt.event.ActionListener inRoot)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class AnimationController
getAnimationExtent
public int getAnimationExtent()
- Description copied from class:
AnimationController
- Method used by AnimatedTextView to determine how many lines to display
- Overrides:
getAnimationExtent
in class AnimationController