|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.feedback.FeedbackGenerator
public class FeedbackGenerator
Central class for generating feedback.
| Constructor Summary | |
|---|---|
FeedbackGenerator(Exercise exercise)
Creates a FeedbackGenerator |
|
| Method Summary | |
|---|---|
void |
exerciseUpdate(ExerciseUpdateEvent e)
Invoked when an Event occures |
java.lang.String |
genMessage(java.lang.String img1,
java.lang.String txt1)
Generates a 1x2 table-HTML-Message from the given parameters |
java.lang.String |
genMessage(java.lang.String img1,
java.lang.String txt1,
java.lang.String img2,
java.lang.String txt2)
Generates a 2x2 table-HTML-Message from the given parameters |
FeedbackObject |
getFeedback()
Gets a FeedbackObject, to the current position inside the exercise. |
KBFormulaEvaluator |
getKBFormulaEvaluator()
Gets the KBFormulaEvaluator |
void |
loadKB()
Loads the plugin-specific knowledge-base |
static void |
setKBFormulaEvaluator(KBFormulaEvaluator kbfe)
Sets the plugin-specific KBFormualEvaluator. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeedbackGenerator(Exercise exercise)
exercise - Exercise| Method Detail |
|---|
public void exerciseUpdate(ExerciseUpdateEvent e)
ExerciseUpdateListener
exerciseUpdate in interface ExerciseUpdateListenere - The eventpublic void loadKB()
public static void setKBFormulaEvaluator(KBFormulaEvaluator kbfe)
kbfe - KBFormualEvaluatorpublic KBFormulaEvaluator getKBFormulaEvaluator()
setKBFormulaEvaluator(KBFormulaEvaluator)public FeedbackObject getFeedback()
public java.lang.String genMessage(java.lang.String img1,
java.lang.String txt1,
java.lang.String img2,
java.lang.String txt2)
img1 - The image that should be displayed in the upper-left-cell of the messagetxt1 - The HTML-text that should be displayed in the upper-right-cell of the messageimg2 - The image that should be displayed in the lower-left-cell of the messagetxt2 - The HTML-text that should be displayed in the upper-right-cell of the message
public java.lang.String genMessage(java.lang.String img1,
java.lang.String txt1)
img1 - The image that should be displayed in the left-cell of the messagetxt1 - The HTML-text that should be displayed in the right-cell of the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||