|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.sillyview.Widget net.sourceforge.pavlov.controllers.ChapterCoverage
public final class ChapterCoverage
A GUI widget that shows the user information about his global history with this chapter.
Field Summary | |
---|---|
static String |
NUM_ANSWERED
Describe constant NUM_ANSWERED here. |
static String |
NUM_ANSWERED_ONLY_WRONG
Describe constant NUM_ANSWERED_ONLY_WRONG here. |
static String |
NUM_ANSWERED_RIGHT
Describe constant NUM_ANSWERED_RIGHT here. |
static String |
NUM_NOT_ANSWERED
Describe constant NUM_NOT_ANSWERED here. |
static String |
NUM_QUESTIONS
Describe constant NUM_QUESTIONS here. |
static String |
NUM_RIGHT_ANSWERS
Describe constant NUM_RIGHT_ANSWERS here. |
static String |
NUM_WRONG_ANSWERS
Describe constant NUM_WRONG_ANSWERS here. |
static String |
PCT_ANSWERED
Describe constant PCT_ANSWERED here. |
static String |
PCT_RIGHT_ANSWERS
Describe constant PCT_RIGHT_ANSWERS here. |
static String |
PCT_WRONG_ANSWERS
Describe constant PCT_WRONG_ANSWERS here. |
Fields inherited from class net.sourceforge.sillyview.Widget |
---|
view |
Constructor Summary | |
---|---|
ChapterCoverage(WidgetView myView,
ChapterData _cd)
Creates a new TextCoverageWidget instance. |
Method Summary | |
---|---|
void |
answerEvent(AnswerEvent e)
User answered a question, refresh statistics and generate text. |
Methods inherited from class net.sourceforge.sillyview.Widget |
---|
getView, setView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NUM_ANSWERED
NUM_ANSWERED
here.
public static final String NUM_ANSWERED_ONLY_WRONG
NUM_ANSWERED_ONLY_WRONG
here.
public static final String NUM_ANSWERED_RIGHT
NUM_ANSWERED_RIGHT
here.
public static final String NUM_NOT_ANSWERED
NUM_NOT_ANSWERED
here.
public static final String NUM_QUESTIONS
NUM_QUESTIONS
here.
public static final String NUM_RIGHT_ANSWERS
NUM_RIGHT_ANSWERS
here.
public static final String NUM_WRONG_ANSWERS
NUM_WRONG_ANSWERS
here.
public static final String PCT_ANSWERED
PCT_ANSWERED
here.
public static final String PCT_RIGHT_ANSWERS
PCT_RIGHT_ANSWERS
here.
public static final String PCT_WRONG_ANSWERS
PCT_WRONG_ANSWERS
here.
Constructor Detail |
---|
public ChapterCoverage(WidgetView myView, ChapterData _cd)
TextCoverageWidget
instance.
myView
- a WidgetView
value_cd
- a ChapterData
valueMethod Detail |
---|
public void answerEvent(AnswerEvent e)
answerEvent
in interface AnswerListener
e
- a AnswerEvent
value
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |