javax.microedition.sensor
Class NXTADSensorInfo

java.lang.Object
  extended by javax.microedition.sensor.NXTSensorInfo
      extended by javax.microedition.sensor.NXTADSensorInfo
All Implemented Interfaces:
SensorInfo
Direct Known Subclasses:
BatterySensorInfo, HiTechnicGyroSensorInfo, LightSensorInfo, RCXLightSensorInfo, RCXTemperatureSensorInfo, SoundSensorInfo, TouchSensorInfo

public abstract class NXTADSensorInfo
extends NXTSensorInfo

Abstract class with common methods for Lego Analog/Digital sensors.

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
NXTADSensorInfo()
           
 
Method Summary
 String getVendor()
           
 String getVersion()
           
 int getWiredType()
           
 
Methods inherited from class javax.microedition.sensor.NXTSensorInfo
getChannelInfos, getConnectionType, getContextType, getDescription, getMaxBufferSize, getMode, getModel, getModelNames, getProperty, getPropertyNames, getSensorType, getType, getUrl, 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
 
Methods inherited from interface javax.microedition.sensor.SensorInfo
getQuantity
 

Constructor Detail

NXTADSensorInfo

public NXTADSensorInfo()
Method Detail

getWiredType

public int getWiredType()
Overrides:
getWiredType in class NXTSensorInfo

getVendor

public String getVendor()
Overrides:
getVendor in class NXTSensorInfo

getVersion

public String getVersion()
Overrides:
getVersion in class NXTSensorInfo