projectpossibility
Class Calibrator

java.lang.Object
  extended by projectpossibility.Calibrator
All Implemented Interfaces:
java.lang.Runnable

public class Calibrator
extends java.lang.Object
implements java.lang.Runnable

Provides Calibration/Noise level analysis (* still needs a correct implementation)

Author:
AG Team

Constructor Summary
Calibrator(javax.microedition.media.Player p, Graph g, FloorLevel floor, CCalibrationScreen screen, javax.microedition.lcdui.CommandListener listener, javax.microedition.lcdui.Command doneCommand)
           
 
Method Summary
 void run()
          start calibration
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Calibrator

public Calibrator(javax.microedition.media.Player p,
                  Graph g,
                  FloorLevel floor,
                  CCalibrationScreen screen,
                  javax.microedition.lcdui.CommandListener listener,
                  javax.microedition.lcdui.Command doneCommand)
Parameters:
p - player
g - graph
floor - noise level/sound base level
screen - screen for calibrator
listener - command listener
doneCommand - command for changing pages after finishing
Method Detail

run

public void run()
start calibration

Specified by:
run in interface java.lang.Runnable