| java.lang.Object DEOS.AbstractClockingDevice DEOS.NewTimer
isInterrupted | boolean isInterrupted(Code) | | |
isStarted | boolean isStarted(Code) | | |
startingTime | int startingTime(Code) | | |
stoppingTime | int stoppingTime(Code) | | |
NewTimer | public NewTimer()(Code) | | Primary constructor
|
clearTimeOut | public void clearTimeOut()(Code) | | Clear time out
|
clockTicks | public void clockTicks(int currentTime)(Code) | | When clock ticks, clock calls this method (inherited from
super class)
|
getRemainingTime | public int getRemainingTime(int currentTime)(Code) | | To get the remaining time
currentTime, the current time on the clock remainingTime, amount of time left |
getSetTime | public int getSetTime()(Code) | | To get the set-time
|
getStoppingTime | public int getStoppingTime()(Code) | | To get the stoppingTime
stoppingTime, the stopping time (on the clock) for the timer |
interruptTimer | public void interruptTimer()(Code) | | Interrupt timer
|
isTimeOut | public boolean isTimeOut()(Code) | | Time out
Parameters: currentTime - the current time on the clock true if time out occurs |
setTimer | public void setTimer(int setTimeIn, int startingTimeIn)(Code) | | To reset the timer
Parameters: startingTimeIn - value for setting timer |
Methods inherited from DEOS.AbstractClockingDevice | abstract public void clockTicks(int currentTime)(Code)(Java Doc)
|
|
|