Holger's
Java API

com.antelmann.game.quiz
Interface AnswerHandler

All Known Subinterfaces:
QuizListener
All Known Implementing Classes:
DemoQuizFrame, JQuestionHandler

public interface AnswerHandler

used to react on a gui component's event when a Question was answered

Author:
Holger Antelmann
See Also:
QuestionComponentFactory

Field Summary
static int NO_ANSWER
          indicates that no answer was given if provided as an answer
 
Method Summary
 void questionAnswered(Question q, int answer, long time)
          called by a gui component when a user answered the given question
 

Field Detail

NO_ANSWER

static final int NO_ANSWER
indicates that no answer was given if provided as an answer

See Also:
Constant Field Values
Method Detail

questionAnswered

void questionAnswered(Question q,
                      int answer,
                      long time)
called by a gui component when a user answered the given question



(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads