|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.tutor.FeedbackAdapter
public class FeedbackAdapter
To adapt the explanation based on feedback amount and student's needs
Constructor Summary | |
---|---|
FeedbackAdapter(StudentModel inStudent)
|
Method Summary | |
---|---|
java.util.Vector |
adapt(java.util.Vector explanation)
Adapts the explanation based on Configuration.feedbackAmount and in the future, based on the student's learning objectives This method will be called by TutorModel the first time explanation has to be generated for each problem. |
static void |
main(java.lang.String[] args)
|
void |
setEnquiredLine(int lineNumber)
Record the line on which the user clicked in the feedback Also note that the feedback must be refreshed |
java.util.Vector |
update(java.util.Vector completeExplanation,
java.util.Vector currentExplanation)
Method that will 1) Adapt the feedback to the new feedbackAmount if feedbackAmount changed 2) ELSE, Expand/collapse the feedback on a line if refresh is set 3) ELSE, Return the original explanation as is. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeedbackAdapter(StudentModel inStudent)
Method Detail |
---|
public void setEnquiredLine(int lineNumber)
public java.util.Vector adapt(java.util.Vector explanation)
public java.util.Vector update(java.util.Vector completeExplanation, java.util.Vector currentExplanation)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |