mauda
Class ModifiedDetector

java.lang.Object
  extended by mauda.ModifiedDetector
All Implemented Interfaces:
ExerciseUpdateListener

public class ModifiedDetector
extends java.lang.Object
implements ExerciseUpdateListener

Detects and sets the modified-state of the exercise by listening to exercise-changes.

Author:
Markus Krebs

Constructor Summary
ModifiedDetector(Exercise ex)
          Creates a ModifiedDetector
 
Method Summary
 void exerciseUpdate(ExerciseUpdateEvent e)
          Invoked when an Event occures
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifiedDetector

public ModifiedDetector(Exercise ex)
Creates a ModifiedDetector

Method Detail

exerciseUpdate

public void exerciseUpdate(ExerciseUpdateEvent e)
Description copied from interface: ExerciseUpdateListener
Invoked when an Event occures

Specified by:
exerciseUpdate in interface ExerciseUpdateListener
Parameters:
e - The event