cs015.SP
Class PowerButtonDelayBehavior

java.lang.Object
  extended byNGP.Timer
      extended byNGP.DefiniteTimer
          extended bycs015.SP.PowerButtonDelayBehavior
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class PowerButtonDelayBehavior
extends DefiniteTimer

This behavior waits for a bit, then turns the TV off.

Author:
Matt Chotin (mhc)

Constructor Summary
PowerButtonDelayBehavior(TV tv)
           
 
Method Summary
 void activate()
           
 
Methods inherited from class NGP.DefiniteTimer
actionPerformed, getTimesAlreadyExecuted, getTimesToExecute, setTimesToExecute, start
 
Methods inherited from class NGP.Timer
getDelay, setDelay, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerButtonDelayBehavior

public PowerButtonDelayBehavior(TV tv)
Method Detail

activate

public void activate()