javax.microedition.sensor
Class ColorIndexChannelInfo
java.lang.Object
javax.microedition.sensor.NXTChannelInfo
javax.microedition.sensor.ColorIndexChannelInfo
- All Implemented Interfaces:
- ChannelInfo
public class ColorIndexChannelInfo
- extends NXTChannelInfo
ChannelInfo for color indexnumber from HiTechnic Color Sensor.
- Author:
- Lawrie Griffiths
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorIndexChannelInfo
public ColorIndexChannelInfo()
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