javax.microedition.sensor
Class UltrasonicSensorInfo

java.lang.Object
  extended by javax.microedition.sensor.NXTSensorInfo
      extended by javax.microedition.sensor.UltrasonicSensorInfo
All Implemented Interfaces:
SensorInfo

public class UltrasonicSensorInfo
extends NXTSensorInfo

SensorInfo for the LEGO Mindstorms ultrasonic sensor

Author:
Lawrie Griffiths

Field Summary
 
Fields inherited from class javax.microedition.sensor.NXTSensorInfo
AD_SENSOR, I2C_SENSOR, infos, MAX_RATE, RCX_SENSOR
 
Fields inherited from interface javax.microedition.sensor.SensorInfo
CONN_EMBEDDED, CONN_REMOTE, CONN_SHORT_RANGE_WIRELESS, CONN_WIRED, CONTEXT_TYPE_AMBIENT, CONTEXT_TYPE_DEVICE, CONTEXT_TYPE_USER, PROP_LATITUDE, PROP_LOCATION, PROP_LONGITUDE, PROP_MAX_RATE, PROP_VENDOR, PROP_VERSION
 
Constructor Summary
UltrasonicSensorInfo()
           
 
Method Summary
 String[] getModelNames()
          Return the names of all the models that implement this channel.
 String getQuantity()
           
 
Methods inherited from class javax.microedition.sensor.NXTSensorInfo
getChannelInfos, getConnectionType, getContextType, getDescription, getMaxBufferSize, getMode, getModel, getProperty, getPropertyNames, getSensorType, getType, getUrl, getVendor, getVersion, getWiredType, isAvailabilityPushSupported, isAvailable, isConditionPushSupported, setPortNumber, setType, setVendor, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UltrasonicSensorInfo

public UltrasonicSensorInfo()
Method Detail

getQuantity

public String getQuantity()

getModelNames

public String[] getModelNames()
Description copied from class: NXTSensorInfo
Return the names of all the models that implement this channel. Null for A/D sensors.

Overrides:
getModelNames in class NXTSensorInfo
Returns:
the model names