Phidgets
Class PhidgetLED

java.lang.Object
  extended by java.lang.Thread
      extended by Phidgets.Phidget
          extended by Phidgets.PhidgetLED
All Implemented Interfaces:
Runnable

public class PhidgetLED
extends Phidget


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class Phidgets.Phidget
handler
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PhidgetLED()
           
 
Method Summary
 void Close()
           
 int GetDiscreteLED(int Index)
           
 int GetNumLEDs()
           
 boolean Open(boolean Exclusive)
           
 boolean Open(boolean Exclusive, int SerialNumber)
           
 void SetDiscreteLED(int Index, int newVal)
           
 
Methods inherited from class Phidgets.Phidget
GetDeviceType, GetDeviceVersion, GetIsAttached, GetLibraryVersion, GetSerialNumber
 
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, run, 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
 

Constructor Detail

PhidgetLED

public PhidgetLED()
Method Detail

Open

public boolean Open(boolean Exclusive)

Open

public boolean Open(boolean Exclusive,
                    int SerialNumber)

Close

public void Close()

GetNumLEDs

public int GetNumLEDs()

GetDiscreteLED

public int GetDiscreteLED(int Index)

SetDiscreteLED

public void SetDiscreteLED(int Index,
                           int newVal)