javax.microedition.sensor
Class ColorIndexChannelInfo

java.lang.Object
  extended by javax.microedition.sensor.NXTChannelInfo
      extended by javax.microedition.sensor.ColorIndexChannelInfo
All Implemented Interfaces:
ChannelInfo

public class ColorIndexChannelInfo
extends NXTChannelInfo

ChannelInfo for color indexnumber from HiTechnic Color Sensor.

Author:
Lawrie Griffiths

Field Summary
 
Fields inherited from interface javax.microedition.sensor.ChannelInfo
TYPE_DOUBLE, TYPE_INT, TYPE_OBJECT
 
Constructor Summary
ColorIndexChannelInfo()
           
 
Method Summary
 int getDataLength()
           
 MeasurementRange[] getMeasurementRanges()
           
 String getName()
           
 int getRegister()
          Get the register that returns channel data for an I2C channel
 
Methods inherited from class javax.microedition.sensor.NXTChannelInfo
getAccuracy, getDataType, getOffset, getScale, getUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorIndexChannelInfo

public ColorIndexChannelInfo()
Method Detail

getRegister

public int getRegister()
Description copied from class: NXTChannelInfo
Get the register that returns channel data for an I2C channel

Overrides:
getRegister in class NXTChannelInfo
Returns:
the register

getMeasurementRanges

public MeasurementRange[] getMeasurementRanges()

getName

public String getName()

getDataLength

public int getDataLength()
Overrides:
getDataLength in class NXTChannelInfo