Holger's
Java API

com.antelmann.game.quiz
Class DefaultQuestionComponentFactory

java.lang.Object
  extended by com.antelmann.game.quiz.DefaultQuestionComponentFactory
All Implemented Interfaces:
QuestionComponentFactory

public class DefaultQuestionComponentFactory
extends Object
implements QuestionComponentFactory

Author:
Holger Antelmann

Constructor Summary
DefaultQuestionComponentFactory()
           
 
Method Summary
 JComponent generateComponent(Component parent, Question q, AnswerHandler handler)
          uses a JQuizQuestion as a component (the parent parameter is ignored)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultQuestionComponentFactory

public DefaultQuestionComponentFactory()
Method Detail

generateComponent

public JComponent generateComponent(Component parent,
                                    Question q,
                                    AnswerHandler handler)
uses a JQuizQuestion as a component (the parent parameter is ignored)

Specified by:
generateComponent in interface QuestionComponentFactory
See Also:
JQuizQuestion


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