javax.microedition.sensor
Class ColorRGBChannelInfo

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

public class ColorRGBChannelInfo
extends NXTChannelInfo

ChannelInfo for color channels rgb_r, rgb_g and rgb_b as implemented by the MHiTechnic color sensor

Author:
Lawrie Griffiths

Field Summary
static String[] rgb
           
 
Fields inherited from interface javax.microedition.sensor.ChannelInfo
TYPE_DOUBLE, TYPE_INT, TYPE_OBJECT
 
Constructor Summary
ColorRGBChannelInfo(String color)
           
 
Method Summary
 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, getDataLength, getDataType, getOffset, getScale, getUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rgb

public static final String[] rgb
Constructor Detail

ColorRGBChannelInfo

public ColorRGBChannelInfo(String color)
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()