mauda.feedback.types
Class ImmediateFeedbackAndErrorCorrection

java.lang.Object
  extended by mauda.feedback.SimpleFeedback
      extended by mauda.feedback.types.ImmediateFeedbackAndErrorCorrection
All Implemented Interfaces:
ExerciseUpdateListener

public class ImmediateFeedbackAndErrorCorrection
extends SimpleFeedback

Provides the logic for Immediate Feedback and Error Correction

Author:
Markus Krebs

Field Summary
 
Fields inherited from class mauda.feedback.SimpleFeedback
feedbackGenerator, MAX_TRIES
 
Constructor Summary
ImmediateFeedbackAndErrorCorrection(FeedbackExercise exercise)
          Creates an ImmediateFeedbackAndErrorCorrection
 
Method Summary
 int getFeedbackTypeID()
          Returns the FeedbackTypeID
 void load(java.util.HashMap hm)
          Loads the values of this feedback with the values from the delivered HashMap-representation
 java.util.HashMap save()
          Converts all feedback-values in a HashMap-representation for saving-purposes
 
Methods inherited from class mauda.feedback.SimpleFeedback
displayLoadingMessage, exerciseFinished, exerciseUpdate, getEvaluator, getFeedbackGenerator, getInitOperationQueue, getTodoOperationQueue, setEvaluator, setInitOperationQueue, setTodoOperationQueue, switchTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmediateFeedbackAndErrorCorrection

public ImmediateFeedbackAndErrorCorrection(FeedbackExercise exercise)
Creates an ImmediateFeedbackAndErrorCorrection

Parameters:
exercise - FeedbackExercise
Method Detail

getFeedbackTypeID

public int getFeedbackTypeID()
Description copied from class: SimpleFeedback
Returns the FeedbackTypeID

Overrides:
getFeedbackTypeID in class SimpleFeedback
Returns:
feedback-type-ID
See Also:
FeedbackSelector

save

public java.util.HashMap save()
Description copied from class: SimpleFeedback
Converts all feedback-values in a HashMap-representation for saving-purposes

Overrides:
save in class SimpleFeedback
Returns:
HashMap-representation

load

public void load(java.util.HashMap hm)
Description copied from class: SimpleFeedback
Loads the values of this feedback with the values from the delivered HashMap-representation

Overrides:
load in class SimpleFeedback
Parameters:
hm - HashMap-representation