javax.microedition.sensor
Class UltrasonicChannelInfo

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

public class UltrasonicChannelInfo
extends NXTChannelInfo

Implementation of the ChannelInfo interface for a proximity channel implemented by the LEGO ultrasonic sensor.

Author:
Lawrie Griffiths

Field Summary
 
Fields inherited from interface javax.microedition.sensor.ChannelInfo
TYPE_DOUBLE, TYPE_INT, TYPE_OBJECT
 
Constructor Summary
UltrasonicChannelInfo()
           
 
Method Summary
 MeasurementRange[] getMeasurementRanges()
           
 String getName()
           
 int getScale()
           
 Unit getUnit()
           
 
Methods inherited from class javax.microedition.sensor.NXTChannelInfo
getAccuracy, getDataLength, getDataType, getOffset, getRegister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UltrasonicChannelInfo

public UltrasonicChannelInfo()
Method Detail

getMeasurementRanges

public MeasurementRange[] getMeasurementRanges()

getName

public String getName()

getScale

public int getScale()
Specified by:
getScale in interface ChannelInfo
Overrides:
getScale in class NXTChannelInfo

getUnit

public Unit getUnit()
Specified by:
getUnit in interface ChannelInfo
Overrides:
getUnit in class NXTChannelInfo