Holger's
Java API

Uses of Class
com.antelmann.game.quiz.Question

Packages that use Question
com.antelmann.game.quiz This package contains an implementation for quiz games. 
 

Uses of Question in com.antelmann.game.quiz
 

Fields in com.antelmann.game.quiz with type parameters of type Question
protected  List<Question> DemoQuizFrame.list
           
 

Methods in com.antelmann.game.quiz that return Question
 Question JQuizQuestion.getQuestion()
           
 

Methods in com.antelmann.game.quiz that return types with arguments of type Question
protected  List<Question> DemoQuizFrame.generateQuestions()
          may be overridden to insert a few questions manually
static List<Question> DemoQuizFrame.loadQuestions(File file)
          reads questions from a file in a specific format.
 

Methods in com.antelmann.game.quiz with parameters of type Question
protected  double DemoQuizFrame.calculateScore(Question[] q, int[] answers, long[] times)
           
 JComponent QuestionComponentFactory.generateComponent(Component parent, Question q, AnswerHandler handler)
           
 JComponent DefaultQuestionComponentFactory.generateComponent(Component parent, Question q, AnswerHandler handler)
          uses a JQuizQuestion as a component (the parent parameter is ignored)
 void JQuestionHandler.questionAnswered(Question q, int answer, long time)
          changes the gui for each question and delegates calls to the QuizListener
 void DemoQuizFrame.questionAnswered(Question q, int answer, long time)
           
 void AnswerHandler.questionAnswered(Question q, int answer, long time)
          called by a gui component when a user answered the given question
 HighscoreEntry QuizListener.quizFinished(String user, Question[] q, int[] answer, long[] time)
           
 HighscoreEntry DemoQuizFrame.quizFinished(String user, Question[] q, int[] answers, long[] times)
           
 

Constructors in com.antelmann.game.quiz with parameters of type Question
JQuizQuestion(Question question, AnswerHandler handler)
           
 

Constructor parameters in com.antelmann.game.quiz with type arguments of type Question
DemoQuizFrame(List<Question> questionList, int numberOfQuestions, Collection<HighscoreEntry> scores, ImageIcon logo, Font font)
           
DemoQuizFrame(List<Question> questionList, int numberOfQuestions, Collection<HighscoreEntry> scores, ImageIcon logo, Font font, Properties props)
           
JQuestionHandler(List<Question> list, QuestionComponentFactory factory, QuizListener listener, String user)
          at least one question must be in the list
 



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