org.activemath.webapp.evaluators
Class StandardNavigationEvaluator

java.lang.Object
  extended by org.activemath.webapp.evaluators.Evaluator
      extended by org.activemath.webapp.evaluators.StandardNavigationEvaluator

public class StandardNavigationEvaluator
extends Evaluator

SimpleEyeTrackerNavigationEvaluator.java An evaluator common to all users. Created: Mon Dec 17 10:01:49 2001


Field Summary
protected static Logger thisLogCat
          The logging facility.
 
Fields inherited from class org.activemath.webapp.evaluators.Evaluator
evaluationFunction, user
 
Constructor Summary
StandardNavigationEvaluator(User user)
          Constructs a new SimpleEyeTrackerNavigationEvaluator using the specified settings.
 
Method Summary
 void endPageBrowsed(List ids, long time, String session, String page)
          handle the event w.r.t the navigation, that the user finished reading a page.
 void startPageBrowsed(List ids, long time, String session, String page)
          Signals the start of a new page.
 
Methods inherited from class org.activemath.webapp.evaluators.Evaluator
elementHasBeenSeen, endExercise, initFunction, startExercise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thisLogCat

protected static Logger thisLogCat
The logging facility.

Constructor Detail

StandardNavigationEvaluator

public StandardNavigationEvaluator(User user)
Constructs a new SimpleEyeTrackerNavigationEvaluator using the specified settings.

Parameters:
user - the user object this evaluator is associated to
Method Detail

startPageBrowsed

public void startPageBrowsed(List ids,
                             long time,
                             String session,
                             String page)
Signals the start of a new page. This tries to check if the navigation does make sense.

Overrides:
startPageBrowsed in class Evaluator
Parameters:
time - the timestamp when the user started the page.
ids - the ids on the page the user worked with.
session - the session in wich the user is working.
page - the number of the page that has been started

endPageBrowsed

public void endPageBrowsed(List ids,
                           long time,
                           String session,
                           String page)
handle the event w.r.t the navigation, that the user finished reading a page. Currently we don't have any rules to handle it.

Overrides:
endPageBrowsed in class Evaluator