net.sourceforge.pavlov.controllers
Class QuizStatus
java.lang.Object
net.sourceforge.sillyview.Widget
net.sourceforge.pavlov.controllers.QuizStatus
- All Implemented Interfaces:
- AnswerListener
public final class QuizStatus
- extends Widget
- implements AnswerListener
Feedback panel that displays information about the user's
history with the specified question.
- Since:
- 1.1
Fields inherited from class net.sourceforge.sillyview.Widget |
view |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startDate
protected Date startDate
ELAPSED_TIME
public static final String ELAPSED_TIME
- See Also:
- Constant Field Values
NUM_ANSWERS
public static final String NUM_ANSWERS
- See Also:
- Constant Field Values
NUM_CORRECT_ANSWERS
public static final String NUM_CORRECT_ANSWERS
- See Also:
- Constant Field Values
NUM_INCORRECT_ANSWERS
public static final String NUM_INCORRECT_ANSWERS
- See Also:
- Constant Field Values
PERCENT_SCORE
public static final String PERCENT_SCORE
- See Also:
- Constant Field Values
QuizStatus
public QuizStatus(WidgetView myView)
- Create an empty status panel.
answerEvent
public void answerEvent(AnswerEvent e)
- Describe
answerEvent
method here.
- Specified by:
answerEvent
in interface AnswerListener
- Parameters:
e
- an AnswerEvent
value
getTimeString
protected String getTimeString()