net.sourceforge.pavlov.controllers
Class QuestionHistory
java.lang.Object
net.sourceforge.sillyview.Widget
net.sourceforge.pavlov.controllers.QuestionHistory
- All Implemented Interfaces:
- QuestionChangedListener
public final class QuestionHistory
- extends Widget
- implements QuestionChangedListener
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 |
Method Summary |
void |
questionChanged(Question aQuestion,
QuestionData aQuestionData)
Generates some textual information about the user's history
with this question and dumps it into the text JLabel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fmt
protected DateFormatter fmt
dateFormat
protected SimpleDateFormat dateFormat
LAST_ANSWERED
public static final String LAST_ANSWERED
- See Also:
- Constant Field Values
NUM_RIGHTS
public static final String NUM_RIGHTS
- See Also:
- Constant Field Values
TOTAL_ANSWERED
public static final String TOTAL_ANSWERED
- See Also:
- Constant Field Values
QuestionHistory
public QuestionHistory(WidgetView myView)
questionChanged
public void questionChanged(Question aQuestion,
QuestionData aQuestionData)
- Generates some textual information about the user's history
with this question and dumps it into the text JLabel.
- Specified by:
questionChanged
in interface QuestionChangedListener
- Parameters:
aQuestion
- a Question
valueaQuestionData
- a QuestionData
value