net.sourceforge.pavlov.event
Interface AnswerListener

All Known Implementing Classes:
AbstractFeedbackPanel, AbstractFeedbackPluglet, AudioFeedback, ChapterCoverage, JChartFeedbackPluglet, JPieChartFeedbackPluglet, MediaDirectoryPluglet, Quiz, QuizStatus, RandomImage, SequencedImagePluglet, VelocityPluglet, VelocityPlugletLoader

public interface AnswerListener

This interface is implemented by classes that want to be informed when a user answers a question. Such classes should implement this interface and register themselves with the appropriate AnswerEventProducer. In the Pavlov application, this should be the Quiz object. Note that Pavlov feedback pluglets are automatically registered at load time.


Method Summary
 void answerEvent(AnswerEvent e)
          Called when the user has answered a question.
 

Method Detail

answerEvent

void answerEvent(AnswerEvent e)
Called when the user has answered a question.

Parameters:
e - an AnswerEvent value