com.ingenotech.lavalamp.ftdi
Class Beeper1

java.lang.Object
  extended by java.lang.Thread
      extended by com.ingenotech.lavalamp.ftdi.Beeper1
All Implemented Interfaces:
Beeper, java.lang.Runnable

public class Beeper1
extends java.lang.Thread
implements Beeper


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Beeper1(DeviceWriter device)
           
 
Method Summary
 void cancel()
           
 void run()
           
 void setRunFor(long msDuration)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ingenotech.lavalamp.ftdi.Beeper
isAlive, start
 

Constructor Detail

Beeper1

public Beeper1(DeviceWriter device)
Method Detail

setRunFor

public void setRunFor(long msDuration)
Specified by:
setRunFor in interface Beeper

cancel

public void cancel()
Specified by:
cancel in interface Beeper

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread


Copyright © 2010. All Rights Reserved.