Class timer


(package private) class timer
extends Thread

timer timer for exercise part Author: Christiane Adler

Field Summary

int
counterlaufzeit
private int
laufzeit
private int
min
(package private) gui
myGui
private int
sec
(package private) boolean
stopped

Constructor Summary

timer(gui mainGui)
timer(gui mainGui, int mainlaufzeit)

Method Summary

void
run()
void
stop_me()
int
totalTime(int totalCounterlaufzeitOld)
calculating the total time of an exercise

Field Details

counterlaufzeit

public int counterlaufzeit

laufzeit

private int laufzeit

min

private int min

myGui

(package private)  gui myGui

sec

private int sec

stopped

(package private)  boolean stopped

Constructor Details

timer

public timer(gui mainGui)

timer

public timer(gui mainGui,
             int mainlaufzeit)

Method Details

run

public void run()

stop_me

public void stop_me()

totalTime

public int totalTime(int totalCounterlaufzeitOld)
calculating the total time of an exercise