Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A B C D E F G H I J K L M N O P Q R S T U V W X Y _

## A

A - Static variable in class lejos.nxt.Motor
  Motor A.
A - Static variable in class lejos.nxt.MotorPort
  MotorPort A.
A - Variable in class lejos.nxt.RCXLink
A - Variable in class lejos.nxt.RCXMotorMultiplexer
A - Variable in class lejos.nxt.remote.RemoteNXT
abs(double) - Static method in class java.lang.Math
  Returns the absolute value of a double value.
abs(int) - Static method in class java.lang.Math
  Returns the absolute value of an integer value.
AbstractRecyclable - Class in lejos.util
  Represents a recyclable object.
AbstractRecyclable() - Constructor for class lejos.util.AbstractRecyclable
accept() - Method in class lejos.nxt.comm.NXTServerSocket
  Waits untill there is a socket connection available.
acos(double) - Static method in class java.lang.Math
  Arc cosine function.
action() - Method in class lejos.subsumption.Activity
  Encapsulates the actual activity we want to perform.
action() - Method in interface lejos.subsumption.Behavior
  The code in action() represents the actual action of the robot when this behavior becomes active.
activate() - Method in interface lejos.nxt.LegacySensorPort
activate() - Method in class lejos.nxt.RCXLightSensor
  Activates an RCX light sensor.
activate() - Method in class lejos.nxt.SensorPort
  Activates an RCX sensor.
Activity - Class in lejos.subsumption
  An activity that operates in coordination with other activities.
Activity() - Constructor for class lejos.subsumption.Activity
ActivityBase - Class in lejos.subsumption
  Useful base class.
ActivityBase() - Constructor for class lejos.subsumption.ActivityBase
  Set this thread to be a daemon thread.
add(int, Object) - Method in class java.util.ArrayList
add(Object) - Method in class java.util.ArrayList
addAll(Object[]) - Method in class java.util.ArrayList
addAll(int, Object[]) - Method in class java.util.ArrayList
addButtonListener(ButtonListener) - Method in class lejos.nxt.Button
  Adds a listener of button events.
addCommand(Command) - Method in class javax.microedition.lcdui.Displayable
addCommand(Command) - Method in class javax.microedition.lcdui.Item
addCommand(Command) - Method in class javax.microedition.lcdui.Spacer
addDevice(RemoteDevice) - Static method in class lejos.nxt.comm.Bluetooth
  Add device to known devices
addElement(Object) - Method in class java.util.Vector
addGPSListener() - Method in class lejos.devices.GPS
addKeyListener(KeyListener) - Method in class lejos.devices.Keyboard
addLSC(int) - Method in class lejos.nxt.NXTe
  Add a LSC
addressToString(byte[]) - Static method in class lejos.nxt.comm.Bluetooth
  Helper method to convert address byte array to String.
addSensorPortListener(SensorPortListener) - Method in class lejos.nxt.SensorPort
  Adds a port listener.
addServo(int, String) - Method in class lejos.nxt.LSC
  Method to add servo to current LSC
ADSensorPort - Interface in lejos.nxt
  An abstraction for a port that supports Analog/Digital sensors.
Alert - Class in javax.microedition.lcdui
Alert(String) - Constructor for class javax.microedition.lcdui.Alert
Alert(String, String, Image, int) - Constructor for class javax.microedition.lcdui.Alert
ALERT_TYPE_ALARM - Static variable in class javax.microedition.lcdui.Alert
ALERT_TYPE_CONFIRMATION - Static variable in class javax.microedition.lcdui.Alert
ALERT_TYPE_ERROR - Static variable in class javax.microedition.lcdui.Alert
ALERT_TYPE_INFO - Static variable in class javax.microedition.lcdui.Alert
ALERT_TYPE_WARNING - Static variable in class javax.microedition.lcdui.Alert
ALL_BUTTONS - Static variable in class lejos.nxt.Poll
ALL_SENSORS - Static variable in class lejos.nxt.Poll
allChannelsOff() - Method in class lejos.nxt.RCXSensorMultiplexer
  Turns off all channels
allocate(int) - Method in class lejos.util.ArrayRecycler
  Attempts to obtain a free RecyclableArray.
allocate() - Method in class lejos.util.Recycler
  Attempts to obtain a free object.
ALT_DOWN_MASK - Static variable in class lejos.devices.KeyEvent
ALT_GRAPH_DOWN_MASK - Static variable in class lejos.devices.KeyEvent
ALT_GRAPH_MASK - Static variable in class lejos.devices.KeyEvent
ALT_MASK - Static variable in class lejos.devices.KeyEvent
AM_ALWAYS - Static variable in class lejos.nxt.comm.BTConnection
AM_DISABLE - Static variable in class lejos.nxt.comm.BTConnection
AM_OUTPUT - Static variable in class lejos.nxt.comm.BTConnection
ANGLE - Static variable in interface lejos.nxt.comm.NXTProtocol
ANGLESTEPSMODE - Static variable in interface lejos.nxt.comm.NXTProtocol
angleTo(float, float) - Method in interface lejos.navigation.Navigator
  returns the direction angle (degrees) to the point with coordinates (x,y)
angleTo(float, float) - Method in class lejos.navigation.TachoNavigator
  returns the direction angle (degrees) to point with coordinates (x,y)
ANY - Static variable in class javax.microedition.lcdui.TextField
append(String) - Method in class java.lang.StringBuffer
append(Object) - Method in class java.lang.StringBuffer
append(boolean) - Method in class java.lang.StringBuffer
append(char) - Method in class java.lang.StringBuffer
append(int) - Method in class java.lang.StringBuffer
append(long) - Method in class java.lang.StringBuffer
append(float) - Method in class java.lang.StringBuffer
append(double) - Method in class java.lang.StringBuffer
append(String, Image) - Method in interface javax.microedition.lcdui.Choice
append(String, Image) - Method in class javax.microedition.lcdui.ChoiceGroup
append(Image) - Method in class javax.microedition.lcdui.Form
append(Item) - Method in class javax.microedition.lcdui.Form
append(String) - Method in class javax.microedition.lcdui.Form
append(String, Image) - Method in class javax.microedition.lcdui.List
Arbitrator - Class in lejos.subsumption
  Arbitrator controls which behavior should currently be active in a behavior control system.
Arbitrator(Behavior[]) - Constructor for class lejos.subsumption.Arbitrator
  Allocates an Arbitrator object and initializes it with an array of Behavior objects.
Arbitrator2 - Class in lejos.subsumption
  Arbitrator2 controls which behavior should currently be active in a behavior control system.
Arbitrator2(Behavior2[]) - Constructor for class lejos.subsumption.Arbitrator2
  Allocates an Arbitrator2 object and initializes it with an array of Behavior2 objects.
ArithmeticException - Exception in java.lang
ArithmeticException() - Constructor for exception java.lang.ArithmeticException
arraycopy(Object, int, Object, int, int) - Static method in class java.lang.System
  Copies one array to another.
ArrayIndexOutOfBoundsException - Exception in java.lang
ArrayIndexOutOfBoundsException() - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
ArrayList - Class in java.util
  An expandable array.
ArrayList(int) - Constructor for class java.util.ArrayList
ArrayList(Object[]) - Constructor for class java.util.ArrayList
ArrayList() - Constructor for class java.util.ArrayList
ArrayRecycler - Class in lejos.util
  An array recycler for Object arrays.
ArrayRecycler() - Constructor for class lejos.util.ArrayRecycler
  Constructs a recycler.
arrServoID - Static variable in class lejos.nxt.LSC
asin(double) - Static method in class java.lang.Math
  Arc sine function.
Assertion - Class in lejos.util
  Class used in debugging to test assertions.
Assertion() - Constructor for class lejos.util.Assertion
atan(double) - Static method in class java.lang.Math
  Arc tangent function.
atan2(double, double) - Static method in class java.lang.Math
  Arc tangent function valid to the four quadrants y and x can have any value without sigificant precision loss atan2(0,0) returns 0.
autoRefresh(boolean) - Method in class javax.microedition.lcdui.Graphics
available() - Method in class java.io.DataInputStream
available() - Method in class java.io.FileInputStream
available() - Method in class java.io.InputStream
  Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
available(int) - Method in class lejos.nxt.comm.BTConnection
  Indicate the number of bytes available to be read.
available() - Method in class lejos.nxt.comm.BTConnection
available() - Method in class lejos.nxt.comm.NXTInputStream
  returns the number of bytes in the input buffer - can be read without blocking

## B

B - Static variable in class lejos.nxt.Motor
  Motor B.
B - Static variable in class lejos.nxt.MotorPort
  MotorPort B.
B - Variable in class lejos.nxt.RCXLink
B - Variable in class lejos.nxt.RCXMotorMultiplexer
B - Variable in class lejos.nxt.remote.RemoteNXT
BACK - Static variable in class javax.microedition.lcdui.Command
backward() - Method in interface lejos.navigation.Navigator
  Moves the NXT robot backward until stop() is called.
backward() - Method in class lejos.navigation.Pilot
  Moves the NXT robot backward until stop() is called.
backward() - Method in class lejos.navigation.TachoNavigator
  Moves the NXT robot backward until stop() is called.
backward() - Method in class lejos.nxt.BasicMotor
  Causes motor to rotate backwards.
backward() - Method in class lejos.nxt.Motor
  Causes motor to rotate backwards.
backward(int) - Method in class lejos.nxt.RCXLink
backwardStep(int) - Method in class lejos.nxt.RCXLink
BasicMotor - Class in lejos.nxt
  An abstraction for a motor without a tachometer, such as an RCX motor.
BasicMotor() - Constructor for class lejos.nxt.BasicMotor
BasicMotorPort - Interface in lejos.nxt
  An abstraction for a motor port that supports RCX type motors, but not NXT motors with tachometers.
BasicSensorPort - Interface in lejos.nxt
  An abstraction for a sensor port that supports setting and retrieving types and modes of sensors.
Battery - Class in lejos.nxt
  Provides access to Battery.
Battery - Variable in class lejos.nxt.remote.RemoteNXT
BEEP - Static variable in class lejos.nxt.RCXLink
  NOTE: The BEEP macro is unreliable.
beep() - Method in class lejos.nxt.RCXLink
beep() - Static method in class lejos.nxt.Sound
  Beeps once.
beepSequence() - Static method in class lejos.nxt.Sound
  Downward tones.
beepSequenceUp() - Static method in class lejos.nxt.Sound
  Upward tones.
Behavior - Interface in lejos.subsumption
  The Behavior interface represents an object embodying a specific behavior belonging to a robot.
Behavior2 - Interface in lejos.subsumption
  This interface works with Aribtrator2.
bitBlt(byte[], int, int, int, int, int, int, int, int, int) - Static method in class lejos.nxt.LCD
  Standard two input BitBlt function with the LCD display as the destination.
bitBlt(int, int, int, int, int) - Static method in class lejos.nxt.LCD
  Special case bitBlt with no input image.
bitBlt(byte[], int, int, int, int, byte[], int, int, int, int, int, int, int) - Static method in class lejos.nxt.LCD
  Standard two input BitBlt function.
BitSet - Class in java.util
  Represents a long set of bits.
BitSet(int) - Constructor for class java.util.BitSet
BLACK - Static variable in class javax.microedition.lcdui.Graphics
blank - Static variable in class lejos.nxt.TextMenu
  a blank line
Bluetooth - Class in lejos.nxt.comm
  Provides Bluetooth comminications.
bluetoothAddress - Variable in class lejos.nxt.comm.DeviceInfo
BluetoothStateException - Exception in javax.bluetooth
BluetoothStateException() - Constructor for exception javax.bluetooth.BluetoothStateException
BluetoothStateException(String) - Constructor for exception javax.bluetooth.BluetoothStateException
BOOLEANMODE - Static variable in interface lejos.nxt.comm.NXTProtocol
BOOT - Static variable in class lejos.nxt.comm.LCP
BOOT - Static variable in interface lejos.nxt.comm.NXTProtocol
BRAKE - Static variable in interface lejos.nxt.comm.NXTProtocol
  Use run/brake instead of run/float in PWM
BT_PENDING_INPUT - Static variable in class lejos.nxt.comm.Bluetooth
BT_PENDING_OUTPUT - Static variable in class lejos.nxt.comm.Bluetooth
BTConnection - Class in lejos.nxt.comm
  Provides a Bluetooth connection Supports both packetized and stream based commincation.
BTConnection(int) - Constructor for class lejos.nxt.comm.BTConnection
btGetBC4CmdMode() - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to get the BC4 chip mode
btPending() - Static method in class lejos.nxt.comm.Bluetooth
  Low-Level method to access the Bluetooth interface.
btRead(byte[], int, int) - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to read BT data
btReceive(byte[]) - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to receive BT replies or data
btSend(byte[], int) - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to send a BT command or data
btSetArmCmdMode(int) - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to switch BC4 chip between command and data (stream) mode.
btSetCmdMode(int) - Static method in class lejos.nxt.comm.Bluetooth
  Set the BC4 mode, and wait for that mode to be confirmed by the chip.
btSetResetHigh() - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to take the BC4 reset line high
btSetResetLow() - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to take the BC4 reset line low
btStartADConverter() - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to start ADC converter
btWrite(byte[], int, int) - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to write BT data
BufferedWriter - Class in java.io
  This is a minimal implementation of BufferedWriter.
BufferedWriter(OutputStream) - Constructor for class java.io.BufferedWriter
  In the standard Java API the constructor accepts a Writer object, such as OutputStreamWriter.
Button - Class in lejos.nxt
  Abstraction for an NXT button.
BUTTON_MASK_SHIFT - Static variable in class lejos.nxt.Poll
ButtonCounter - Class in lejos.util
  This is class is for data entry using the NXT keyboard.
ButtonCounter() - Constructor for class lejos.util.ButtonCounter
ButtonListener - Interface in lejos.nxt
  Abstraction for receiver of button events.
buttonPressed(Button) - Method in interface lejos.nxt.ButtonListener
buttonReleased(Button) - Method in interface lejos.nxt.ButtonListener
BUTTONS - Static variable in class lejos.nxt.Button
  Array containing ENTER, LEFT, RIGHT, ESCAPE, in that order.
buzz() - Static method in class lejos.nxt.Sound
  Low buzz
BYTES_PER_PAGE - Static variable in class lejos.nxt.Flash
  Indicates the # of bytes per page in a page of Flash memory.
bytesAvailable() - Method in class lejos.nxt.RCXLink

## C

C - Static variable in class lejos.nxt.Motor
  Motor C.
C - Static variable in class lejos.nxt.MotorPort
  MotorPort C.
C - Variable in class lejos.nxt.RCXLink
C - Variable in class lejos.nxt.RCXMotorMultiplexer
C - Variable in class lejos.nxt.remote.RemoteNXT
C2 - Static variable in class lejos.nxt.Sound
  Play a system sound.
calcChecksum() - Method in class lejos.devices.NMEASentence
calibrate() - Method in class lejos.navigation.CompassPilot
calibrate() - Method in class lejos.nxt.LSC
  This method check LSC connected with NXTe Currently I am debugging
calibrateCompass() - Method in class lejos.navigation.CompassNavigator
  Robot rotates 360 degrees while calibrating the compass sensor
calibratedValue - Variable in class lejos.nxt.comm.InputValues
  Currently unused.
calibrateHigh() - Method in class lejos.nxt.LightSensor
  call this method whtn the light sensor is reading the high value - used by reaeValue
calibrateLow() - Method in class lejos.nxt.LightSensor
  call this method when the light sensor is reading the low value - used by readValue
callCommandListener() - Method in class javax.microedition.lcdui.Displayable
callItemStateListener() - Method in class javax.microedition.lcdui.Form
callListeners() - Method in class lejos.nxt.Button
  Call Button Listeners.
callListeners() - Method in interface lejos.nxt.ListenerCaller
callListeners() - Method in class lejos.nxt.SensorPort
  Call Port Listeners.
CANCEL - Static variable in class javax.microedition.lcdui.Command
canRead() - Method in class java.io.File
canWrite() - Method in class java.io.File
capacity() - Method in class java.util.Vector
capacityIncrement - Variable in class java.util.ArrayList
capacityIncrement - Variable in class java.util.Vector
capture() - Method in class lejos.nxt.UltrasonicSensor
  Set capture mode Set the sensor into capture mode.
ceil(double) - Static method in class java.lang.Math
  Returns the smallest (closest to negative infinity) double value that is not less than the argument and is equal to a mathematical integer.
CELL_HEIGHT - Static variable in class lejos.nxt.LCD
CELL_WIDTH - Static variable in class lejos.nxt.LCD
CELSIUSMODE - Static variable in interface lejos.nxt.comm.NXTProtocol
CHAR_HEIGHT - Static variable in class javax.microedition.lcdui.Display
CHAR_WIDTH - Static variable in class javax.microedition.lcdui.Display
charAt(int) - Method in class java.lang.String
  Return the character at the given index
charAt(int) - Method in class java.lang.StringBuffer
Choice - Interface in javax.microedition.lcdui
ChoiceGroup - Class in javax.microedition.lcdui
ChoiceGroup(String, int) - Constructor for class javax.microedition.lcdui.ChoiceGroup
ChoiceGroup(String, int, String[], Image[]) - Constructor for class javax.microedition.lcdui.ChoiceGroup
choiceItems - Variable in class javax.microedition.lcdui.ChoiceGroup
choiceType - Variable in class javax.microedition.lcdui.ChoiceGroup
Class - Class in java.lang
  Not functional.
Class() - Constructor for class java.lang.Class
classBase - Variable in class lejos.nxt.debug.DebugInterface
ClassCastException - Exception in java.lang
ClassCastException() - Constructor for exception java.lang.ClassCastException
ClassNotFoundException - Exception in java.lang
ClassNotFoundException() - Constructor for exception java.lang.ClassNotFoundException
clear() - Method in class java.util.ArrayList
clear(int) - Method in class java.util.BitSet
clear() - Method in class java.util.Vector
clear() - Method in class javax.microedition.lcdui.Graphics
clear() - Method in class lejos.nxt.debug.DebugInterface
clear() - Static method in class lejos.nxt.LCD
  Clear the display.
clearDisplay() - Static method in class lejos.nxt.LCD
clearPaintRequest() - Method in class javax.microedition.lcdui.Displayable
Cloneable - Interface in java.lang
  This interface is not functional.
close() - Method in class java.io.DataInputStream
close() - Method in class java.io.DataOutputStream
  Closes this data output stream.
close() - Method in class java.io.FileOutputStream
  Write the buffer to flash memory and update the file parameters in flash.
close() - Method in class java.io.InputStream
  Closes this input stream and releases any system resources associated with the stream.
close() - Method in class java.io.OutputStream
  Closes this output stream and releases any system resources associated with this stream.
close() - Method in interface javax.microedition.io.Connection
close() - Method in class lejos.nxt.comm.BTConnection
  Close the connection.
CLOSE - Static variable in class lejos.nxt.comm.LCP
close() - Method in class lejos.nxt.comm.NXTComm
close() - Method in class lejos.nxt.comm.NXTCommand
  Call the close() command when your program ends, otherwise you will have to turn the NXT brick off/on before you run another program using iCommand.
close() - Method in class lejos.nxt.comm.NXTInputStream
  the stream is restored to its original state - ready to receive more data.
CLOSE - Static variable in interface lejos.nxt.comm.NXTProtocol
close() - Static method in class lejos.nxt.comm.RConsole
close() - Method in class lejos.nxt.comm.USBConnection
  Close the USB stream connection.
close() - Method in class lejos.rcxcomm.PacketHandler
  Close this packet handler and all lower layers.
close() - Method in class lejos.rcxcomm.RCXAbstractPort
  Closes this RCXPort, stopping the Listener thread.
closeConnection(byte) - Static method in class lejos.nxt.comm.Bluetooth
  Close an open connection
closePort() - Static method in class lejos.nxt.comm.Bluetooth
  Closes the port to disallow incoming connections.
closeStream() - Method in class lejos.nxt.comm.BTConnection
  Close the stream for this connection.
cmdListener - Variable in class javax.microedition.lcdui.Displayable
cmdListener - Variable in class javax.microedition.lcdui.Item
ColorSensor - Class in lejos.nxt
  HiTechnic color sensor.
  www.hitechnic.com Extended by A.T.Brask
ColorSensor(I2CPort) - Constructor for class lejos.nxt.ColorSensor
Command - Class in javax.microedition.lcdui
Command(int, int, int) - Constructor for class javax.microedition.lcdui.Command
Command(int, String, int, int) - Constructor for class javax.microedition.lcdui.Command
commandAction(Command, Displayable) - Method in interface javax.microedition.lcdui.CommandListener
commandAction(Command, Displayable) - Method in class javax.microedition.lcdui.Form
commandAction(Command, Item) - Method in interface javax.microedition.lcdui.ItemCommandListener
CommandListener - Interface in javax.microedition.lcdui
commands - Variable in class javax.microedition.lcdui.Displayable
commands - Variable in class javax.microedition.lcdui.Item
compass - Variable in class lejos.navigation.CompassPilot
CompassNavigator - Class in lejos.navigation
  The CompassNavigatort class, like its superclass, can keep track of the robot position and the direction angle it faces.
CompassNavigator(SensorPort, float, float, Motor, Motor) - Constructor for class lejos.navigation.CompassNavigator
  Allocates a CompassNavigator objects and its CompassPilot object and initializes it with the proper motors and dimensions.
CompassNavigator(SensorPort, float, float, Motor, Motor, boolean) - Constructor for class lejos.navigation.CompassNavigator
CompassNavigator(CompassSensor, float, float, Motor, Motor, boolean) - Constructor for class lejos.navigation.CompassNavigator
CompassNavigator(CompassPilot) - Constructor for class lejos.navigation.CompassNavigator
  To use this constructor, you must first create a compass pilot.
CompassPilot - Class in lejos.navigation
  A Pilot that keeps track of direction using a CompassSensor.
CompassPilot(SensorPort, float, float, Motor, Motor) - Constructor for class lejos.navigation.CompassPilot
  Allocates a CompasPilot object, and sets the physical parameters of the NXT robot.
CompassPilot(SensorPort, float, float, Motor, Motor, boolean) - Constructor for class lejos.navigation.CompassPilot
  Allocates a CompasPilot object, and sets the physical parameters of the NXT robot.
CompassPilot(CompassSensor, float, float, Motor, Motor) - Constructor for class lejos.navigation.CompassPilot
  Allocates a CompasPilot object, and sets the physical parameters of the NXT robot.
CompassPilot(CompassSensor, float, float, Motor, Motor, boolean) - Constructor for class lejos.navigation.CompassPilot
  Allocates a CompasPilot object, and sets the physical parameters of the NXT robot.
CompassSensor - Class in lejos.nxt
  Abstraction for a HiTechnic or Mindsensors compass.
CompassSensor(I2CPort) - Constructor for class lejos.nxt.CompassSensor
connect(RemoteDevice) - Static method in class lejos.nxt.comm.Bluetooth
  Connects to a remote device.
connect(byte[]) - Static method in class lejos.nxt.comm.Bluetooth
  Connects to a Device by it's Byte-Device-Address Array Uses the current default pin
connect(byte[], byte[]) - Static method in class lejos.nxt.comm.Bluetooth
  Connects to a Device by it's Byte-Device-Address Array
Connection - Interface in javax.microedition.io
consume() - Method in class lejos.devices.KeyEvent
contains(Object) - Method in class java.util.ArrayList
continuous() - Method in class lejos.nxt.UltrasonicSensor
  Switch to continuous ping mode.
controlMotor(int, int) - Method in interface lejos.nxt.BasicMotorPort
controlMotor(int, int) - Method in class lejos.nxt.MotorPort
  Low-level method to control a motor.
controlMotor(int, int) - Method in class lejos.nxt.RCXPlexedMotorPort
controlMotor(int, int) - Method in class lejos.nxt.RCXRemoteMotorPort
controlMotor(int, int) - Method in class lejos.nxt.remote.RemoteMotorPort
convertBytesToChars(byte[]) - Method in class javax.bluetooth.LocalDevice
convertCharsToBytes(char[], int) - Method in class javax.bluetooth.LocalDevice
cos(double) - Static method in class java.lang.Math
  Cosine function using a Chebyshev-Pade approximation.
count(String) - Method in class lejos.util.ButtonCounter
  Start counting; parameter string is displayed; use it to identify this particular call
  returns when ESC or ENTER button is pressed
  Hold Enter and left or right to decrease count, otherwise it increases
  counters are reset when this method is called.
count() - Method in class lejos.util.ButtonCounter
  called by count( string)
count(String, int, int) - Method in class lejos.util.ButtonCounter
  Initializes values of left count and right count.
createInstance() - Method in class lejos.util.ArrayRecycler
createInstance() - Method in class lejos.util.Recycler
  This is a factory method that should be overridden to create an Recyclable object instance.
createNewFile() - Method in class java.io.File
  Creates a new file entry in the flash memory.
cs - Static variable in class lejos.nxt.comm.Bluetooth
CTRL_DOWN_MASK - Static variable in class lejos.devices.KeyEvent
CTRL_MASK - Static variable in class lejos.devices.KeyEvent
currentThread() - Static method in class java.lang.Thread
currentTimeMillis() - Static method in class java.lang.System
  Current time expressed in milliseconds.
CUSTOM - Static variable in interface lejos.nxt.comm.NXTProtocol
CUSTOM - Static variable in class lejos.nxt.OpticalDistanceSensor
  Custom sensor

## D

D - Variable in class lejos.nxt.RCXMotorMultiplexer
daemon - Variable in class lejos.nxt.debug.DebugThread
DataInputStream - Class in java.io
  Reads java data types transmitted as bytes over an InputStream.
DataInputStream(InputStream) - Constructor for class java.io.DataInputStream
Datalogger - Class in lejos.util
  Datalogger class; stores float values then then transmits via bluetooth or usb
  works with DataViewer in pctools.
Datalogger() - Constructor for class lejos.util.Datalogger
  buld a Datalogger with default size 512
Datalogger(int) - Constructor for class lejos.util.Datalogger
  build a new Datalogger with capacity = size;
DataOutputStream - Class in java.io
  Transmits java data types as bytes over an OutputStream.
DataOutputStream(OutputStream) - Constructor for class java.io.DataOutputStream
DBG_EVENT_DISABLE - Static variable in class lejos.nxt.debug.DebugInterface
DBG_EVENT_ENABLE - Static variable in class lejos.nxt.debug.DebugInterface
DBG_EVENT_IGNORE - Static variable in class lejos.nxt.debug.DebugInterface
DBG_EXCEPTION - Static variable in class lejos.nxt.debug.DebugInterface
DBG_USER_INTERRUPT - Static variable in class lejos.nxt.debug.DebugInterface
DebugInterface - Class in lejos.nxt.debug
  This class provides the primary interface to the debug capabilities of leJOS.
DebugMonitor - Class in lejos.nxt.debug
  Simple debug monitor that can be run alongside and nxj program.
DebugMonitor() - Constructor for class lejos.nxt.debug.DebugMonitor
DebugObject - Class in lejos.nxt.debug
  Provide access to parts of a Java Object held within the VM
DebugObject(DebugInterface) - Constructor for class lejos.nxt.debug.DebugObject
  Initialize access to the VM structures
DebugStackFrame - Class in lejos.nxt.debug
  Provide access to the VM stack frame structure.
DebugStackFrame(DebugInterface) - Constructor for class lejos.nxt.debug.DebugStackFrame
  Initialise the access to the VM
DebugThread - Class in lejos.nxt.debug
  Provides a Java view of the VM thread structure.
DebugThread() - Constructor for class lejos.nxt.debug.DebugThread
DebugThreads - Class in lejos.nxt.debug
  This class provides access to the VM threads structures.
DebugThreads(DebugInterface) - Constructor for class lejos.nxt.debug.DebugThreads
  Initialise access to the VM structures
DECIMAL - Static variable in class javax.microedition.lcdui.TextField
defaultPin - Static variable in class lejos.nxt.comm.Bluetooth
defaults - Variable in class java.util.Properties
  A property list that contains default values for any keys not found in this property list.
defineAndRun(byte[], int) - Method in class lejos.nxt.RCXLink
defineMacro(int, byte[]) - Method in class lejos.nxt.RCXLink
defrag() - Static method in class java.io.File
  Defrag the file system.
DELAY - Static variable in class lejos.nxt.RCXLink
delete() - Method in class java.io.File
  Deletes the file represented by this File object.
delete(int, int) - Method in class java.lang.StringBuffer
delete(int) - Method in interface javax.microedition.lcdui.Choice
delete(int) - Method in class javax.microedition.lcdui.ChoiceGroup
delete(int) - Method in class javax.microedition.lcdui.Form
delete(int) - Method in class javax.microedition.lcdui.List
DELETE - Static variable in class lejos.nxt.comm.LCP
DELETE - Static variable in interface lejos.nxt.comm.NXTProtocol
DELETE_USER_FLASH - Static variable in class lejos.nxt.comm.LCP
DELETE_USER_FLASH - Static variable in interface lejos.nxt.comm.NXTProtocol
deleteAll() - Method in interface javax.microedition.lcdui.Choice
deleteAll() - Method in class javax.microedition.lcdui.ChoiceGroup
deleteAll() - Method in class javax.microedition.lcdui.Form
deleteAll() - Method in class javax.microedition.lcdui.List
deleteFlashMemory() - Method in class lejos.nxt.remote.RemoteNXT
  Deletes all user programs and data in FLASH memory
deleteUserFlash() - Method in class lejos.nxt.comm.NXTCommand
  Deletes user flash memory (not including system modules).
DeviceClass - Class in javax.bluetooth
  The DeviceClass class represents the class of device (CoD) record as defined by the Bluetooth specification.
DeviceClass(int) - Constructor for class javax.bluetooth.DeviceClass
DeviceInfo - Class in lejos.nxt.comm
  Represents a remote NXT accessed via LCP.
DeviceInfo() - Constructor for class lejos.nxt.comm.DeviceInfo
diagn(int, int) - Static method in class java.lang.System
  Diagnostic tool (for firmware developers only)
digit(char, int) - Static method in class java.lang.Integer
  This method accepts a character such as '7' or 'C' and converts it to a number value.
digit(int, int) - Static method in class java.lang.Integer
DIRECT_COMMAND_NOREPLY - Static variable in class lejos.nxt.comm.LCP
DIRECT_COMMAND_NOREPLY - Static variable in interface lejos.nxt.comm.NXTProtocol
DIRECT_COMMAND_REPLY - Static variable in class lejos.nxt.comm.LCP
DIRECT_COMMAND_REPLY - Static variable in interface lejos.nxt.comm.NXTProtocol
DIRECTORY_FULL - Static variable in class lejos.nxt.comm.LCP
Display - Class in javax.microedition.lcdui
DISPLAY_CHAR_DEPTH - Static variable in class lejos.nxt.LCD
DISPLAY_CHAR_WIDTH - Static variable in class lejos.nxt.LCD
DISPLAY_DEPTH - Static variable in class lejos.nxt.LCD
DISPLAY_WIDTH - Static variable in class lejos.nxt.LCD
Displayable - Class in javax.microedition.lcdui
Displayable() - Constructor for class javax.microedition.lcdui.Displayable
distanceTo(float, float) - Method in interface lejos.navigation.Navigator
  returns the distance from robot to the point with coordinates (x,y) .
distanceTo(float, float) - Method in class lejos.navigation.TachoNavigator
  distance from robot to the point with coordinates (x,y) .
DOTTED - Static variable in class javax.microedition.lcdui.Graphics
drawArc(int, int, int, int, int, int) - Method in class javax.microedition.lcdui.Graphics
drawChar(char, int, int, boolean) - Method in class javax.microedition.lcdui.Graphics
drawChar(char, int, int, boolean) - Static method in class lejos.nxt.LCD
  Draw a single char to an arbitary location on the screen.
drawChar(char, int, int, int) - Static method in class lejos.nxt.LCD
  Draw a single char to an arbitary location on the screen.
drawImage(Image, int, int, boolean) - Method in class javax.microedition.lcdui.Graphics
drawImage(Image, int, int, int, int, int, int, int) - Method in class javax.microedition.lcdui.Graphics
drawInt(int, int, int) - Static method in class lejos.nxt.LCD
  Display an int on the LCD at specified x,y co-ordinate.
drawInt(int, int, int, int) - Static method in class lejos.nxt.LCD
  Display an in on the LCD at x,y with leading spaces to occupy at least the number of characters specified by the places parameter.
drawLine(int, int, int, int) - Method in class javax.microedition.lcdui.Graphics
drawPixels(byte, int, int, boolean) - Static method in class lejos.nxt.LCD
  Draw pixels a byte at a time.
drawRect(int, int, int, int) - Method in class javax.microedition.lcdui.Graphics
drawRoundRect(int, int, int, int, int, int) - Method in class javax.microedition.lcdui.Graphics
drawString(String, int, int, int) - Method in class javax.microedition.lcdui.Graphics
drawString(String, int, int) - Method in class javax.microedition.lcdui.Graphics
drawString(String, int, int, boolean) - Method in class javax.microedition.lcdui.Graphics
drawString(String, int, int, boolean) - Static method in class lejos.nxt.LCD
  Output a string to the display.
drawString(String, int, int, int) - Static method in class lejos.nxt.LCD
  Output a string to the display.
drawString(String, int, int) - Static method in class lejos.nxt.LCD
  Display a string on the LCD at specified x,y co-ordinate.
dumpFileTable() - Static method in class java.io.File
  Debugger method.

## E

E - Static variable in class java.lang.Math
EEPROM_BUFFER - Static variable in class lejos.nxt.RCXLink
elementAt(int) - Method in class java.util.Vector
elementCount - Variable in class java.util.ArrayList
elementCount - Variable in class java.util.Vector
elementData - Variable in class java.util.ArrayList
elementData - Variable in class java.util.Vector
EMAILADDR - Static variable in class javax.microedition.lcdui.TextField
empty() - Method in class java.util.Queue
  is this Queue empty?
empty() - Method in class java.util.Stack
  is this stack empty?
EmptyQueueException - Exception in java.util
  An exception thrown by some Queue class methods to indicate that the Queue is empty
EmptyQueueException() - Constructor for exception java.util.EmptyQueueException
  creates a new exception wit null message string
EmptyStackException - Exception in java.util
  An exception thrown by some stack class methods to indicate that the stack is empty
EmptyStackException() - Constructor for exception java.util.EmptyStackException
  creates a new exception wit null message string
emulateCommand(byte[], int, byte[]) - Static method in class lejos.nxt.comm.LCP
  Emulates a Lego firmware Direct or System command
ensureCapacity(int) - Method in class java.util.Vector
ENTER - Static variable in class lejos.nxt.Button
  The Enter button.
ENTER_MASK - Static variable in class lejos.nxt.Poll
enumerate(DebugThread[]) - Method in class lejos.nxt.debug.DebugThreads
  Return the currently exsiting threads as an array.
Enumeration - Interface in java.util
  Enumeration object allows you to go through collections one object at a time.
EOFException - Exception in java.io
  Signals that an end of file or end of stream has been reached unexpectedly during input.
EOFException() - Constructor for exception java.io.EOFException
  Constructs an `EOFException` with `null` as its error detail message.
EOFException(String) - Constructor for exception java.io.EOFException
  Constructs an `EOFException` with the specified detail message.
equals(Object) - Method in class java.lang.Object
equals(Object) - Method in class java.lang.String
  Compares the String with an Object
equals(Object) - Method in class java.util.Vector
equals(Object) - Method in class javax.bluetooth.RemoteDevice
  Determines if two RemoteDevices are equal.
err - Static variable in class java.lang.System
Error - Error in java.lang
Error() - Constructor for error java.lang.Error
ESCAPE - Static variable in class lejos.nxt.Button
  The Escape button.
ESCAPE_MASK - Static variable in class lejos.nxt.Poll
eventOptions(int, int) - Static method in class lejos.nxt.debug.DebugInterface
  Allow events to be enabled/disabled/ignored.
Exception - Exception in java.lang
Exception() - Constructor for exception java.lang.Exception
Exception(String) - Constructor for exception java.lang.Exception
exception - Variable in class lejos.nxt.debug.DebugInterface
EXCLUSIVE - Static variable in interface javax.microedition.lcdui.Choice
exec() - Method in class java.io.File
  If the file is a binary executable, begins running it.
exec(int, int) - Static method in class lejos.nxt.Flash
executeProgram(int) - Static method in class lejos.nxt.debug.DebugInterface
  leJOS allows several "programs" to be linked into a single nxj file the system by default will start excution of program 0.
exists() - Method in class java.io.File
  Indicates if the file exists in the flash memory.
exit(int) - Static method in class java.lang.System
  Terminate the application.
EXIT - Static variable in class javax.microedition.lcdui.Command
exp(double) - Static method in class java.lang.Math
  Exponential function.

## F

FAHRENHEITMODE - Static variable in interface lejos.nxt.comm.NXTProtocol
fieldBase - Variable in class lejos.nxt.debug.DebugInterface
File - Class in java.io
  Implements a file system using pages of flash memory.
File(String) - Constructor for class java.io.File
  Creates a new File object.
FILE_NOT_FOUND - Static variable in class lejos.nxt.comm.LCP
FileInputStream - Class in java.io
  Reads a stream of bytes from a file.
FileInputStream(File) - Constructor for class java.io.FileInputStream
FileOutputStream - Class in java.io
  Writes a stream of bytes to a file.
FileOutputStream(File) - Constructor for class java.io.FileOutputStream
  create a new OutputStream to write to this file, starting at the beginning of the file.
FileOutputStream(File, boolean) - Constructor for class java.io.FileOutputStream
  create a new OutputStream to write to this file
fillArc(int, int, int, int, int, int) - Method in class javax.microedition.lcdui.Graphics
fillRect(int, int, int, int) - Method in class javax.microedition.lcdui.Graphics
FIND_FIRST - Static variable in class lejos.nxt.comm.LCP
FIND_FIRST - Static variable in interface lejos.nxt.comm.NXTProtocol
FIND_NEXT - Static variable in class lejos.nxt.comm.LCP
FIND_NEXT - Static variable in interface lejos.nxt.comm.NXTProtocol
FirmwareInfo - Class in lejos.nxt.comm
  Firmware information for a remote NXT accessed via LCP.
FirmwareInfo() - Constructor for class lejos.nxt.comm.FirmwareInfo
firmwareVersion - Variable in class lejos.nxt.comm.FirmwareInfo
Flash - Class in lejos.nxt
  Read and write access to flash memory in pages.
Float - Class in java.lang
  Minimal Float implementation that supports floatToIntBits and intBitsToFloat
floatToIntBits(float) - Static method in class java.lang.Float
  Returns the bit represention of a single-float value.
floor(double) - Static method in class java.lang.Math
  Returns the largest (closest to positive infinity) double value that is not greater than the argument and is equal to a mathematical integer.
flt() - Method in class lejos.nxt.BasicMotor
  Causes motor to float.
flt() - Method in class lejos.nxt.Motor
  Causes motor to float.
fltMotor(int) - Method in class lejos.nxt.RCXLink
flush() - Method in class java.io.BufferedWriter
flush() - Method in class java.io.DataOutputStream
  Flushes this data output stream.
flush() - Method in class java.io.FileOutputStream
flush() - Method in class java.io.OutputStream
  Flushes this output stream and forces any buffered output bytes to be written out.
flush() - Method in class java.io.PrintStream
  Flush any pending output in the stream
flush() - Method in class lejos.nxt.comm.NXTOutputStream
flush() - Method in class lejos.nxt.RCXLink
FLUTE - Static variable in class lejos.nxt.Sound
Font - Class in javax.microedition.lcdui
Font() - Constructor for class javax.microedition.lcdui.Font
FONT_HEIGHT - Static variable in class lejos.nxt.LCD
FONT_WIDTH - Static variable in class lejos.nxt.LCD
FOREVER - Static variable in class javax.microedition.lcdui.Alert
Form - Class in javax.microedition.lcdui
Form(String) - Constructor for class javax.microedition.lcdui.Form
Form(String, Item[]) - Constructor for class javax.microedition.lcdui.Form
format() - Static method in class java.io.File
  Essentially formats the file system by writing TABLE_ID characters to the first page of flash memroy.
forName(String) - Static method in class java.lang.Class
forward() - Method in interface lejos.navigation.Navigator
  Moves the NXT robot forward until stop() is called.
forward() - Method in class lejos.navigation.Pilot
  Moves the NXT robot forward until stop() is called.
forward() - Method in class lejos.navigation.TachoNavigator
  Moves the NXT robot forward until stop() is called.
forward() - Method in class lejos.nxt.BasicMotor
  Causes motor to rotate forward.
forward() - Method in class lejos.nxt.Motor
  Causes motor to rotate forward.
forward(int) - Method in class lejos.nxt.RCXLink
forwardStep(int) - Method in class lejos.nxt.RCXLink
frame - Variable in class lejos.nxt.debug.DebugInterface
freeFlash - Variable in class lejos.nxt.comm.DeviceInfo
freeMemory() - Static method in class java.io.File
  Returns to total free memory in the flash file system.
freeMemory() - Method in class java.lang.Runtime
  Return the amount of free memory.on the heap

## G

Gauge - Class in javax.microedition.lcdui
Gauge(String, boolean, int, int) - Constructor for class javax.microedition.lcdui.Gauge
gc() - Static method in class java.lang.System
  Collect garbage
get(int) - Method in class java.util.ArrayList
get(int) - Method in class java.util.BitSet
get(Object) - Method in class java.util.Hashtable
get(int) - Method in class javax.microedition.lcdui.Form
get() - Static method in class lejos.nxt.debug.DebugInterface
get(int) - Method in class lejos.util.RecyclableArray
GET_BATTERY_LEVEL - Static variable in class lejos.nxt.comm.LCP
GET_BATTERY_LEVEL - Static variable in interface lejos.nxt.comm.NXTProtocol
GET_CURRENT_PROGRAM_NAME - Static variable in class lejos.nxt.comm.LCP
GET_CURRENT_PROGRAM_NAME - Static variable in interface lejos.nxt.comm.NXTProtocol
GET_DEVICE_INFO - Static variable in class lejos.nxt.comm.LCP
GET_DEVICE_INFO - Static variable in interface lejos.nxt.comm.NXTProtocol
GET_FIRMWARE_VERSION - Static variable in class lejos.nxt.comm.LCP
GET_FIRMWARE_VERSION - Static variable in interface lejos.nxt.comm.NXTProtocol
GET_INPUT_VALUES - Static variable in class lejos.nxt.comm.LCP
GET_INPUT_VALUES - Static variable in interface lejos.nxt.comm.NXTProtocol
GET_OUTPUT_STATE - Static variable in class lejos.nxt.comm.LCP
GET_OUTPUT_STATE - Static variable in interface lejos.nxt.comm.NXTProtocol
getActualSpeed() - Method in class lejos.nxt.Motor
  returns actualSpeed degrees per second, calculated every 100 ms; negative value means motor is rotating backward
getAddress() - Method in class lejos.nxt.comm.BTConnection
getAltitude() - Method in class lejos.devices.GPS
  The altitude above mean sea level
getAngle() - Method in class lejos.navigation.CompassPilot
  Returns the compass angle in degrees, Cartesian (increasing counter clockwise)
getAngle() - Method in interface lejos.navigation.Navigator
  Returns the current angle the NXT robot is facing.
getAngle() - Method in class lejos.navigation.Pilot
  returns the angle of rotation of the robot since last call to reset of tacho count;
getAngle() - Method in class lejos.navigation.TachoNavigator
  Returns the current angle the NXT robot is facing, relative to the +X axis direction; the +Y direction is 90 degrees.
getAngle(int) - Method in class lejos.nxt.LServo
  Method to know the angle Note: In next version, I will delete servo parameter, because the object should know servo id.
getASCII(byte) - Static method in class lejos.devices.Keyboard
  Converts raw keyboard scan code into ASCII.
getBasePower() - Method in class lejos.nxt.Motor
  for debugging
getBatteryLevel() - Method in class lejos.nxt.comm.NXTCommand
getBlue() - Method in class lejos.nxt.ColorSensor
  Returns the blue saturation of the color.
getBluetoothAddress() - Method in class javax.bluetooth.LocalDevice
  Returns the local Bluetooth address of NXT brick.
getBluetoothAddress() - Method in class javax.bluetooth.RemoteDevice
getBluetoothAddress() - Method in class lejos.nxt.remote.RemoteNXT
  Get the bluetooth address of the remorte device
getBrickName() - Method in class lejos.nxt.remote.RemoteNXT
  Get the name of the remote brick
getButtons() - Method in class lejos.nxt.PSPNXController
  Each bit in the short byte represents the boolean (pressed or not pressed) of a button.
getCalibrationData(byte[]) - Method in class lejos.nxt.UltrasonicSensor
  Return 3 bytes of calibration data.
getCenteredX(String) - Method in class javax.microedition.lcdui.Graphics
getChars() - Method in class java.lang.StringBuffer
  Retrieves the contents of the StringBuffer in the form of an array of characters.
getChecksum() - Method in class lejos.devices.NMEASentence
getClass() - Method in class java.lang.Object
  Returns `null`.
getClassIndex(Object) - Method in class lejos.nxt.debug.DebugObject
  Return the class index of the supplied object.
getColor() - Method in class javax.microedition.lcdui.Graphics
getColorIndexNumber() - Method in class lejos.nxt.ColorSensor
  Essentially the same as above but with a resolution of 6 bits.
getColorNumber() - Method in class lejos.nxt.ColorSensor
  Returns the color index detected by the sensor.
getCommandId() - Method in class javax.microedition.lcdui.Command
getCommandType() - Method in class javax.microedition.lcdui.Command
getCompass() - Method in class lejos.navigation.CompassPilot
  return the compass
getConfirmation() - Method in class javax.microedition.lcdui.Alert
getConnectionStatus() - Static method in class lejos.nxt.comm.Bluetooth
  Get the status of all connections
getConstraints() - Method in class javax.microedition.lcdui.TextField
getContinuousInterval() - Method in class lejos.nxt.UltrasonicSensor
  Return the interval used in continuous mode.
getCurrent() - Method in class javax.microedition.lcdui.Display
getCurveCount() - Method in class lejos.nxt.OpticalDistanceSensor
  Gets the number of points that will be in the curve.
getData() - Method in class javax.microedition.lcdui.Image
getData(int, byte[], int) - Method in class lejos.nxt.I2CSensor
  Executes an I2C read transaction and waits for the result.
getData(int, byte[], int) - Method in class lejos.nxt.UltrasonicSensor
getDataFields() - Method in class lejos.devices.NMEASentence
getDataInputStream() - Method in class lejos.nxt.comm.NXTSocket
  Returns the data input stream of the socket
getDataOutputStream() - Method in class lejos.nxt.comm.NXTSocket
  Returns the data output stream of the socket
getDataType() - Method in class lejos.devices.NMEASentence
  Returns the data type of the NMEA sentence.
getDegrees() - Method in class lejos.nxt.CompassSensor
  Returns the directional heading in degrees.
getDegreesCartesian() - Method in class lejos.nxt.CompassSensor
  Compass readings increase clockwise from 0 to 360, but Cartesian coordinate systems increase counter-clockwise.
getDelay() - Method in class lejos.util.Timer
  access how man milliseconds between timedOut() messages.
getDeviceAddr() - Method in class javax.bluetooth.RemoteDevice
getDeviceClass() - Method in class javax.bluetooth.LocalDevice
  The Lego Bluecore code can't retrieve this from the chip.
getDeviceClass() - Method in class javax.bluetooth.RemoteDevice
getDeviceInfo() - Method in class lejos.nxt.comm.NXTCommand
getDirection() - Method in class lejos.nxt.IRSeeker
  Returns the direction of the target (1-9) or zero if no target.
getDirection(int) - Method in class lejos.nxt.RCXMotorMultiplexer
getDiscoverable() - Method in class javax.bluetooth.LocalDevice
  Indicates whether the NXT brick is visible to other devices
getDisplay() - Static method in class javax.microedition.lcdui.Display
getDisplay() - Static method in class lejos.nxt.LCD
  Provide access to the LCD display frame buffer.
getDistance() - Method in class lejos.nxt.OpticalDistanceSensor
  Returns the distance from the object in millimeters.
getDistance() - Method in class lejos.nxt.UltrasonicSensor
  Return distance to an object.
getDistances(int[]) - Method in class lejos.nxt.UltrasonicSensor
  Return an array of 8 echo distances.
getDistLSB() - Method in class lejos.nxt.OpticalDistanceSensor
  Returns the current distance in millimeters for the LSB.
getDistMaxLSB() - Method in class lejos.nxt.OpticalDistanceSensor
  Gets the max value in millimeters for the LSB.
  Used for recalibrating the sensor.
getDistMaxMSB() - Method in class lejos.nxt.OpticalDistanceSensor
  Gets the max value in millimeters for the MSB.
  Used for recalibrating the sensor.
getDistMinLSB() - Method in class lejos.nxt.OpticalDistanceSensor
  Gets the min value in millimeters for the LSB.
  Used for recalibrating the sensor.
getDistMinMSB() - Method in class lejos.nxt.OpticalDistanceSensor
  Gets the min value in millimeters for the MSB.
  Used for recalibrating the sensor.
getDistMSB() - Method in class lejos.nxt.OpticalDistanceSensor
  Returns the current distance in millimeters for MSB.
getDistPointLSB(int) - Method in class lejos.nxt.OpticalDistanceSensor
  Gets millimeter value of the specific index for the LSB.
  Used for recalibrating the sensor.
getDistPointMSB(int) - Method in class lejos.nxt.OpticalDistanceSensor
  Gets millimeter value of the specific index for the MSB.
getError() - Method in class lejos.nxt.Motor
  for debugging
getError() - Method in class lejos.rcxcomm.PacketHandler
  Get the last error.
getFactoryData(byte[]) - Method in class lejos.nxt.UltrasonicSensor
  Return 10 bytes of factory calibration data.
getFirmwareMajorVersion() - Static method in class java.lang.System
getFirmwareMinorVersion() - Static method in class java.lang.System
getFirmwareRevision() - Static method in class java.lang.System
getFirmwareVersion() - Method in class lejos.nxt.comm.NXTCommand
getFirmwareVersion() - Method in class lejos.nxt.remote.RemoteNXT
  Return Lego firmware vserion
getFlashMemory() - Method in class lejos.nxt.remote.RemoteNXT
getFont() - Method in class javax.microedition.lcdui.Graphics
getFriendlyName() - Method in class javax.bluetooth.LocalDevice
  Returns the friendly name of a Bluetooth device.
getFriendlyName(boolean) - Method in class javax.bluetooth.RemoteDevice
getFriendlyName(char[]) - Method in class javax.bluetooth.RemoteDevice
getFriendlyName() - Static method in class lejos.nxt.comm.Bluetooth
  Get the friendly name of the local device
getGreen() - Method in class lejos.nxt.ColorSensor
  Returns the green saturation of the color.
getHeading() - Method in class lejos.devices.GPS
  Placeholder idea: returns heading (from North) based on previous lat/long reading.
getHeading() - Method in class lejos.navigation.CompassPilot
  Returns target direction of robot facing
getHeight() - Method in class javax.microedition.lcdui.Displayable
getHeight() - Method in class javax.microedition.lcdui.Font
getHeight() - Method in class javax.microedition.lcdui.Form
getHeight() - Method in class javax.microedition.lcdui.Graphics
getHeight() - Method in class javax.microedition.lcdui.Image
getHigh() - Method in class lejos.nxt.LightSensor
  return the normalized value corresponding to readValue() = 100;
getID() - Method in class lejos.devices.KeyEvent
getId() - Method in class lejos.nxt.Button
  Return the ID of the button.
getId() - Method in class lejos.nxt.remote.RemoteSensorPort
getId() - Method in class lejos.nxt.SensorPort
  Return the ID of the port.
getImage(int) - Method in interface javax.microedition.lcdui.Choice
getImage(int) - Method in class javax.microedition.lcdui.ChoiceGroup
getImage(int) - Method in class javax.microedition.lcdui.List
getIndex() - Method in class java.io.File
  Returns location of file in the files[] array
getIndicator() - Method in class javax.microedition.lcdui.Alert
getInputStream() - Method in class lejos.nxt.comm.NXTSocket
  Returns the input stream associated with this socket
getInputStream() - Method in class lejos.rcxcomm.RCXAbstractPort
  Returns an input stream for this RCXPort.
getInputValues(int) - Method in class lejos.nxt.comm.NXTCommand
getIntSetting(String, int) - Static method in class lejos.nxt.SystemSettings
  Get the value for a leJOS NXJ persistent setting as an Integer
getItems() - Method in class lejos.nxt.TextMenu
  returns list of items in this menu;
getKeyChar() - Method in class lejos.devices.KeyEvent
getKeyClickLength() - Static method in class lejos.nxt.Button
  Return the current key click length.
getKeyClickTone(int) - Static method in class lejos.nxt.Button
  Return the click freq for a particular key.
getKeyClickVolume() - Static method in class lejos.nxt.Button
  Return the current key click volume.
getKeyCode() - Method in class lejos.devices.KeyEvent
  Will actually only return key codes that don't have ASCII/Unicode equivalents, such as arrow keys (e.g.
getKeyLocation() - Method in class lejos.devices.KeyEvent
  Not Implemented
getKnownDevice(String) - Static method in class lejos.nxt.comm.Bluetooth
  Gets a Device of the BC4-Chips internal list of known Devices (those who have been paired before) into the BTDevice Object.
getKnownDevicesList() - Static method in class lejos.nxt.comm.Bluetooth
  The internal Chip has a list of already paired Devices.
getLabel() - Method in class javax.microedition.lcdui.Item
getLatitude() - Method in class lejos.devices.GPS
getLeft() - Method in class lejos.navigation.Pilot
  returns left motor
getLeftActualSpeed() - Method in class lejos.navigation.Pilot
  returns actual speed of left motor in degrees per second; a negative value if motor is rotating backwards
  Updated avery 100 ms.
getLeftCount() - Method in class lejos.navigation.Pilot
  returns tachoCount of left motor; Positive value means motor has moved the robot forward;
getLeftCount() - Method in class lejos.util.ButtonCounter
  Use this method after counting is complete;
getLeftX() - Method in class lejos.nxt.PSPNXController
getleftY() - Method in class lejos.nxt.PSPNXController
getLength() - Method in class lejos.util.RecyclableArray
getLimitAngle() - Method in class lejos.nxt.Motor
  Return the angle that a Motor is rotating to.
getLink() - Static method in class lejos.rcxcomm.LLC
  Return the RCXLink object associated with LLC
getLink() - Static method in class lejos.rcxcomm.Serial
  Get the RCXLink object associated with the Serial class
getLocalAddress() - Static method in class lejos.nxt.comm.Bluetooth
  get the Bluetooth address of the local device
getLocalDevice() - Static method in class javax.bluetooth.LocalDevice
getLongitude() - Method in class lejos.devices.GPS
getLongLabel() - Method in class javax.microedition.lcdui.Command
getLow() - Method in class lejos.nxt.LightSensor
  return the normalized value corresponding to readValue() = 0
getLSC(int) - Method in class lejos.nxt.NXTe
  Get a LSC
getMajorDeviceClass() - Method in class javax.bluetooth.DeviceClass
  Retrieves the major device class.
getMaxSize() - Method in class javax.microedition.lcdui.TextField
getMaxValue() - Method in class javax.microedition.lcdui.Gauge
getMessage() - Method in class java.lang.Throwable
getMethodIndex(DebugThread, int) - Method in class lejos.nxt.debug.DebugStackFrame
  Return the index of the method that is currently associated with the specified stack frame of the given thread.
getMinimumHeight() - Method in class javax.microedition.lcdui.Item
getMinimumWidth() - Method in class javax.microedition.lcdui.Item
getMinorDeviceClass() - Method in class javax.bluetooth.DeviceClass
getMode() - Method in class lejos.nxt.BasicMotor
  Returns the mode.
getMode() - Method in interface lejos.nxt.BasicSensorPort
getMode() - Method in class lejos.nxt.ColorSensor
  Returns the value of the mode control register (0x41)
getMode() - Method in class lejos.nxt.Motor
getMode() - Method in class lejos.nxt.PSPNXController
  Returns the current operating mode of the sensor.
getMode() - Method in class lejos.nxt.remote.RemoteSensorPort
getMode() - Method in class lejos.nxt.SensorPort
  Returns mode compatible with Lego firmware.
getMode() - Method in class lejos.nxt.UltrasonicSensor
  Returns the current operating mode of the sensor.
getModifiers() - Method in class lejos.devices.KeyEvent
getName() - Method in class java.io.File
  Returns the name of the file.
getName() - Static method in class lejos.nxt.comm.USB
  Return the current USB name.
getName() - Method in class lejos.nxt.LServo
  Get servo name
getNextRecyclable() - Method in class lejos.util.AbstractRecyclable
  Must return Recyclable most recently set with `setNextRecyclable`.
getNextRecyclable() - Method in interface lejos.util.Recyclable
  Must return Recyclable most recently set with `setNextRecyclable`.
getNormalizedBlue() - Method in class lejos.nxt.ColorSensor
  Returns the normalized blue saturation of the color.
getNormalizedGreen() - Method in class lejos.nxt.ColorSensor
  Returns the normalized green saturation of the color.
getNormalizedRed() - Method in class lejos.nxt.ColorSensor
  Returns the normalized red saturation of the color.
getNumberOfObjects() - Method in class lejos.nxt.NXTCam
  Get the number of objects being tracked
getObjectColor(int) - Method in class lejos.nxt.NXTCam
  Get the color number for a tracked object
getOperatingMode() - Static method in class lejos.nxt.comm.Bluetooth
  Get the operating mode (stream breaking or not)
getOutputStream() - Method in class lejos.nxt.comm.NXTSocket
  Returns the output stream associated with this socket
getOutputStream() - Method in class lejos.rcxcomm.RCXAbstractPort
  Returns an output stream for this RCXPort.
getPage() - Method in class java.io.File
  Internal method used to get the page number of the start of the file.
getPaintRequest() - Method in class javax.microedition.lcdui.Displayable
getPaintRequest() - Method in class javax.microedition.lcdui.Item
getPilot() - Method in class lejos.navigation.TachoNavigator
getPin() - Static method in class lejos.nxt.comm.Bluetooth
  Return the pin to be used for pairing/connecting to the system
getPort() - Method in class lejos.nxt.I2CSensor
  Get the port that the sensor is attached to
getPortOpen() - Static method in class lejos.nxt.comm.Bluetooth
  Get the port open status, i.e whether connections are being accepted
getPower() - Method in class lejos.nxt.BasicMotor
  Returns the current power setting.
getPower() - Static method in class lejos.nxt.comm.Bluetooth
  Return the current state of the module power
getPower() - Method in class lejos.nxt.Motor
getPreferredHeight() - Method in class javax.microedition.lcdui.Item
getPreferredWidth() - Method in class javax.microedition.lcdui.Item
getPrefix() - Method in class lejos.devices.NMEASentence
  Returns the prefix of the NMEA sentence.
getPriority() - Method in class java.lang.Thread
getPriority() - Method in class javax.microedition.lcdui.Command
getProductID() - Method in class lejos.nxt.I2CSensor
  Return the sensor product identifier.
getProgramExecutionsCount() - Static method in class java.lang.System
  Get the number of times a Java program (including the menu) has executed since the brick was swiched on
getProperties() - Static method in class lejos.nxt.Settings
  Get leJOS NXJ persistent settings as Java Properties.
getProperty(String) - Method in class java.util.Properties
getProperty(String, String) - Method in class java.util.Properties
getProperty(String) - Static method in class javax.bluetooth.LocalDevice
  UNIMPLEMENTED! Returns null always.
getProperty(String, String) - Static method in class lejos.nxt.Settings
  Get the value for a leJOS NXJ persistent setting
getProtocolVersion() - Method in class lejos.nxt.remote.RemoteNXT
  Return LCP protocol version
getRawBlue() - Method in class lejos.nxt.ColorSensor
  Returns the raw blue saturation of the color.
getRawGreen() - Method in class lejos.nxt.ColorSensor
  Returns the raw green saturation of the color.
getRawRed() - Method in class lejos.nxt.ColorSensor
  Returns the raw red saturation of the color.
getRectangle(int) - Method in class lejos.nxt.NXTCam
  Get the rectangle containing a tracked object
getRed() - Method in class lejos.nxt.ColorSensor
  Returns the red saturation of the color.
getRemoteDevice(Connection) - Static method in class javax.bluetooth.RemoteDevice
getResetCount() - Static method in class lejos.nxt.comm.Bluetooth
getRight() - Method in class lejos.navigation.Pilot
  returns right motor
getRightActualSpeed() - Method in class lejos.navigation.Pilot
  returns actual speed of right motor in deg/sec; a negative value if motor is rotating backwards.
getRightCount() - Method in class lejos.navigation.Pilot
  returns tachoCount of the right motor; Positive value means motor has moved the robot forward;
getRightCount() - Method in class lejos.util.ButtonCounter
  Use this method after counting is complete;
getRightX() - Method in class lejos.nxt.PSPNXController
getRightY() - Method in class lejos.nxt.PSPNXController
getRuntime() - Static method in class java.lang.Runtime
  Get the single instance of us.
getRuntime() - Static method in class java.lang.System
  Get the singleton instance of Runtime.
getSatellitesTracked() - Method in class lejos.devices.GPS
  Returns the number of satellites being tracked to determine the coordinates.
getSelectedFlags(boolean[]) - Method in interface javax.microedition.lcdui.Choice
getSelectedFlags(boolean[]) - Method in class javax.microedition.lcdui.ChoiceGroup
getSelectedFlags(boolean[]) - Method in class javax.microedition.lcdui.List
getSelectedIndex() - Method in interface javax.microedition.lcdui.Choice
getSelectedIndex() - Method in class javax.microedition.lcdui.ChoiceGroup
getSelectedIndex() - Method in class javax.microedition.lcdui.List
getSensorModule() - Method in class lejos.nxt.OpticalDistanceSensor
  Used to determin the sensore module that is configured.
getSensorType() - Method in class lejos.nxt.I2CSensor
  Return the sensor type.
getSensorValue(int) - Method in class lejos.nxt.IRSeeker
  Returns value of sensor 1 - 5.
getSerialNo() - Static method in class lejos.nxt.comm.USB
  Return the current USB serial number.
getServiceClasses() - Method in class javax.bluetooth.DeviceClass
  Retrieves the major service classes.
getServo(int) - Method in class lejos.nxt.LSC
  Method to get a Servo in a LSC
getSignalStrength(byte) - Static method in class lejos.nxt.comm.Bluetooth
  Get the Bluetooth signal strength (link quality) Higher values mean stronger signal.
getSignalStrength() - Method in class lejos.nxt.comm.BTConnection
  Get the signal strength of this connection.
getSource() - Method in class lejos.devices.KeyEvent
getSpeed() - Method in class lejos.devices.GPS
  Placeholder idea: returns speed based on previous lat/long reading.
getSpeed() - Method in class lejos.navigation.Pilot
  return current speed setting
getSpeed() - Method in class lejos.nxt.Motor
  Returns the current motor speed in degrees per second
getSpeed(int) - Method in class lejos.nxt.RCXMotorMultiplexer
getStatus() - Static method in class lejos.nxt.comm.Bluetooth
  Get the persistent status value from the BC4 chip
getStatus() - Method in class lejos.nxt.RCXLink
getStopAngle() - Method in class lejos.nxt.Motor
getString(int) - Method in interface javax.microedition.lcdui.Choice
getString(int) - Method in class javax.microedition.lcdui.ChoiceGroup
getString(int) - Method in class javax.microedition.lcdui.List
getString() - Method in class javax.microedition.lcdui.Ticker
getStringSetting(String, String) - Static method in class lejos.nxt.SystemSettings
  Get the value for a leJOS NXJ persistent setting as a String
getStrokeStyle() - Method in class javax.microedition.lcdui.Graphics
getSystemFont() - Static method in class lejos.nxt.LCD
  Provide access to the LCD system font.
getTachoCount(int) - Method in class lejos.nxt.comm.NXTCommand
  Retrieves tacho count.
getTachoCount() - Method in class lejos.nxt.Motor
  Returns the tachometer count.
getTachoCount() - Method in class lejos.nxt.MotorPort
  returns tachometer count
getTachoCount() - Method in class lejos.nxt.remote.RemoteMotorPort
getTachoCount() - Method in interface lejos.nxt.Tachometer
getTachoCountById(int) - Static method in class lejos.nxt.MotorPort
getText() - Method in class javax.microedition.lcdui.StringItem
getText() - Method in class javax.microedition.lcdui.TextBox
getText() - Method in class javax.microedition.lcdui.TextField
getTicker() - Method in class javax.microedition.lcdui.Displayable
getTime() - Method in class lejos.devices.GPS
  Returns the last time stamp retrieved from a satellite
getTime() - Static method in class lejos.nxt.Sound
  Returns the number of milliseconds remaining of the current tone or sample.
getTimeout() - Method in class javax.microedition.lcdui.Alert
getTimeOut() - Method in class lejos.rcxcomm.RCXAbstractPort
  Getter for property timeOut.
getTitle() - Method in class javax.microedition.lcdui.Displayable
getTravelDistance() - Method in class lejos.navigation.Pilot
  returns distance taveled since last reset of tacho count
getTurnRatio() - Method in class lejos.navigation.Pilot
  return ratatio of Motor revolutions per 360 degree rotation of the robot
getType() - Method in interface lejos.nxt.BasicSensorPort
getType() - Method in class lejos.nxt.remote.RemoteSensorPort
getType() - Method in class lejos.nxt.SensorPort
  Returns type compatible with Lego firmware.
getUnits() - Method in class lejos.nxt.UltrasonicSensor
  Return a string indicating the type of units in use by the unit.
getValue() - Method in class javax.microedition.lcdui.Gauge
getVersion() - Static method in class lejos.nxt.comm.Bluetooth
  Get the major and minor version of the BlueCore code
getVersion() - Method in class lejos.nxt.I2CSensor
  Return the sensor version number.
getVisibility() - Static method in class lejos.nxt.comm.Bluetooth
  Get the visibility (discoverable) status of the device
getVoltage() - Static method in class lejos.nxt.Battery
  Returns the battery voltage in volts.
getVoltage() - Method in class lejos.nxt.remote.RemoteBattery
  The NXT uses 6 batteries of 1.5 V each.
getVoltageMilliVolt() - Static method in class lejos.nxt.Battery
  Returns the battery voltage in millivolts.
getVoltageMilliVolt() - Method in class lejos.nxt.remote.RemoteBattery
  The NXT uses 6 batteries of 1500 mV each.
getVoltLSB() - Method in class lejos.nxt.OpticalDistanceSensor
  Returns the current voltage level in millivolts for the LSB.
getVoltMSB() - Method in class lejos.nxt.OpticalDistanceSensor
  Returns the current voltage level in millivolts for the MSB.
getVoltPointLSB(int) - Method in class lejos.nxt.OpticalDistanceSensor
  Gets millivolts value of the specific index for the LSB.
getVoltPointMSB(int) - Method in class lejos.nxt.OpticalDistanceSensor
  Gets millivolts value of the specific index for the MSB.
getVolume() - Static method in class lejos.nxt.Sound
  Get the current master volume level
getWhen() - Method in class lejos.devices.KeyEvent
getWidth() - Method in class javax.microedition.lcdui.Displayable
getWidth() - Method in class javax.microedition.lcdui.Form
getWidth() - Method in class javax.microedition.lcdui.Graphics
getWidth() - Method in class javax.microedition.lcdui.Image
getX() - Method in interface lejos.navigation.Navigator
  Returns the current x coordinate of the NXT.
getX() - Method in class lejos.navigation.TachoNavigator
  Returns the current x coordinate of the NXT.
getXAccel() - Method in class lejos.nxt.TiltSensor
  Acceleration along X axis.
getXTilt() - Method in class lejos.nxt.TiltSensor
  Tilt of sensor along X-axis (see top of Mindsensors.com sensor for diagram of axis).
getY() - Method in interface lejos.navigation.Navigator
  Returns the current y coordinate of the NXT.
getY() - Method in class lejos.navigation.TachoNavigator
  Returns the current y coordinate of the NXT.
getYAccel() - Method in class lejos.nxt.TiltSensor
  Acceleration along Y axis.
getYTilt() - Method in class lejos.nxt.TiltSensor
  Returns Y tilt value.
getZAccel() - Method in class lejos.nxt.TiltSensor
  Acceleration along Z axis.
getZTilt() - Method in class lejos.nxt.TiltSensor
  Returns Z tilt value.
goTo(float, float) - Method in interface lejos.navigation.Navigator
  Rotates the NXT robot towards the target point and moves the required distance.
goTo(float, float, boolean) - Method in interface lejos.navigation.Navigator
  Rotates the NXT robot towards the target point and moves the required distance.
goTo(float, float) - Method in class lejos.navigation.TachoNavigator
  Rotates the NXT robot towards the target point (x,y) and moves the required distance.
goTo(float, float, boolean) - Method in class lejos.navigation.TachoNavigator
  Rotates the NXT robot towards the target point (x,y) and moves the required distance.
goToMaxAngle() - Method in class lejos.nxt.LServo
  Method to set maximum angle
goToMiddleAngle() - Method in class lejos.nxt.LServo
  Method to set medium angle
goToMinAngle() - Method in class lejos.nxt.LServo
  Method to set minimal angle
GP2D12 - Static variable in class lejos.nxt.OpticalDistanceSensor
GP2D120 - Static variable in class lejos.nxt.OpticalDistanceSensor
  DIST-Nx-Short
GP2YA02 - Static variable in class lejos.nxt.OpticalDistanceSensor
  DIST-Nx-Long
GP2YA21 - Static variable in class lejos.nxt.OpticalDistanceSensor
  DIST-Nx-Medium
GPS - Class in lejos.devices
  Class to pull data from a GPS receiver
GPS(InputStream) - Constructor for class lejos.devices.GPS
graphics - Variable in class javax.microedition.lcdui.Display
Graphics - Class in javax.microedition.lcdui
  Preliminary Graphics class for LCD Screen
Graphics() - Constructor for class javax.microedition.lcdui.Graphics
GyroSensor - Class in lejos.nxt
  Support the HiTechnic Gyro sensor - untested.
GyroSensor(ADSensorPort) - Constructor for class lejos.nxt.GyroSensor

## H

hashCode() - Method in class java.lang.Object
hashCode() - Method in class java.lang.String
Hashtable - Class in java.util
  Maps keys to objects.
Hashtable() - Constructor for class java.util.Hashtable
hasMoreElements() - Method in interface java.util.Enumeration
hasNext() - Method in interface java.util.Iterator
height - Variable in class java.awt.Rectangle
height - Variable in class javax.microedition.lcdui.Displayable
HELP - Static variable in class javax.microedition.lcdui.Command
hideNotify() - Method in class javax.microedition.lcdui.Item
hideNotify() - Method in class javax.microedition.lcdui.Screen
HIGH_SPEED_BUFFER - Static variable in interface lejos.nxt.comm.NXTProtocol

## I

i2cBusy() - Method in interface lejos.nxt.I2CPort
i2cBusy() - Method in class lejos.nxt.SensorPort
  Low-level method to test if I2C connection is busy.
i2cBusyById(int) - Static method in class lejos.nxt.SensorPort
  Low-level method to test if I2C connection is busy.
i2cDisable() - Method in interface lejos.nxt.I2CPort
i2cDisable() - Method in class lejos.nxt.SensorPort
  Low-level method to disable I2C on the port.
i2cDisableById(int) - Static method in class lejos.nxt.SensorPort
  Low-level method to disable I2C on the port.
i2cEnable() - Method in interface lejos.nxt.I2CPort
i2cEnable() - Method in class lejos.nxt.SensorPort
  Low-level method to enable I2C on the port.
i2cEnableById(int) - Static method in class lejos.nxt.SensorPort
  Low-level method to enable I2C on the port.
I2CPort - Interface in lejos.nxt
  Abstraction for a port that supports I2C sensors.
I2CSensor - Class in lejos.nxt
  Abstract class that implements common methods for all I2C sensors.
I2CSensor(I2CPort) - Constructor for class lejos.nxt.I2CSensor
i2cStart(int, int, int, byte[], int, int) - Method in interface lejos.nxt.I2CPort
i2cStart(int, int, int, byte[], int, int) - Method in class lejos.nxt.SensorPort
  Low-level method to start an I2C transaction.
i2cStartById(int, int, int, int, byte[], int, int) - Static method in class lejos.nxt.SensorPort
  Low-level method to start an I2C transaction.
IllegalArgumentException - Exception in java.lang
IllegalArgumentException() - Constructor for exception java.lang.IllegalArgumentException
IllegalMonitorStateException - Exception in java.lang
IllegalMonitorStateException() - Constructor for exception java.lang.IllegalMonitorStateException
IllegalStateException - Exception in java.lang
IllegalStateException() - Constructor for exception java.lang.IllegalStateException
Image - Class in javax.microedition.lcdui
Image(int, int, byte[]) - Constructor for class javax.microedition.lcdui.Image
IMG_ALARM - Static variable in class javax.microedition.lcdui.Alert
IMG_CONFIRM - Static variable in class javax.microedition.lcdui.Alert
IMG_ERROR - Static variable in class javax.microedition.lcdui.Alert
IMG_INFO - Static variable in class javax.microedition.lcdui.Alert
IMG_WARNING - Static variable in class javax.microedition.lcdui.Alert
IMPLICIT - Static variable in interface javax.microedition.lcdui.Choice
in - Variable in class java.io.DataInputStream
inBoxes - Static variable in class lejos.nxt.comm.LCP
indexOf(int) - Method in class java.lang.String
  Find the index of a character.
indexOf(int, int) - Method in class java.lang.String
  Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index.
indexOf(String) - Method in class java.lang.String
  Finds the location of a string within this string
indexOf(String, int) - Method in class java.lang.String
indexOf(String) - Method in class java.lang.StringBuffer
indexOf(String, int) - Method in class java.lang.StringBuffer
indexOf(Object) - Method in class java.util.ArrayList
indexOf(Object) - Method in class java.util.Vector
indexOf(Object, int) - Method in class java.util.Vector
init(SensorPort) - Static method in class lejos.rcxcomm.LLC
  Initialize LLC and set port
init() - Static method in class lejos.rcxcomm.LLC
  Initialize LLC an
init() - Method in class lejos.util.AbstractRecyclable
  Initializes the Recyclable.
init() - Method in interface lejos.util.Recyclable
  Called when the Recyclable is allocated by a Recycler.
init() - Method in class lejos.util.RecyclableArray
initBlackLevel() - Method in class lejos.nxt.ColorSensor
  Puts the sensor into black/ambient level calibration mode.
INITIAL_CAPS_SENTENCE - Static variable in class javax.microedition.lcdui.TextField
INITIAL_CAPS_WORD - Static variable in class javax.microedition.lcdui.TextField
initWhiteBalance() - Method in class lejos.nxt.ColorSensor
  Puts the sensor into white balance calibration mode.
InputConnection - Interface in javax.microedition.io
inputPort - Variable in class lejos.nxt.comm.InputValues
InputStream - Class in java.io
  This abstract class is the superclass of all classes representing an input stream of bytes.
InputStream() - Constructor for class java.io.InputStream
InputValues - Class in lejos.nxt.comm
  Sensor input values for a remote NXT accessed via LCP.
InputValues() - Constructor for class lejos.nxt.comm.InputValues
inquire(int, int, byte[]) - Static method in class lejos.nxt.comm.Bluetooth
  Start a Bluetooth inquiry process
insert(int, String, Image) - Method in interface javax.microedition.lcdui.Choice
insert(int, String, Image) - Method in class javax.microedition.lcdui.ChoiceGroup
insert(int, Item) - Method in class javax.microedition.lcdui.Form
insert(int, String, Image) - Method in class javax.microedition.lcdui.List
insertElementAt(Object, int) - Method in class java.util.Vector
INSUFFICIENT_MEMORY - Static variable in class lejos.nxt.comm.LCP
intBitsToFloat(int) - Static method in class java.lang.Float
  Returns the single-float corresponding to a given bit represention.
Integer - Class in java.lang
  Minimal Integer implementation that supports converting an int to a String.
Integer(int) - Constructor for class java.lang.Integer
  Constructs a newly allocated `Integer` object that represents the primitive `int` argument.
interactive - Variable in class javax.microedition.lcdui.Item
interrupt() - Method in class java.lang.Thread
  Set the interrupted flag.
interrupted() - Static method in class java.lang.Thread
interrupted - Variable in class lejos.nxt.debug.DebugThread
InterruptedException - Exception in java.lang
InterruptedException() - Constructor for exception java.lang.InterruptedException
IOException - Exception in java.io
  Signals that an I/O exception of some sort has occurred.
IOException() - Constructor for exception java.io.IOException
  Constructs an `IOException` with `null` as its error detail message.
IOException(String) - Constructor for exception java.io.IOException
  Constructs an `IOException` with the specified detail message.
IRSeeker - Class in lejos.nxt
  HiTechnic IRSeeker sensor - untested.
IRSeeker(I2CPort) - Constructor for class lejos.nxt.IRSeeker
isAckAvailable() - Method in class lejos.rcxcomm.LLCHandler
  Check if an Ack is available
isAckAvailable() - Method in class lejos.rcxcomm.PacketHandler
  Check if an ack is available
isAlive() - Method in class java.lang.Thread
isAltDown() - Method in class lejos.devices.KeyEvent
isAltGraphDown() - Method in class lejos.devices.KeyEvent
isBackward() - Method in class lejos.nxt.BasicMotor
  Return true if motor is backward.
isCalibrated - Variable in class lejos.nxt.comm.InputValues
isConsumed() - Method in class lejos.devices.KeyEvent
isControlDown() - Method in class lejos.devices.KeyEvent
isDaemon() - Method in class java.lang.Thread
  Set the daemon flag.
isEmpty() - Method in class java.util.ArrayList
isEmpty() - Method in class java.util.Vector
isFloating() - Method in class lejos.nxt.BasicMotor
  Returns true iff the motor is in float mode.
isForward() - Method in class lejos.nxt.BasicMotor
  Return true if motor is forward.
isHidden() - Method in class java.io.File
isInteractive() - Method in class javax.microedition.lcdui.Item
isInterrupted() - Method in class java.lang.Thread
isMetaDown() - Method in class lejos.devices.KeyEvent
isMoving() - Method in class lejos.navigation.CompassPilot
  returns TRUE if robot is moving
isMoving() - Method in interface lejos.navigation.Navigator
  returns true iff the robot is moving under power
isMoving() - Method in class lejos.navigation.Pilot
  returns true iff the NXT robot is moving
isMoving() - Method in class lejos.navigation.TachoNavigator
  returns true iff the robot is moving under power
isMoving() - Method in class lejos.nxt.BasicMotor
  Returns true iff the motor is in motion.
isMoving() - Method in class lejos.nxt.LServo
  Method to know if Servo is moving to a determinated angle
isMoving() - Method in class lejos.nxt.Motor
isOpen() - Static method in class lejos.nxt.comm.RConsole
isPacketAvailable() - Method in class lejos.rcxcomm.LLCHandler
  Check if a packet is available
isPacketAvailable() - Method in class lejos.rcxcomm.LLCReliableHandler
  Check if a packet is available.
isPacketAvailable() - Method in class lejos.rcxcomm.PacketHandler
  Check if a packet is available
isPacketAvailable() - Static method in class lejos.rcxcomm.Serial
  Test if a packet is available
isPowerOn() - Static method in class javax.bluetooth.LocalDevice
  Power state of the Bluecore 4 chip in the NXT brick.
isPressed() - Method in class lejos.nxt.Button
  Check if the button is pressed.
isPressed() - Method in class lejos.nxt.TouchSensor
  Check if the sensor is pressed.
isRegulating() - Method in class lejos.nxt.Motor
isRotating() - Method in class lejos.navigation.CompassPilot
  returns true if robot is rotating to a specific direction
isRotating() - Method in class lejos.nxt.Motor
  returns true when motor rotation task is not yet complete a specified angle
isSelected(int) - Method in interface javax.microedition.lcdui.Choice
isSelected(int) - Method in class javax.microedition.lcdui.ChoiceGroup
isSelected(int) - Method in class javax.microedition.lcdui.List
isSendError() - Static method in class lejos.rcxcomm.LLC
  Return the error status of the last send
isSending() - Static method in class lejos.rcxcomm.LLC
  Indicate whether the last send is still active
isShiftDown() - Method in class lejos.devices.KeyEvent
isShown() - Method in class javax.microedition.lcdui.Displayable
isStopped() - Method in class lejos.nxt.BasicMotor
  Return true if motor is stopped.
isTraveling() - Method in class lejos.navigation.CompassPilot
  returns returns if the robot is travelling for a specific distance;
isValid() - Method in class lejos.devices.NMEASentence
  Compares the checksum values to see if this is a corrupt sentence
ITEM - Static variable in class javax.microedition.lcdui.Command
Item - Class in javax.microedition.lcdui
Item() - Constructor for class javax.microedition.lcdui.Item
ItemCommandListener - Interface in javax.microedition.lcdui
itemStateChanged(Item) - Method in interface javax.microedition.lcdui.ItemStateListener
ItemStateListener - Interface in javax.microedition.lcdui
Iterator - Interface in java.util
  An iterator over a collection.
iWantToRun() - Method in class lejos.subsumption.Activity
  Call this if you want this activity to run.

## J

java.awt - package java.awt
  Minimal AWT package for Rectangle class
java.io - package java.io
  Input/Output support
java.lang - package java.lang
  Core Java classes
java.util - package java.util
  Utilities
javax.bluetooth - package javax.bluetooth
javax.microedition.io - package javax.microedition.io
  J2ME I/O.
javax.microedition.lcdui - package javax.microedition.lcdui
  J2ME LCD User Interface classes.
join() - Method in class java.lang.Thread
  Join not yet implemented
join(long) - Method in class java.lang.Thread

## K

KEEP_ALIVE - Static variable in class lejos.nxt.comm.LCP
KEEP_ALIVE - Static variable in interface lejos.nxt.comm.NXTProtocol
KEY_BACK - Static variable in class javax.microedition.lcdui.Displayable
KEY_ENTER - Static variable in class javax.microedition.lcdui.Displayable
KEY_LEFT - Static variable in class javax.microedition.lcdui.Displayable
KEY_PRESSED - Static variable in class lejos.devices.KeyEvent
KEY_RELEASED - Static variable in class lejos.devices.KeyEvent
KEY_RIGHT - Static variable in class javax.microedition.lcdui.Displayable
KEY_TYPED - Static variable in class lejos.devices.KeyEvent
Keyboard - Class in lejos.devices
  This class will only work with SPP keyboards, not standard HID keyboards.
Keyboard(InputStream, OutputStream) - Constructor for class lejos.devices.Keyboard
KeyEvent - Class in lejos.devices
KeyEvent(Object, short, int, int, int, char) - Constructor for class lejos.devices.KeyEvent
KeyListener - Interface in lejos.devices
  This interface is for classes that wish to receive keyboard events.
keyPressed(int) - Method in class javax.microedition.lcdui.Alert
keyPressed(int) - Method in class javax.microedition.lcdui.ChoiceGroup
keyPressed(int) - Method in class javax.microedition.lcdui.Form
keyPressed(int) - Method in class javax.microedition.lcdui.Gauge
keyPressed(int) - Method in class javax.microedition.lcdui.Item
keyPressed(int) - Method in class javax.microedition.lcdui.List
keyPressed(int) - Method in class javax.microedition.lcdui.Screen
keyPressed(int) - Method in class javax.microedition.lcdui.TextBox
keyPressed(KeyEvent) - Method in interface lejos.devices.KeyListener
  This method is called when a key is pressed.
keyReleased(int) - Method in class javax.microedition.lcdui.Item
keyReleased(int) - Method in class javax.microedition.lcdui.Screen
keyReleased(KeyEvent) - Method in interface lejos.devices.KeyListener
  This method is called when a key is released.
keys() - Method in class java.util.Hashtable
keyTyped(KeyEvent) - Method in interface lejos.devices.KeyListener
  This method is called when a key is typed.

## L

label - Variable in class javax.microedition.lcdui.Item
lastIndexOf(String) - Method in class java.lang.String
lastIndexOf(String, int) - Method in class java.lang.String
lastIndexOf(String) - Method in class java.lang.StringBuffer
lastIndexOf(String, int) - Method in class java.lang.StringBuffer
lastIndexOf(Object) - Method in class java.util.ArrayList
lastIndexOf(Object) - Method in class java.util.Vector
  delivers the index of the last occurrence of the object
lastIndexOf(Object, int) - Method in class java.util.Vector
  delivers the index of the last occurrence of the object starting from some index
LCD - Class in lejos.nxt
  Text and graphics output to the LCD display.
LCD() - Constructor for class lejos.nxt.LCD
LCDOutputStream - Class in lejos.nxt
  A simple output stream that implements console output.
LCDOutputStream() - Constructor for class lejos.nxt.LCDOutputStream
LCP - Class in lejos.nxt.comm
  Implements the Lego Communication Protocol, with some extensions for lejos NXJ.
LCPBTResponder - Class in lejos.nxt.comm
  Support for LCP commands over Bluetooth in user programs.
LCPBTResponder() - Constructor for class lejos.nxt.comm.LCPBTResponder
LEFT - Static variable in class lejos.nxt.Button
  The Left button.
LEFT_MASK - Static variable in class lejos.nxt.Poll
LegacySensorPort - Interface in lejos.nxt
  Abstraction for a port that supports legacy RCX sensors.
lejos.devices - package lejos.devices
lejos.navigation - package lejos.navigation
  Navigation classes.
lejos.nxt - package lejos.nxt
  Access to NXT sensors, motors, etc.
lejos.nxt.comm - package lejos.nxt.comm
  NXT communication classes
lejos.nxt.debug - package lejos.nxt.debug
lejos.nxt.remote - package lejos.nxt.remote
  Remote NXT access over Bluetooth
lejos.rcxcomm - package lejos.rcxcomm
  Emulation of RCX communication classes
lejos.subsumption - package lejos.subsumption
  Support for subsumption architecture.
lejos.util - package lejos.util
  More utility classes
length() - Method in class java.io.File
  Returns the length of the file denoted by this file name.
length() - Method in class java.lang.String
  Return the length of the String in characters
length() - Method in class java.lang.StringBuffer
LIGHT_ACTIVE - Static variable in interface lejos.nxt.comm.NXTProtocol
LIGHT_INACTIVE - Static variable in interface lejos.nxt.comm.NXTProtocol
LightSensor - Class in lejos.nxt
  Abstraction for a NXT light sensor.
LightSensor(ADSensorPort) - Constructor for class lejos.nxt.LightSensor
  Create a light sensor object attached to the specified port.
LightSensor(ADSensorPort, boolean) - Constructor for class lejos.nxt.LightSensor
  Create a light sensor object attached to the specified port, and sets floodlighting on or off.
list(PrintStream) - Method in class java.util.Properties
List - Class in javax.microedition.lcdui
List(String, int) - Constructor for class javax.microedition.lcdui.List
List(String, int, String[], Image[]) - Constructor for class javax.microedition.lcdui.List
ListenerCaller - Interface in lejos.nxt
  Interface for calling calling lejos listeners.
listFiles() - Static method in class java.io.File
  Returns a list of files in the flash file system.
listItems - Variable in class javax.microedition.lcdui.List
listType - Variable in class javax.microedition.lcdui.List
LLC - Class in lejos.rcxcomm
  Emulates RCX LLC class using the RCXLink class.
LLCHandler - Class in lejos.rcxcomm
  Packet handler than implement the LLC packet protocol.
LLCHandler(SensorPort) - Constructor for class lejos.rcxcomm.LLCHandler
LLCReliableHandler - Class in lejos.rcxcomm
  A Packet handler that guarantees reliable delivery using checksums, acks, and a single bit sequence number.
LLCReliableHandler(PacketHandler) - Constructor for class lejos.rcxcomm.LLCReliableHandler
load(InputStream) - Method in class java.util.Properties
loadAllServos() - Method in class lejos.nxt.LSC
  Load all servos connected this this LSC
loadSettings() - Static method in class lejos.nxt.Button
  Load the current system settings associated with this class.
loadSettings() - Static method in class lejos.nxt.comm.USB
  Load the current system settings associated with this class.
loadSettings() - Static method in class lejos.nxt.Sound
  Load the current system settings associated with this class.
LocalDevice - Class in javax.bluetooth
  Singleton class representing a local NXT Bluetooth device.
lock(int) - Method in class lejos.nxt.Motor
  Applies power to hold motor in current position.
log(double) - Static method in class java.lang.Math
  Natural log function.
LONG_RANGE_IR - Static variable in class lejos.nxt.RCXLink
lookupName(byte[]) - Static method in class lejos.nxt.comm.Bluetooth
  Look up the name of a device using its address
lowerHandler - Variable in class lejos.rcxcomm.PacketHandler
LOWSPEED - Static variable in interface lejos.nxt.comm.NXTProtocol
LOWSPEED_9V - Static variable in interface lejos.nxt.comm.NXTProtocol
LS_GET_STATUS - Static variable in class lejos.nxt.comm.LCP
LS_GET_STATUS - Static variable in interface lejos.nxt.comm.NXTProtocol
LS_READ - Static variable in class lejos.nxt.comm.LCP
LS_READ - Static variable in interface lejos.nxt.comm.NXTProtocol
LS_WRITE - Static variable in class lejos.nxt.comm.LCP
LS_WRITE - Static variable in interface lejos.nxt.comm.NXTProtocol
LSC - Class in lejos.nxt
  Servo Controller manage until 10 RC Servos.
LSC(SensorPort, byte) - Constructor for class lejos.nxt.LSC
  Constructor
LServo - Class in lejos.nxt
  LServo, Lattebox Servo, is a abstraction to model any Servo connected to LSC, Lattebox Servo Controller.
LServo(SensorPort, int, String, byte) - Constructor for class lejos.nxt.LServo
  Constructor

## M

MAILBOX_EMPTY - Static variable in class lejos.nxt.comm.LCP
main(String[]) - Static method in class lejos.nxt.debug.DebugMonitor
mark(int) - Method in class java.io.InputStream
  Marks the current position in this input stream.
markSupported() - Method in class java.io.InputStream
  Tests if this input stream supports the `mark` and `reset` methods.
Math - Class in java.lang
  Mathematical functions.
max(int, int) - Static method in class java.lang.Math
  Returns the greater of two integer values.
max(double, double) - Static method in class java.lang.Math
  Returns the greater of two double values.
MAX_FILES - Static variable in class java.io.File
  Number of files the file system can store.
MAX_PRIORITY - Static variable in class java.lang.Thread
  The maximum priority that a thread can have.
MAX_RADIX - Static variable in class java.lang.Integer
  Normally this is stored in Character in the standard java.lang package but we don't have Character.
MAX_USER_PAGES - Static variable in class lejos.nxt.Flash
  Maximum number of pages available to user flash memory.
MAX_VALUE - Static variable in class java.lang.Integer
  The largest value of type `int`.
MESSAGE_READ - Static variable in class lejos.nxt.comm.LCP
MESSAGE_READ - Static variable in interface lejos.nxt.comm.NXTProtocol
MESSAGE_WRITE - Static variable in class lejos.nxt.comm.LCP
MESSAGE_WRITE - Static variable in interface lejos.nxt.comm.NXTProtocol
messageWrite(int, String) - Static method in class lejos.nxt.comm.LCP
META_DOWN_MASK - Static variable in class lejos.devices.KeyEvent
META_MASK - Static variable in class lejos.devices.KeyEvent
method - Variable in class lejos.nxt.debug.DebugInterface
methodBase - Variable in class lejos.nxt.debug.DebugInterface
min(int, int) - Static method in class java.lang.Math
  Returns the lesser of two integer values.
min(double, double) - Static method in class java.lang.Math
  Returns the lesser of two double values.
MIN_PRIORITY - Static variable in class java.lang.Thread
  The minimum priority that a thread can have.
MIN_RADIX - Static variable in class java.lang.Integer
  Normally this is stored in Character in the standard java.lang package but we don't have Character.
MIN_VALUE - Static variable in class java.lang.Integer
  The smallest value of type `int`.
minHeight - Variable in class javax.microedition.lcdui.Item
minWidth - Variable in class javax.microedition.lcdui.Item
MODE_ANGLESTEP - Static variable in interface lejos.nxt.SensorConstants
MODE_BOOLEAN - Static variable in interface lejos.nxt.SensorConstants
MODE_CELSIUS - Static variable in interface lejos.nxt.SensorConstants
MODE_FARENHEIT - Static variable in interface lejos.nxt.SensorConstants
MODE_PCTFULLSCALE - Static variable in interface lejos.nxt.SensorConstants
MODE_PERIODCOUNTER - Static variable in interface lejos.nxt.SensorConstants
MODE_RAW - Static variable in interface lejos.nxt.SensorConstants
MODE_TRANSITIONCNT - Static variable in interface lejos.nxt.SensorConstants
MODEMASK - Static variable in interface lejos.nxt.comm.NXTProtocol
monitor - Static variable in class lejos.subsumption.ActivityBase
monitorCount - Variable in class lejos.nxt.debug.DebugThread
Motor - Class in lejos.nxt
  Abstraction for a NXT motor.
Motor(TachoMotorPort) - Constructor for class lejos.nxt.Motor
  Use this constructor to assign a variable of type motor connected to a particular port.
Motor.Regulator - Class in lejos.nxt
  inner class to regulate speed; also stop motor at desired rotation angle
Motor.Regulator() - Constructor for class lejos.nxt.Motor.Regulator
MOTOR_A_FORWARD - Static variable in class lejos.nxt.RCXLink
MOTOR_A_REVERSED - Static variable in class lejos.nxt.RCXLink
MOTOR_B_FORWARD - Static variable in class lejos.nxt.RCXLink
MOTOR_B_REVERSED - Static variable in class lejos.nxt.RCXLink
MOTOR_C_FORWARD - Static variable in class lejos.nxt.RCXLink
MOTOR_C_REVERSED - Static variable in class lejos.nxt.RCXLink
MOTOR_RUN_STATE_IDLE - Static variable in interface lejos.nxt.comm.NXTProtocol
  Output will be idle
MOTOR_RUN_STATE_RAMPDOWN - Static variable in interface lejos.nxt.comm.NXTProtocol
  Output will ramp-down
MOTOR_RUN_STATE_RAMPUP - Static variable in interface lejos.nxt.comm.NXTProtocol
  Output will ramp-up
MOTOR_RUN_STATE_RUNNING - Static variable in interface lejos.nxt.comm.NXTProtocol
  Output will be running
MOTORON - Static variable in interface lejos.nxt.comm.NXTProtocol
  Turn on the specified motor
MotorPort - Class in lejos.nxt
  Abstraction for a NXT output port.
moveToTop() - Method in class java.io.File
  Move the file to become the last one in flash memory.
MSG_ACCEPT_CONNECTION - Static variable in class lejos.nxt.comm.Bluetooth
MSG_ADD_DEVICE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_ANY - Static variable in class lejos.nxt.comm.Bluetooth
MSG_BEGIN_INQUIRY - Static variable in class lejos.nxt.comm.Bluetooth
MSG_CANCEL_INQUIRY - Static variable in class lejos.nxt.comm.Bluetooth
MSG_CLOSE_CONNECTION - Static variable in class lejos.nxt.comm.Bluetooth
MSG_CLOSE_CONNECTION_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_CLOSE_PORT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_CLOSE_PORT_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_CONNECT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_CONNECT_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_CONNECTION_STATUS_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_DUMP_LIST - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_BRICK_STATUSBYTE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_BRICK_STATUSBYTE_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_CONNECTION_STATUS - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_DISCOVERABLE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_DISCOVERABLE_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_FRIENDLY_NAME - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_FRIENDLY_NAME_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_LINK_QUALITY - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_LOCAL_ADDR - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_LOCAL_ADDR_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_OPERATING_MODE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_PORT_OPEN - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_PORT_OPEN_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_VERSION - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GET_VERSION_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_GOTO_DFU_MODE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_HEARTBEAT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_INQUIRY_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_INQUIRY_RUNNING - Static variable in class lejos.nxt.comm.Bluetooth
MSG_INQUIRY_STOPPED - Static variable in class lejos.nxt.comm.Bluetooth
MSG_LINK_QUALITY_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_LIST_DUMP_STOPPED - Static variable in class lejos.nxt.comm.Bluetooth
MSG_LIST_ITEM - Static variable in class lejos.nxt.comm.Bluetooth
MSG_LIST_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_LOOKUP_NAME - Static variable in class lejos.nxt.comm.Bluetooth
MSG_LOOKUP_NAME_FAILURE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_LOOKUP_NAME_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_OPEN_PORT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_OPEN_STREAM - Static variable in class lejos.nxt.comm.Bluetooth
MSG_OPERATING_MODE_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_PIN_CODE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_PIN_CODE_ACK - Static variable in class lejos.nxt.comm.Bluetooth
MSG_PORT_OPEN_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_REMOVE_DEVICE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_REQUEST_CONNECTION - Static variable in class lejos.nxt.comm.Bluetooth
MSG_REQUEST_PIN_CODE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_RESET_INDICATION - Static variable in class lejos.nxt.comm.Bluetooth
MSG_SET_BRICK_STATUSBYTE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_SET_BRICK_STATUSBYTE_RESULT - Static variable in class lejos.nxt.comm.Bluetooth
MSG_SET_DISCOVERABLE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_SET_DISCOVERABLE_ACK - Static variable in class lejos.nxt.comm.Bluetooth
MSG_SET_FACTORY_SETTINGS - Static variable in class lejos.nxt.comm.Bluetooth
MSG_SET_FACTORY_SETTINGS_ACK - Static variable in class lejos.nxt.comm.Bluetooth
MSG_SET_FRIENDLY_NAME - Static variable in class lejos.nxt.comm.Bluetooth
MSG_SET_FRIENDLY_NAME_ACK - Static variable in class lejos.nxt.comm.Bluetooth
MSG_SET_OPERATING_MODE - Static variable in class lejos.nxt.comm.Bluetooth
MSG_START_HEART - Static variable in class lejos.nxt.comm.Bluetooth
MULTIPLE - Static variable in interface javax.microedition.lcdui.Choice

## N

NAME - Static variable in class lejos.nxt.comm.USB
NaN - Static variable in class java.lang.Math
Navigator - Interface in lejos.navigation
  The Navigator interface contains methods for performing basic navigational movements.
newLine() - Method in class java.io.BufferedWriter
  Writes char(13) to the destination.
next() - Method in interface java.util.Iterator
nextBoolean() - Method in class java.util.Random
  Returns a random boolean in the range 0-1.
nextDouble() - Method in class java.util.Random
nextElement() - Method in interface java.util.Enumeration
nextGaussian() - Method in class java.util.Random
  Returns the next pseudorandom, Gaussian ("normally") distributed double value with mean 0.0 and standard deviation 1.0 from this random number generator's sequence.
nextInt() - Method in class java.util.Random
nextInt(int) - Method in class java.util.Random
  Returns a random integer in the range 0...n-1.
nextThread - Variable in class lejos.nxt.debug.DebugThread
NMEASentence - Class in lejos.devices
  An NMEA sentence consists of (in order) a '$' character, some header information, many data fields seperated by ',' a '*' symbol at the end, and a final hexidecimal checksum number (two chars = one byte).
NMEASentence(String) - Constructor for class lejos.devices.NMEASentence
NO_OF_SENSOR_TYPES - Static variable in interface lejos.nxt.comm.NXTProtocol
NO_SENSOR - Static variable in interface lejos.nxt.comm.NXTProtocol
NoClassDefFoundError - Error in java.lang
NoClassDefFoundError(String) - Constructor for error java.lang.NoClassDefFoundError
NON_PREDICTIVE - Static variable in class javax.microedition.lcdui.TextField
NOOF_CHARS - Static variable in class lejos.nxt.LCD
NORM_PRIORITY - Static variable in class java.lang.Thread
  The priority that is assigned to the primordial thread.
normalizedADValue - Variable in class lejos.nxt.comm.InputValues
  The normalized value from the Analog to Digital (AD) converter.
NoSuchMethodError - Error in java.lang
NoSuchMethodError() - Constructor for error java.lang.NoSuchMethodError
NOT_IMPLEMENTED - Static variable in class lejos.nxt.comm.LCP
notify() - Method in class java.lang.Object
  Wake up one thread blocked on a wait().
notifyAll() - Method in class java.lang.Object
  Wake up all threads blocked on a wait().
notifyStateChanged() - Method in class javax.microedition.lcdui.Item
NullPointerException - Exception in java.lang
NullPointerException() - Constructor for exception java.lang.NullPointerException
NumberFormatException - Exception in java.lang
NumberFormatException() - Constructor for exception java.lang.NumberFormatException
NUMERIC - Static variable in class javax.microedition.lcdui.TextField
NXJ_DEFRAG - Static variable in class lejos.nxt.comm.LCP
NXJ_DISCONNECT - Static variable in class lejos.nxt.comm.LCP
NXJ_FIND_FIRST - Static variable in class lejos.nxt.comm.LCP
NXJ_FIND_NEXT - Static variable in class lejos.nxt.comm.LCP
NXTCam - Class in lejos.nxt
  Mindsensors NXTCam.
NXTCam(I2CPort) - Constructor for class lejos.nxt.NXTCam
NXTComm - Class in lejos.nxt.comm
  Initiates communication to a remote NXT.
NXTComm() - Constructor for class lejos.nxt.comm.NXTComm
NXTCommand - Class in lejos.nxt.comm
  Remote access to a NXT via Bluetooth using LCP.
NXTCommand() - Constructor for class lejos.nxt.comm.NXTCommand
NXTConnection - Interface in lejos.nxt.comm
  Generic lejos nxt connection inetrface.
NXTe - Class in lejos.nxt
  Abstraction for a Lattebox NXT Extension Kit with Lattebox 10-Axis Servo Kit http://www.lattebox.com The physical design is: ********************************* * NXT PORT * * NXT PORT SC4 SC3 SC2 SC1 * * NXT PORT PIN SC4 SC3 SC2 SC1 * * NXT PORT SC4 SC3 SC2 SC1 * * SC4 SC3 SC2 SC1 * * * * PIN * * * *********************************
NXTe(SensorPort) - Constructor for class lejos.nxt.NXTe
  Constructor
NXTE_ADDRESS - Static variable in class lejos.nxt.NXTe
NXTInputStream - Class in lejos.nxt.comm
  Extends InputStream for BlueTooth; implements available()
NXTname - Variable in class lejos.nxt.comm.DeviceInfo
NXTOutputStream - Class in lejos.nxt.comm
  Implements an OutputStream over Bluetooth.
NXTProtocol - Interface in lejos.nxt.comm
  LCP constants.
NXTServerSocket - Class in lejos.nxt.comm
  Communicates with a ServerProxy on the PC to provide a ServerSocket interface applications on the NXT.
NXTServerSocket(int, BTConnection) - Constructor for class lejos.nxt.comm.NXTServerSocket
  Constructor.
NXTServerSocket(int, USBConnection) - Constructor for class lejos.nxt.comm.NXTServerSocket
  Constructor.
NXTSocket - Class in lejos.nxt.comm
  NXTSocket.
NXTSocket(String, int, BTConnection) - Constructor for class lejos.nxt.comm.NXTSocket
  Constructor: Pass an open bluetooth connection and socket details.
NXTSocket(String, int, USBConnection) - Constructor for class lejos.nxt.comm.NXTSocket
  Constructor: Pass an open USB connection and socket details.
NXTSocket(BTConnection) - Constructor for class lejos.nxt.comm.NXTSocket
  Constructor.
NXTSocket(USBConnection) - Constructor for class lejos.nxt.comm.NXTSocket
  Constructor for usb connnection.

## O

Object - Class in java.lang
  All classes extend this one, implicitly.
Object() - Constructor for class java.lang.Object
off() - Method in class lejos.nxt.UltrasonicSensor
  Turn off the sensor.
OK - Static variable in class javax.microedition.lcdui.Command
Opcode - Interface in lejos.rcxcomm
  Opcode constants.
OPCODE_ABSOLUTE_VALUE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_ABSOLUTE_VALUE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_ADD_TO_VARIABLE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_ADD_TO_VARIABLE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_ALIVE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_ALIVE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_AND_VARIABLE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_AND_VARIABLE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_BRANCH_ALWAYS_FAR - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_BRANCH_ALWAYS_NEAR - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_CALL_SUBROUTINE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_CLEAR_MESSAGE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_CLEAR_SENSOR_VALUE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_CLEAR_SENSOR_VALUE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_CLEAR_TIMER - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_CLEAR_TIMER_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DATALOG_NEXT - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DATALOG_NEXT_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DECREMENT_LOOP_COUNTER_FAR - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DECREMENT_LOOP_COUNTER_NEAR - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DELETE_ALL_SUBROUTINES - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DELETE_ALL_SUBROUTINES_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DELETE_ALL_TASKS - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DELETE_ALL_TASKS_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DELETE_FIRMWARE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DELETE_FIRMWARE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DELETE_SUBROUTINE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DELETE_SUBROUTINE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DELETE_TASK - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DELETE_TASK_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DIVIDE_VARIABLE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_DIVIDE_VARIABLE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_GET_BATTERY_POWER - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_GET_BATTERY_POWER_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_GET_MEMORY_MAP - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_GET_MEMORY_MAP_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_GET_VALUE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_GET_VALUE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_GET_VERSIONS - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_GET_VERSIONS_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_MASK - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_MULTIPLY_VARIABLE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_MULTIPLY_VARIABLE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_OR_VARIABLE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_OR_VARIABLE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_PLAY_SOUND_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_PLAY_TONE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_PLAY_TONE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_POWER_OFF - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_POWER_OFF_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_REMOTE_COMMAND - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SEND_MESSAGE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_DATALOG_SIZE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_DATALOG_SIZE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_DISPLAY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_DISPLAY_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_LOOP_COUNTER - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_MESSAGE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_MOTOR_DIRECTION - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_MOTOR_DIRECTION_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_MOTOR_ON_OFF - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_MOTOR_ON_OFF_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_MOTOR_POWER - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_MOTOR_POWER_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_POWER_DOWN_DELAY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_POWER_DOWN_DELAY_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_PROGRAM_NUMBER - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_PROGRAM_NUMBER_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_SENSOR_MODE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_SENSOR_MODE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_SENSOR_TYPE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_SENSOR_TYPE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_TIME - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_TIME_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_TRANSMITTER_RANGE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_TRANSMITTER_RANGE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_VARIABLE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SET_VARIABLE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SIGN_VARIABLE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SIGN_VARIABLE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_START_FIRMWARE_DOWNLOAD - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_START_FIRMWARE_DOWNLOAD_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_START_SUBROUTINE_DOWNLOAD - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_START_SUBROUTINE_DOWNLOAD_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_START_TASK - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_START_TASK_DOWNLOAD - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_START_TASK_DOWNLOAD_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_START_TASK_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_STOP_ALL_TASKS - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_STOP_ALL_TASKS_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_STOP_TASK - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_STOP_TASK_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SUBTRACT_FROM_VARIABLE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_SUBTRACT_FROM_VARIABLE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_TEST_AND_BRANCH_FAR - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_TEST_AND_BRANCH_NEAR - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_TRANSFER_DATA - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_TRANSFER_DATA_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_UNLOCK_FIRMWARE - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_UNLOCK_FIRMWARE_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_UPLOAD_DATALOG - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_UPLOAD_DATALOG_REPLY - Static variable in interface lejos.rcxcomm.Opcode
OPCODE_WAIT - Static variable in interface lejos.rcxcomm.Opcode
open(String) - Method in class lejos.nxt.comm.NXTComm
open(String) - Method in class lejos.nxt.comm.NXTCommand
open() - Static method in class lejos.nxt.comm.RConsole
open(byte, byte) - Method in class lejos.rcxcomm.PacketHandler
  Set the source and destination for this connection.
OPEN_APPEND_DATA - Static variable in class lejos.nxt.comm.LCP
OPEN_APPEND_DATA - Static variable in interface lejos.nxt.comm.NXTProtocol
OPEN_READ - Static variable in class lejos.nxt.comm.LCP
OPEN_READ - Static variable in interface lejos.nxt.comm.NXTProtocol
OPEN_READ_LINEAR - Static variable in class lejos.nxt.comm.LCP
OPEN_READ_LINEAR - Static variable in interface lejos.nxt.comm.NXTProtocol
OPEN_WRITE - Static variable in class lejos.nxt.comm.LCP
OPEN_WRITE - Static variable in interface lejos.nxt.comm.NXTProtocol
OPEN_WRITE_DATA - Static variable in class lejos.nxt.comm.LCP
OPEN_WRITE_DATA - Static variable in interface lejos.nxt.comm.NXTProtocol
OPEN_WRITE_LINEAR - Static variable in class lejos.nxt.comm.LCP
OPEN_WRITE_LINEAR - Static variable in interface lejos.nxt.comm.NXTProtocol
openBluetooth(int) - Static method in class lejos.nxt.comm.RConsole
openDataInputStream() - Method in interface javax.microedition.io.InputConnection
  Open and return a data input stream for a connection.
openDataInputStream() - Method in class lejos.nxt.comm.BTConnection
  Return the DataInputStream for this connect
openDataInputStream() - Method in class lejos.nxt.comm.USBConnection
  Return the DataInputStream for this connect
openDataOutputStream() - Method in interface javax.microedition.io.OutputConnection
  Open and return a data output stream for a connection.
openDataOutputStream() - Method in class lejos.nxt.comm.BTConnection
  Return the DataOutputStream for this connection.
openDataOutputStream() - Method in class lejos.nxt.comm.USBConnection
  Return the DataOutputStream for this connection.
openInputStream() - Method in interface javax.microedition.io.InputConnection
  Open and return an input stream for a connection.
openInputStream() - Method in class lejos.nxt.comm.BTConnection
  Return the InputStream for this connection.
openInputStream() - Method in class lejos.nxt.comm.USBConnection
  Return the InputStream for this connection.
openOutputStream() - Method in interface javax.microedition.io.OutputConnection
  Open and return an output stream for a connection.
openOutputStream() - Method in class lejos.nxt.comm.BTConnection
  Return the OutputStream for this connection
openOutputStream() - Static method in class lejos.nxt.comm.RConsole
openOutputStream() - Method in class lejos.nxt.comm.USBConnection
  Return the OutputStream for this connection
openPort() - Static method in class lejos.nxt.comm.Bluetooth
  Opens the port to allow incoming connections.
openStream() - Method in class lejos.nxt.comm.BTConnection
  Open the stream for this connection.
openUSB(int) - Static method in class lejos.nxt.comm.RConsole
OpticalDistanceSensor - Class in lejos.nxt
  Supports Mindsensors DIST-Nx series of Optical Distance Sensor.
  This sensor is used for greater precision than the Ultrasonic Sensor.
OpticalDistanceSensor(I2CPort) - Constructor for class lejos.nxt.OpticalDistanceSensor
out - Variable in class java.io.DataOutputStream
out - Static variable in class java.lang.System
OutOfMemoryError - Error in java.lang
OutOfMemoryError() - Constructor for error java.lang.OutOfMemoryError
OutputConnection - Interface in javax.microedition.io
OutputStream - Class in java.io
  This abstract class is the superclass of all classes representing an output stream of bytes.
OutputStream() - Constructor for class java.io.OutputStream

## P

PacketHandler - Class in lejos.rcxcomm
  Abstract packet handler.
PacketHandler() - Constructor for class lejos.rcxcomm.PacketHandler
PacketHandler(PacketHandler) - Constructor for class lejos.rcxcomm.PacketHandler
packetHandler - Variable in class lejos.rcxcomm.RCXAbstractPort
paint(Graphics) - Method in class javax.microedition.lcdui.Alert
paint(Graphics, int, int, int, int, boolean) - Method in class javax.microedition.lcdui.ChoiceGroup
paint(Graphics) - Method in class javax.microedition.lcdui.Form
paint(Graphics, int, int, int, int, boolean) - Method in class javax.microedition.lcdui.Gauge
paint(Graphics, int, int, int, int, boolean) - Method in class javax.microedition.lcdui.Item
paint(Graphics) - Method in class javax.microedition.lcdui.List
paint(Graphics) - Method in class javax.microedition.lcdui.Screen
paint(Graphics, int, int, int, int, boolean) - Method in class javax.microedition.lcdui.Spacer
paint(Graphics, int, int, int, int, boolean) - Method in class javax.microedition.lcdui.StringItem
paint(Graphics) - Method in class javax.microedition.lcdui.TextBox
paint(Graphics, int, int, int, int, boolean) - Method in class javax.microedition.lcdui.TextField
parseFloat(String) - Static method in class java.lang.Float
  Converts a String value into a float
parseInt(String, int) - Static method in class java.lang.Integer
  This method parses an int from a String.
parseInt(String) - Static method in class java.lang.Integer
passivate() - Method in interface lejos.nxt.LegacySensorPort
passivate() - Method in class lejos.nxt.RCXLightSensor
  Passivates an RCX light sensor.
passivate() - Method in class lejos.nxt.SensorPort
  Passivates an RCX sensor sensor.
PASSWORD - Static variable in class javax.microedition.lcdui.TextField
pause(int) - Static method in class lejos.nxt.Sound
pause(long) - Method in class lejos.subsumption.Activity
  Wait at most 'time' milliseconds.
pause() - Method in class lejos.subsumption.Activity
  Wait until we've either been made runnable or someone else has.
pc - Variable in class lejos.nxt.debug.DebugInterface
PCTFULLSCALEMODE - Static variable in interface lejos.nxt.comm.NXTProtocol
peek() - Method in class java.util.Queue
  fetches an object from the start of the Queue
  does not remove it!
peek() - Method in class java.util.Stack
  fetches an object from the stack
  does not remove it!
peekWord(int) - Static method in class lejos.nxt.debug.DebugInterface
  Allow access to VM data structures
PERIODCOUNTERMODE - Static variable in interface lejos.nxt.comm.NXTProtocol
PHONENUMBER - Static variable in class javax.microedition.lcdui.TextField
PI - Static variable in class java.lang.Math
PIANO - Static variable in class lejos.nxt.Sound
Pilot - Class in lejos.navigation
  The Pilot class is a software abstraction of the Pilot mechanism of a NXT robot.
Pilot(float, float, Motor, Motor) - Constructor for class lejos.navigation.Pilot
  Allocates a Pilot object, and sets the physical parameters of the NXT robot.
Pilot(float, float, Motor, Motor, boolean) - Constructor for class lejos.navigation.Pilot
  Allocates a Pilot object, and sets the physical parameters of the NXT robot.
ping() - Method in class lejos.nxt.RCXLink
ping() - Method in class lejos.nxt.UltrasonicSensor
  Send a single ping.
PLAY_SOUND_FILE - Static variable in class lejos.nxt.comm.LCP
PLAY_SOUND_FILE - Static variable in interface lejos.nxt.comm.NXTProtocol
PLAY_TONE - Static variable in class lejos.nxt.comm.LCP
PLAY_TONE - Static variable in interface lejos.nxt.comm.NXTProtocol
playNote(int[], int, int) - Static method in class lejos.nxt.Sound
  Play a note with attack, decay, sustain and release shape.
playSample(File, int) - Static method in class lejos.nxt.Sound
  Play a wav file
playSample(File) - Static method in class lejos.nxt.Sound
  Play a wav file
playTone(int, int) - Method in class lejos.nxt.comm.NXTCommand
  Plays a tone on NXT speaker.
playTone(int, int, int) - Static method in class lejos.nxt.Sound
  Plays a tone, given its frequency and duration.
playTone(int, int) - Static method in class lejos.nxt.Sound
POLL - Static variable in class lejos.nxt.comm.LCP
POLL - Static variable in interface lejos.nxt.comm.NXTProtocol
Poll - Class in lejos.nxt
  Provides blocking access to events from the NXT.
Poll() - Constructor for class lejos.nxt.Poll
  Constructor.
poll(int, int) - Method in class lejos.nxt.Poll
  Wait for the sensor/button values to change then return.
POLL_BUFFER - Static variable in interface lejos.nxt.comm.NXTProtocol
POLL_LENGTH - Static variable in class lejos.nxt.comm.LCP
POLL_LENGTH - Static variable in interface lejos.nxt.comm.NXTProtocol
pop() - Method in class java.util.Queue
  fetches an object from the start of the Queue and removes it
pop() - Method in class java.util.Stack
  fetches an object from the top of the stack and removes it
POPUP - Static variable in interface javax.microedition.lcdui.Choice
PORTS - Static variable in class lejos.nxt.SensorPort
  Array containing all three ports [0..3].
pow(double, double) - Static method in class java.lang.Math
  Power function.
POWER_OFF_RCX - Static variable in class lejos.nxt.RCXLink
powerOff() - Method in class lejos.nxt.OpticalDistanceSensor
  Turns power to the sensor module off.
powerOff() - Method in class lejos.nxt.RCXLink
powerOn() - Method in class lejos.nxt.OpticalDistanceSensor
  Turns the sensor module on.
powerUp(boolean) - Method in class lejos.nxt.PSPNXController
prefHeight - Variable in class javax.microedition.lcdui.Item
prefWidth - Variable in class javax.microedition.lcdui.Item
print(String) - Method in class java.io.PrintStream
  Writes a string to the underlying output stream.
print(String) - Static method in class lejos.nxt.comm.RConsole
println(String) - Method in class java.io.PrintStream
  Writes a string followed by a newline character to the underlying output stream.
println(String) - Static method in class lejos.nxt.comm.RConsole
PrintStream - Class in java.io
  Minimal implementation of PrintStream.
PrintStream(OutputStream) - Constructor for class java.io.PrintStream
priority - Variable in class lejos.nxt.debug.DebugThread
Properties - Class in java.util
  Properties class, used to store properties using a key, and retrieving properties with a key.
Properties() - Constructor for class java.util.Properties
Properties(Properties) - Constructor for class java.util.Properties
propertyNames() - Method in class java.util.Properties
protocolVersion - Variable in class lejos.nxt.comm.FirmwareInfo
PSPNXController - Class in lejos.nxt
  This class allows you to use a Sony Playstation 2 controller to control your robot in conjunction with the Mindsensors.com PSP-Nx interface.
PSPNXController(SensorPort) - Constructor for class lejos.nxt.PSPNXController
push(Object) - Method in class java.util.Queue
  pushes an object onto the Queue
push(Object) - Method in class java.util.Stack
  pushes an object onto the stack
put(Object, Object) - Method in class java.util.Hashtable
put(int, Object) - Method in class lejos.util.RecyclableArray
PWM_BRAKE - Static variable in interface lejos.nxt.BasicMotorPort
PWM_FLOAT - Static variable in interface lejos.nxt.BasicMotorPort

## Q

Queue - Class in java.util
  A FIFO Queue of objects.
Queue() - Constructor for class java.util.Queue
  creates a new Queue instance
quit() - Method in class javax.microedition.lcdui.Display
quit() - Method in class lejos.nxt.TextMenu
  method to call from another thread to quit the menu

## R

random() - Static method in class java.lang.Math
  Random number generator.
Random - Class in java.util
  Pseudo-random number generation.
Random(long) - Constructor for class java.util.Random
Random() - Constructor for class java.util.Random
RAW - Static variable in class lejos.nxt.comm.USB
rawADValue - Variable in class lejos.nxt.comm.InputValues
  The raw value from the Analog to Digital (AD) converter.
RAWMODE - Static variable in interface lejos.nxt.comm.NXTProtocol
RConsole - Class in lejos.nxt.comm
  This class provides a simple way of sending output for viewing on a PC.
RConsole() - Constructor for class lejos.nxt.comm.RConsole
RCXAbstractPort - Class in lejos.rcxcomm
  RCXAbstractPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU RCXAbstractPort implements input and output stream handling and input buffering.
RCXAbstractPort(PacketHandler) - Constructor for class lejos.rcxcomm.RCXAbstractPort
  Constructor for the RCXAbstractPort.
RCXLightSensor - Class in lejos.nxt
  Abstraction for an RCX light sensor.
RCXLightSensor(LegacySensorPort) - Constructor for class lejos.nxt.RCXLightSensor
  Create an RCX light sensor object attached to the specified port.
RCXLink - Class in lejos.nxt
  Supports Mindsensors NRLink RCX IR adapter.
RCXLink(I2CPort) - Constructor for class lejos.nxt.RCXLink
RCXMotor - Class in lejos.nxt
  Abstraction for an RCX motor.
RCXMotor(BasicMotorPort) - Constructor for class lejos.nxt.RCXMotor
RCXMotorMultiplexer - Class in lejos.nxt
  Supports the mindsensors RCX Motor Multiplexer
RCXMotorMultiplexer(I2CPort) - Constructor for class lejos.nxt.RCXMotorMultiplexer
RCXPlexedMotorPort - Class in lejos.nxt
  Supports a motor connected to the Mindsensors RCX Motor Multiplexer
RCXPlexedMotorPort(RCXMotorMultiplexer, int) - Constructor for class lejos.nxt.RCXPlexedMotorPort
RCXPort - Class in lejos.rcxcomm
  RCXPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU Uses Reliable low-level comms for communication.
RCXPort(SensorPort) - Constructor for class lejos.rcxcomm.RCXPort
RCXRemoteMotorPort - Class in lejos.nxt
  Supports a motor connected to a remote RCX via a mindsensord NRLink adapter
RCXRemoteMotorPort(RCXLink, int) - Constructor for class lejos.nxt.RCXRemoteMotorPort
RCXSensorMultiplexer - Class in lejos.nxt
  Supports Mindsensors RXMux
  This sensor allows you to connect up to four RCX type sensors toa single port.
RCXSensorMultiplexer(I2CPort) - Constructor for class lejos.nxt.RCXSensorMultiplexer
read() - Method in class java.io.DataInputStream
  Reads the next byte of data from this input stream.
read(byte[]) - Method in class java.io.DataInputStream
read(byte[], int, int) - Method in class java.io.DataInputStream
read() - Method in class java.io.FileInputStream
read() - Method in class java.io.InputStream
  Reads the next byte of data from the input stream.
read(byte[]) - Method in class java.io.InputStream
  Reads some number of bytes from the input stream and stores them into the buffer array `b`.
read(byte[], int, int) - Method in class java.io.InputStream
  Reads up to `len` bytes of data from the input stream into an array of bytes.
read(byte[], int, boolean) - Method in class lejos.nxt.comm.BTConnection
  Attempt to read data from the connection.
read(byte[], int) - Method in class lejos.nxt.comm.BTConnection
READ - Static variable in class lejos.nxt.comm.LCP
read(byte[], int) - Method in interface lejos.nxt.comm.NXTConnection
read(byte[], int, boolean) - Method in interface lejos.nxt.comm.NXTConnection
read() - Method in class lejos.nxt.comm.NXTInputStream
  Returns one byte as an integer between 0 and 255.
READ - Static variable in interface lejos.nxt.comm.NXTProtocol
read(byte[], int, boolean) - Method in class lejos.nxt.comm.USBConnection
  Perform an optionally blocking read on the USB connection
read(byte[], int) - Method in class lejos.nxt.comm.USBConnection
  Perform an blocking read on the USB connection
read() - Static method in class lejos.rcxcomm.LLC
  read a single byte, if available
readBoolean() - Method in class java.io.DataInputStream
readBooleanValue() - Method in interface lejos.nxt.ADSensorPort
readBooleanValue() - Method in class lejos.nxt.remote.RemoteSensorPort
  Reads the boolean value of the sensor.
readBooleanValue() - Method in class lejos.nxt.SensorPort
  Reads the boolean value of the sensor.
readButtons() - Static method in class lejos.nxt.Button
  Low-level API that reads status of buttons.
readByte() - Method in class java.io.DataInputStream
readBytes(byte[]) - Method in class lejos.nxt.RCXLink
readChar() - Method in class java.io.DataInputStream
readData() - Method in class lejos.nxt.comm.NXTComm
readFloat() - Method in class java.io.DataInputStream
readInt() - Method in class java.io.DataInputStream
readLine() - Method in class java.io.DataInputStream
readMotion() - Method in class lejos.nxt.LServo
  public method to know internal information about if the servo is moving
readNormalizedValue() - Method in class lejos.nxt.LightSensor
  Read the current sensor normalized value.
readPacket(byte[], int) - Static method in class lejos.nxt.comm.Bluetooth
  Read a packet from the stream.
readPacket(byte[], int) - Method in class lejos.nxt.comm.BTConnection
  Read a packet from the stream.
readPacket(byte[]) - Static method in class lejos.rcxcomm.Serial
  Read an assembled packet.
readPage(byte[], int) - Static method in class lejos.nxt.Flash
readRawValue() - Method in interface lejos.nxt.ADSensorPort
readRawValue() - Method in class lejos.nxt.remote.RemoteSensorPort
  Reads the raw value of the sensor.
readRawValue() - Method in class lejos.nxt.SensorPort
  Reads the raw value of the sensor.
readShort() - Method in class java.io.DataInputStream
readValue() - Method in interface lejos.nxt.ADSensorPort
readValue() - Method in class lejos.nxt.GyroSensor
  Read the gyro value
readValue() - Method in class lejos.nxt.LightSensor
  Read the current sensor value.
readValue() - Method in class lejos.nxt.RCXLightSensor
  Read the current sensor value.
readValue() - Method in class lejos.nxt.remote.RemoteSensorPort
  Returns value compatible with Lego firmware.
readValue() - Method in class lejos.nxt.SensorPort
  Returns value compatible with Lego firmware.
readValue() - Method in class lejos.nxt.SoundSensor
  Read the current sensor value.
receive() - Static method in class lejos.rcxcomm.LLC
  wait a little while for a byte to become available
receiveAck(byte[]) - Method in class lejos.rcxcomm.LLCHandler
  Receive an ack.
receiveAck(byte[]) - Method in class lejos.rcxcomm.PacketHandler
receivePacket(byte[]) - Method in class lejos.rcxcomm.LLCHandler
  Receive a packet.
receivePacket(byte[]) - Method in class lejos.rcxcomm.LLCReliableHandler
  Receive a packet.
receivePacket(byte[]) - Method in class lejos.rcxcomm.PacketHandler
  Receive a packet.
Rectangle - Class in java.awt
  Minimal Rectangle implementation.
Rectangle(int, int, int, int) - Constructor for class java.awt.Rectangle
Recyclable - Interface in lejos.util
  Represents a recyclable object.
RecyclableArray - Class in lejos.util
  A recyclable array.
recycle(Recyclable) - Method in class lejos.util.Recycler
  Reclaims a Recyclable previously allocated with the `allocate` method.
Recycler - Class in lejos.util
  An abstract object recycler.
Recycler() - Constructor for class lejos.util.Recycler
  Constructs a recycler.
REFLECTION - Static variable in interface lejos.nxt.comm.NXTProtocol
refresh() - Method in class javax.microedition.lcdui.Graphics
refresh() - Static method in class lejos.nxt.LCD
  Update the display.
REGULATED - Static variable in interface lejos.nxt.comm.NXTProtocol
  Turns on the regulation
regulateSpeed(boolean) - Method in class lejos.navigation.Pilot
  Sets motor speed regulation on = true (default) or off = false;
  Allows steer() method to be called by (for example) a line tracker or compass navigator so direction control is from sensor inputs
regulateSpeed(boolean) - Method in class lejos.nxt.Motor
  turns speed regulation on/off;
  Cumulative speed error is within about 1 degree after initial acceleration.
REGULATION_MODE_IDLE - Static variable in interface lejos.nxt.comm.NXTProtocol
  No regulation will be enabled
REGULATION_MODE_MOTOR_SPEED - Static variable in interface lejos.nxt.comm.NXTProtocol
  Power control will be enabled on specified output
REGULATION_MODE_MOTOR_SYNC - Static variable in interface lejos.nxt.comm.NXTProtocol
  Synchronization will be enabled (Needs enabled on two output)
regulator - Variable in class lejos.nxt.Motor
release() - Method in class lejos.util.AbstractRecyclable
  Called by users when this Recyclable is no longer needed.
release() - Method in interface lejos.util.Recyclable
  Called when this Recyclable is no longer needed.
release() - Method in class lejos.util.RecyclableArray
RemoteBattery - Class in lejos.nxt.remote
  Battery readings from a remote NXT.
RemoteBattery(NXTCommand) - Constructor for class lejos.nxt.remote.RemoteBattery
RemoteDevice - Class in javax.bluetooth
  Represents a remote Bluetooth device.
RemoteDevice(byte[]) - Constructor for class javax.bluetooth.RemoteDevice
  Note: The standard JSR 82 method for obtaining a RemoteDevice uses a String rather than byte[].
RemoteDevice(char[], int, byte[], byte[]) - Constructor for class javax.bluetooth.RemoteDevice
RemoteMotorPort - Class in lejos.nxt.remote
  Supports a motor connected to a remote NXT
RemoteMotorPort(NXTCommand, int) - Constructor for class lejos.nxt.remote.RemoteMotorPort
RemoteNXT - Class in lejos.nxt.remote
  Provides an API similar to the leJOS API for accessing motors, sensors etc.
RemoteNXT(String) - Constructor for class lejos.nxt.remote.RemoteNXT
RemoteSensorPort - Class in lejos.nxt.remote
  Emulates a Sensor Port using LCP
RemoteSensorPort(NXTCommand, int) - Constructor for class lejos.nxt.remote.RemoteSensorPort
remove(int) - Method in class java.util.ArrayList
remove() - Method in interface java.util.Iterator
  Removes from the underlying collection the last element returned by the iterator (optional operation).
removeAllElements() - Method in class java.util.Vector
removeCommand(Command) - Method in class javax.microedition.lcdui.Displayable
removeCommand(Command) - Method in class javax.microedition.lcdui.Item
removeDevice(RemoteDevice) - Static method in class lejos.nxt.comm.Bluetooth
  Add device to known devices
removeElement(Object) - Method in class java.util.Vector
removeElementAt(int) - Method in class java.util.Vector
removeKeylistener(KeyListener) - Method in class lejos.devices.Keyboard
repaint() - Method in class javax.microedition.lcdui.Displayable
repaint() - Method in class javax.microedition.lcdui.Item
REPLY_COMMAND - Static variable in class lejos.nxt.comm.LCP
REPLY_COMMAND - Static variable in interface lejos.nxt.comm.NXTProtocol
reset() - Static method in class java.io.File
  Reset the files array after an error.
reset() - Method in class java.io.FileInputStream
  resets pointers so next read() is from the start of the file;
reset() - Method in class java.io.InputStream
  Repositions this stream to the position at the time the `mark` method was last called on this input stream.
reset() - Static method in class lejos.nxt.comm.Bluetooth
  Force a reset of the Bluetooth module.
RESET - Static variable in class lejos.nxt.comm.USB
reset() - Method in class lejos.nxt.Motor.Regulator
  called by forward() backward() and reverseDirection()
  resets parameters for speed regulation
reset() - Method in class lejos.nxt.UltrasonicSensor
  Reset the device Performs a "soft reset" of the device.
reset() - Method in class lejos.rcxcomm.LLCReliableHandler
  Reset sequence numbers.
reset() - Method in class lejos.rcxcomm.PacketHandler
  Reset sequence numbers for this handler
reset() - Method in class lejos.rcxcomm.RCXAbstractPort
  Resets sequence numbers for this port
reset() - Method in class lejos.util.Datalogger
  Clears the log; next write is at the beginning;
RESET_MOTOR_POSITION - Static variable in class lejos.nxt.comm.LCP
RESET_MOTOR_POSITION - Static variable in interface lejos.nxt.comm.NXTProtocol
RESET_SCALED_INPUT_VALUE - Static variable in class lejos.nxt.comm.LCP
RESET_SCALED_INPUT_VALUE - Static variable in interface lejos.nxt.comm.NXTProtocol
resetCartesianZero() - Method in class lejos.nxt.CompassSensor
  Changes the current direction the compass is facing into the zero angle.
resetMotorPosition(int, boolean) - Method in class lejos.nxt.comm.NXTCommand
  Resets the tachometer
resetRunnable() - Method in class lejos.subsumption.Activity
  Reset the runnable activity.
resetSerial() - Static method in class lejos.rcxcomm.Serial
  Reset the link - null
resetTachoCount() - Method in class lejos.navigation.Pilot
  resets tacho count for both motors
resetTachoCount() - Method in class lejos.nxt.Motor
  Resets the tachometer count to zero.
resetTachoCount() - Method in class lejos.nxt.MotorPort
  resets the tachometer count to 0;
resetTachoCount() - Method in class lejos.nxt.remote.RemoteMotorPort
resetTachoCount() - Method in interface lejos.nxt.Tachometer
resetTachoCountById(int) - Static method in class lejos.nxt.MotorPort
resetTimeout() - Method in class lejos.nxt.TextMenu
  Reset the timeout period.
resumeThread(Object) - Static method in class lejos.nxt.debug.DebugThreads
  Resume a thread.
reverseDirection() - Method in class lejos.nxt.BasicMotor
  Reverses direction of the motor.
reverseDirection() - Method in class lejos.nxt.Motor
  Reverses direction of the motor.
RIGHT - Static variable in class lejos.nxt.Button
  The Right button.
RIGHT_MASK - Static variable in class lejos.nxt.Poll
ROP_AND - Static variable in class lejos.nxt.LCD
ROP_ANDINVERTED - Static variable in class lejos.nxt.LCD
ROP_ANDREVERSE - Static variable in class lejos.nxt.LCD
ROP_CLEAR - Static variable in class lejos.nxt.LCD
  Common raster operations for use with bitBlt
ROP_COPY - Static variable in class lejos.nxt.LCD
ROP_COPYINVERTED - Static variable in class lejos.nxt.LCD
ROP_EQUIV - Static variable in class lejos.nxt.LCD
ROP_INVERT - Static variable in class lejos.nxt.LCD
ROP_NAND - Static variable in class lejos.nxt.LCD
ROP_NOOP - Static variable in class lejos.nxt.LCD
ROP_NOR - Static variable in class lejos.nxt.LCD
ROP_OR - Static variable in class lejos.nxt.LCD
ROP_ORINVERTED - Static variable in class lejos.nxt.LCD
ROP_ORREVERSE - Static variable in class lejos.nxt.LCD
ROP_SET - Static variable in class lejos.nxt.LCD
ROP_XOR - Static variable in class lejos.nxt.LCD
rotate(float, boolean) - Method in class lejos.navigation.CompassNavigator
  Rotates the NXT robot by a specified angle.
rotate(int, boolean) - Method in class lejos.navigation.CompassPilot
  see rotate(angle)
rotate(int) - Method in class lejos.navigation.CompassPilot
  Rotates the NXT robot through a specific angle; Rotates left if angle is positive, right if negative, Returns when angle is reached.
rotate(float) - Method in interface lejos.navigation.Navigator
  Rotates the NXT robot a specific number of degrees in a direction (+ or -).This method will return once the rotation is complete.
rotate(float, boolean) - Method in interface lejos.navigation.Navigator
  Rotates the NXT robot a specific number of degrees in a direction (+ or -).
rotate(int) - Method in class lejos.navigation.Pilot
  Rotates the NXT robot through a specific angle; Rotates left if angle is positive, right if negative, Returns when angle is reached.
rotate(int, boolean) - Method in class lejos.navigation.Pilot
  Rotates the NXT robot through a specific angle; Rotates left if angle is positive, right if negative; Returns immediately iff immediateReturn is true.
rotate(float) - Method in class lejos.navigation.TachoNavigator
  Rotates the NXT robot a specific number of degrees in a direction (+ or -).
rotate(float, boolean) - Method in class lejos.navigation.TachoNavigator
  Rotates the NXT robot a specific number of degrees in a direction (+ or -).
rotate(int) - Method in class lejos.nxt.Motor
  causes motor to rotate through angle.
rotate(int, boolean) - Method in class lejos.nxt.Motor
  causes motor to rotate through angle;
  iff immediateReturn is true, method returns immediately and the motor stops by itself
  If any motor method is called before the limit is reached, the rotation is canceled.
rotateLeft() - Method in interface lejos.navigation.Navigator
  Rotates the NXT to the left (increasing angle) until stop() is called;
rotateLeft() - Method in class lejos.navigation.TachoNavigator
  Rotates the NXT to the left (increasing angle) until stop() is called;
rotateRight() - Method in interface lejos.navigation.Navigator
  Rotates the NXT to the right (decreasing angle) until stop() is called;
rotateRight() - Method in class lejos.navigation.TachoNavigator
  Rotates the NXT to the right (decreasing angle) until stop() is called;
rotateTo(float, boolean) - Method in class lejos.navigation.CompassNavigator
  Rotates the NXT robot to point in a specific direction.
rotateTo(int, boolean) - Method in class lejos.navigation.CompassPilot
  robot rotates to the specified compass heading;
rotateTo(int) - Method in class lejos.navigation.CompassPilot
  robot rotates to the specified compass heading;
rotateTo(float) - Method in interface lejos.navigation.Navigator
  Rotates the NXT robot to point in a specific direction.
rotateTo(float, boolean) - Method in interface lejos.navigation.Navigator
  Rotates the NXT robot to point in a specific direction.
rotateTo(float) - Method in class lejos.navigation.TachoNavigator
  Rotates the NXT robot to point in a specific direction.
rotateTo(float, boolean) - Method in class lejos.navigation.TachoNavigator
  Rotates the NXT robot to point in a specific direction.
rotateTo(int) - Method in class lejos.nxt.Motor
  causes motor to rotate to limitAngle;
  Then getTachoCount should be within +- 2 degrees of the limit angle when the method returns
rotateTo(int, boolean) - Method in class lejos.nxt.Motor
  causes motor to rotate to limitAngle;
  if immediateReturn is true, method returns immediately and the motor stops by itself
  and getTachoCount should be within +- 2 degrees if the limit angle If any motor method is called before the limit is reached, the rotation is canceled.
round(float) - Static method in class java.lang.Math
  Returns the closest int to the argument.
run() - Method in class java.lang.Thread
run() - Method in class lejos.devices.GPS
  Keeps reading sentences from GPS receiver stream and extracting data.
run() - Method in class lejos.devices.Keyboard
run() - Method in class lejos.nxt.comm.LCPBTResponder
run() - Method in class lejos.nxt.Motor.Regulator
  Monitors time and tachoCount to regulate speed and stop motor rotation at limit angle
run() - Method in class lejos.subsumption.Activity
  Thread entry point.
RUN_PROGRAM_1 - Static variable in class lejos.nxt.RCXLink
RUN_PROGRAM_2 - Static variable in class lejos.nxt.RCXLink
RUN_PROGRAM_3 - Static variable in class lejos.nxt.RCXLink
RUN_PROGRAM_4 - Static variable in class lejos.nxt.RCXLink
RUN_PROGRAM_5 - Static variable in class lejos.nxt.RCXLink
runMacro(int) - Method in class lejos.nxt.RCXLink
runProgram(int) - Method in class lejos.nxt.RCXLink
Runtime - Class in java.lang
  Minimalist version of the standard Java Runtime class.
RuntimeException - Exception in java.lang
RuntimeException() - Constructor for exception java.lang.RuntimeException

## S

S1 - Variable in class lejos.nxt.remote.RemoteNXT
S1 - Static variable in class lejos.nxt.SensorPort
  Port labeled 1 on NXT.
S2 - Variable in class lejos.nxt.remote.RemoteNXT
S2 - Static variable in class lejos.nxt.SensorPort
  Port labeled 2 on NXT.
S3 - Variable in class lejos.nxt.remote.RemoteNXT
S3 - Static variable in class lejos.nxt.SensorPort
  Port labeled 3 on NXT.
S4 - Variable in class lejos.nxt.remote.RemoteNXT
S4 - Static variable in class lejos.nxt.SensorPort
  Port labeled 4 on NXT.
scaledValue - Variable in class lejos.nxt.comm.InputValues
  The scaled value starts working after the first call to the sensor.
SCREEN - Static variable in class javax.microedition.lcdui.Command
Screen - Class in javax.microedition.lcdui
Screen() - Constructor for class javax.microedition.lcdui.Screen
SCREEN_CHAR_DEPTH - Static variable in class javax.microedition.lcdui.Display
SCREEN_CHAR_WIDTH - Static variable in class javax.microedition.lcdui.Display
SCREEN_HEIGHT - Static variable in class javax.microedition.lcdui.Display
SCREEN_HEIGHT - Static variable in class lejos.nxt.LCD
SCREEN_WIDTH - Static variable in class javax.microedition.lcdui.Display
SCREEN_WIDTH - Static variable in class lejos.nxt.LCD
scroll() - Static method in class lejos.nxt.LCD
  Scrolls the screen up one text line
select() - Method in class lejos.nxt.TextMenu
  Allows the user to scroll through the items, using the right and left buttons (forward and back) The Enter key closes the menu
  and returns the index of the selected item.
select(int) - Method in class lejos.nxt.TextMenu
  Version of select without timeout
select(int, int) - Method in class lejos.nxt.TextMenu
  Allows the user to scroll through the items, using the right and left buttons (forward and back) The Enter key closes the menu
  and returns the index of the selected item.
sendBytes(byte[], int) - Method in class lejos.nxt.RCXLink
sendBytes(byte[], int) - Static method in class lejos.rcxcomm.LLC
  Send a number of bytes and wait for completion of transmission
sendCommand(char) - Method in class lejos.nxt.NXTCam
  Send a single byte command represented by a letter
sendData(byte[]) - Method in class lejos.nxt.comm.NXTComm
sendData(int, byte[], int) - Method in class lejos.nxt.I2CSensor
  Executes an I2C write transaction.
sendData(int, byte) - Method in class lejos.nxt.I2CSensor
  Executes an I2C write transaction.
sendData(int, byte[], int) - Method in class lejos.nxt.UltrasonicSensor
sendF7(int) - Method in class lejos.nxt.RCXLink
sendPacket(byte[], int) - Static method in class lejos.nxt.comm.Bluetooth
  Send a data packet.
sendPacket(byte[], int) - Method in class lejos.nxt.comm.BTConnection
  Send a data packet.
sendPacket(byte[], int) - Method in class lejos.rcxcomm.LLCHandler
  Send a packet.
sendPacket(byte[], int) - Method in class lejos.rcxcomm.LLCReliableHandler
  Send a packet.
sendPacket(byte[], int) - Method in class lejos.rcxcomm.PacketHandler
  Send a packet.
sendPacket(byte[], int, int) - Static method in class lejos.rcxcomm.Serial
  Send a packet
sendRemoteCommand(int) - Method in class lejos.nxt.RCXLink
SENSITIVE - Static variable in class javax.microedition.lcdui.TextField
SENSOR1_MASK - Static variable in class lejos.nxt.Poll
SENSOR2_MASK - Static variable in class lejos.nxt.Poll
SENSOR3_MASK - Static variable in class lejos.nxt.Poll
SENSOR4_MASK - Static variable in class lejos.nxt.Poll
SensorConstants - Interface in lejos.nxt
  Constants used to set Sensor types and modes.
sensorMode - Variable in class lejos.nxt.comm.InputValues
SensorPort - Class in lejos.nxt
  Abstraction for a NXT input port.
SensorPortListener - Interface in lejos.nxt
  Interface for monitoring changes to the value for an Analogue/Digital sensor (such as a Touch, Light or Sound sensor) on a SensorPort.
sensorType - Variable in class lejos.nxt.comm.InputValues
Serial - Class in lejos.rcxcomm
  Emulation of the RCX Serial class with mindstorms NRLINK adapter.
SERIAL_MASK - Static variable in class lejos.nxt.Poll
SERIAL_NO - Static variable in class lejos.nxt.comm.USB
SERIAL_SHIFT - Static variable in class lejos.nxt.Poll
Serializable - Interface in java.io
  This interface is not functional.
set(int, Object) - Method in class java.util.ArrayList
set(int) - Method in class java.util.BitSet
set(int, String, Image) - Method in interface javax.microedition.lcdui.Choice
set(int, String, Image) - Method in class javax.microedition.lcdui.ChoiceGroup
set(int, Item) - Method in class javax.microedition.lcdui.Form
set(int, String, Image) - Method in class javax.microedition.lcdui.List
SET_BRICK_NAME - Static variable in class lejos.nxt.comm.LCP
SET_BRICK_NAME - Static variable in interface lejos.nxt.comm.NXTProtocol
SET_INPUT_MODE - Static variable in class lejos.nxt.comm.LCP
SET_INPUT_MODE - Static variable in interface lejos.nxt.comm.NXTProtocol
SET_OUTPUT_STATE - Static variable in class lejos.nxt.comm.LCP
SET_OUTPUT_STATE - Static variable in interface lejos.nxt.comm.NXTProtocol
setActiveMode(int) - Method in class lejos.nxt.comm.BTConnection
  Set the channel switching mode.
setAddress(int) - Method in class lejos.nxt.I2CSensor
  Set the address of the port Note that addresses are from 0x01 to 0x7F not even numbers from 0x02 to 0xFE as given in some I2C device specifications.
setADPAMode(boolean) - Method in class lejos.nxt.PSPNXController
  Use ADPA mode only if you are trying to connect more than one I2C sensor to a single port.
setAngle(int, int) - Method in class lejos.nxt.LServo
  Method to setAngle in Servo.
setAPDAOff() - Method in class lejos.nxt.OpticalDistanceSensor
  Disables (ADPA) Auto Detecting Parallel Architecture.
  Disabled by default.
setAPDAOff() - Method in class lejos.nxt.RCXLink
setAPDAOn() - Method in class lejos.nxt.OpticalDistanceSensor
  Enables (ADPA) Auto Detecting Parallel Architecture.
setAPDAOn() - Method in class lejos.nxt.RCXLink
setArbitrator(Arbitrator2) - Method in interface lejos.subsumption.Behavior2
  call back path so Behavior2 can call arbitrator.wantControl(this) when its takeControl state changes to true;
setAutoRefresh(int) - Static method in class lejos.nxt.LCD
  Turn on/off the automatic refresh of the LCD display.
setBrakePower(int) - Method in class lejos.nxt.Motor
setCalibrationData(byte[]) - Method in class lejos.nxt.UltrasonicSensor
  Set 3 bytes of calibration data.
setChannelFour() - Method in class lejos.nxt.RCXSensorMultiplexer
  Selects channel four
setChannelOne() - Method in class lejos.nxt.RCXSensorMultiplexer
  Selects channel one
setChannelThree() - Method in class lejos.nxt.RCXSensorMultiplexer
  Selects channel three
setChannelTwo() - Method in class lejos.nxt.RCXSensorMultiplexer
  Selects channel two
setCharAt(int, char) - Method in class java.lang.StringBuffer
setColor(int) - Method in class javax.microedition.lcdui.Graphics
setCommandListener(CommandListener) - Method in class javax.microedition.lcdui.Displayable
setConstraints(int) - Method in class javax.microedition.lcdui.TextBox
setContinuousInterval(byte) - Method in class lejos.nxt.UltrasonicSensor
  Set the ping inetrval used when in continuous mode.
setCurrent(Screen) - Method in class javax.microedition.lcdui.Display
setCurrent(Alert, Screen) - Method in class javax.microedition.lcdui.Display
setCurveCount(int) - Method in class lejos.nxt.OpticalDistanceSensor
  Sets the number of points that will be in the configured curve.
setDaemon(boolean) - Method in class java.lang.Thread
setDBA(boolean) - Method in class lejos.nxt.SoundSensor
  Set DB or DBA mode.
setDefaultCommand(Command) - Method in class javax.microedition.lcdui.Spacer
setDefaultSpeed() - Method in class lejos.nxt.RCXLink
setDelay(int, int) - Method in class lejos.nxt.LServo
  Set a delay in Servo Note: In next version, I will delete servo parameter, because the object should know servo id.
setDelay(int) - Method in class lejos.util.Timer
  Change the delay between timedOut messages.
setDeviceAddr(byte[]) - Method in class javax.bluetooth.RemoteDevice
setDeviceClass(byte[]) - Method in class javax.bluetooth.RemoteDevice
setDigitalMode(boolean) - Method in class lejos.nxt.PSPNXController
setDirection(int, int) - Method in class lejos.nxt.RCXMotorMultiplexer
setDiscoverable(int) - Method in class javax.bluetooth.LocalDevice
  Normally the mode values are found in javax.bluetooth.DiscoveryAgent.
setDisplay() - Static method in class lejos.nxt.LCD
setDisplay(int[]) - Static method in class lejos.nxt.LCD
  Write graphics from a Java buffer to the display.
setDistMaxLSB(int) - Method in class lejos.nxt.OpticalDistanceSensor
  Sets the max value in millimeters for LSB.
  Used for recalibrating the sensor.
setDistMaxMSB(int) - Method in class lejos.nxt.OpticalDistanceSensor
  Sets the max value in millimeters for the MSB.
  Used for recalibrating the sensor.
setDistMinLSB(int) - Method in class lejos.nxt.OpticalDistanceSensor
  Sets the min value in millimeters for the LSB.
  Used for recalibrating the sensor.
setDistMinMSB(int) - Method in class lejos.nxt.OpticalDistanceSensor
  Sets the min value in millimeters for the MSB.
  Used for recalibrating the sensor.
setDistPointLSB(int, int) - Method in class lejos.nxt.OpticalDistanceSensor
  Sets millimeter value of the specific index for the LSB.
setDistPointMSB(int, int) - Method in class lejos.nxt.OpticalDistanceSensor
  Sets millimeter value of the specific index for the MSB.
setElementAt(Object, int) - Method in class java.util.Vector
setErr(PrintStream) - Static method in class java.lang.System
  Redirect System.err
setFactorySettings() - Static method in class lejos.nxt.comm.Bluetooth
  Reset the settings of the BC4 chip to the factory defaults.
setFloodlight(boolean) - Method in class lejos.nxt.LightSensor
  Set floodlighting on or off.
setFriendlyName(String) - Method in class javax.bluetooth.LocalDevice
  Changes the friendly name of the NXT brick.
setFriendlyName(char[], int) - Method in class javax.bluetooth.RemoteDevice
setFriendlyName(byte[]) - Static method in class lejos.nxt.comm.Bluetooth
  Set the name of the local device
setHeading(int) - Method in class lejos.navigation.CompassPilot
  sets target direction of robot facing in degrees
setHigh(int) - Method in class lejos.nxt.LightSensor
  set the normalized value corresponding to readValue() = 100;
setHighSpeed() - Method in class lejos.nxt.RCXLink
setIndicator(Gauge) - Method in class javax.microedition.lcdui.Alert
setInputBufferSize(int) - Static method in class lejos.nxt.comm.BTConnection
  Set the size to be used for the input buffer.
setInputMode(int, int, int) - Method in class lejos.nxt.comm.NXTCommand
  Tells the NXT what type of sensor you are using and the mode to operate in.
setIOMode(int) - Method in class lejos.nxt.comm.BTConnection
  Set operating mode.
setIOMode(int) - Method in class lejos.nxt.comm.USBConnection
  Set the IO mode to be used for this connection.
setItemCommandListener(ItemCommandListener) - Method in class javax.microedition.lcdui.Item
setItems(String[]) - Method in class lejos.nxt.TextMenu
  set the array of items to be displayed
setItemStateListener(ItemStateListener) - Method in class javax.microedition.lcdui.Form
setKeyClickLength(int) - Static method in class lejos.nxt.Button
  Set the len used for key clicks
setKeyClickTone(int, int) - Static method in class lejos.nxt.Button
  Set the frequency used for a particular key.
setKeyClickVolume(int) - Static method in class lejos.nxt.Button
  Set the volume used for key clicks
setLabel(String) - Method in class javax.microedition.lcdui.Spacer
setListen(boolean) - Method in class lejos.rcxcomm.PacketHandler
  Set or unset the listen flag to keep a PC serial tower alive
setLow(int) - Method in class lejos.nxt.LightSensor
  set the normalized value corresponding to readValue() = 0
setMaxAngle(int) - Method in class lejos.nxt.LServo
  Set Maximum angle.
setMaxSize(int) - Method in class javax.microedition.lcdui.TextBox
setMaxValue(int) - Method in class javax.microedition.lcdui.Gauge
setMinAngle(int) - Method in class lejos.nxt.LServo
  Set Minimal angle.
setMinimumSize(int, int) - Method in class javax.microedition.lcdui.Spacer
setMode(int) - Method in interface lejos.nxt.BasicSensorPort
setMode(int) - Method in class lejos.nxt.remote.RemoteSensorPort
setMode(int) - Method in class lejos.nxt.SensorPort
  Sets mode compatible with Lego firmware.
setMotorPower(int, int) - Method in class lejos.nxt.RCXLink
setName(String) - Static method in class lejos.nxt.comm.USB
  Set the USB name.
setNextRecyclable(Recyclable) - Method in class lejos.util.AbstractRecyclable
  Stores a Recyclable object.
setNextRecyclable(Recyclable) - Method in interface lejos.util.Recyclable
  Stores a Recyclable object.
setOffset(int) - Method in class lejos.nxt.GyroSensor
  Set the offset
setOperatingMode(byte) - Static method in class lejos.nxt.comm.Bluetooth
  Set the operating mode
setOriginPoint(String, String) - Method in class lejos.devices.GPS
  Placeholder Idea: Set a latitude/longitude as origin, then it will return x, y coordinates (in CM or Inches).
setOut(PrintStream) - Static method in class java.lang.System
  Redirect System.out
setOutputBufferSize(int) - Static method in class lejos.nxt.comm.BTConnection
  Set the size to be used for the output buffer.
setOutputState(int, byte, int, int, int, int, int) - Method in class lejos.nxt.comm.NXTCommand
setPin(byte[]) - Static method in class lejos.nxt.comm.Bluetooth
  Set the pin to be used for pairing/connecting to the system
setPixel(int, int, int) - Method in class javax.microedition.lcdui.Graphics
  Using rgbColor as argument even though global, because when this setPixel() method is used later it will need color argument
setPixel(int, int, int) - Static method in class lejos.nxt.LCD
  Method to set a pixel to screen.
setPort(SensorPort) - Static method in class lejos.rcxcomm.LLC
  Set sensor port
setPort(SensorPort) - Static method in class lejos.rcxcomm.Serial
  Set the sensor port
setPosition(float, float, float) - Method in interface lejos.navigation.Navigator
  sets robot location (x,y) and direction angle
setPosition(float, float, float) - Method in class lejos.navigation.TachoNavigator
  sets robot location (x,y) and direction angle
setPower(int) - Method in class lejos.nxt.BasicMotor
  Sets power.
setPower(boolean) - Static method in class lejos.nxt.comm.Bluetooth
  Set the power to the module
setPower(int) - Method in class lejos.nxt.Motor
  sets motor power.
setPreferredSize(int, int) - Method in class javax.microedition.lcdui.Item
setPriority(int) - Method in class java.lang.Thread
  Set the priority of this thread.
setProperty(String, String) - Method in class java.util.Properties
setProperty(String, String) - Static method in class lejos.nxt.Settings
  Set a leJOS NXJ persistent setting.
setPWMMode(int) - Method in interface lejos.nxt.BasicMotorPort
setPWMMode(int) - Method in class lejos.nxt.MotorPort
setPWMMode(int) - Method in class lejos.nxt.RCXPlexedMotorPort
setPWMMode(int) - Method in class lejos.nxt.RCXRemoteMotorPort
setPWMMode(int) - Method in class lejos.nxt.remote.RemoteMotorPort
setRangeLong() - Method in class lejos.nxt.RCXLink
setRangeLong() - Static method in class lejos.rcxcomm.LLC
  Sets long range transmision.
setRangeLong() - Static method in class lejos.rcxcomm.Serial
  Set long range
setRangeShort() - Method in class lejos.nxt.RCXLink
setRangeShort() - Static method in class lejos.rcxcomm.LLC
  Sets short range transmision.
setRangeShort() - Static method in class lejos.rcxcomm.Serial
  Set short range
setRawMode() - Method in class lejos.nxt.RCXLink
setRCXRangeLong() - Method in class lejos.nxt.RCXLink
setRCXRangeShort() - Method in class lejos.nxt.RCXLink
setReadOnly() - Method in class java.io.File
setScrollWrap(boolean) - Method in class javax.microedition.lcdui.ChoiceGroup
setScrollWrap(boolean) - Method in class javax.microedition.lcdui.List
setSelectedFlags(boolean[]) - Method in interface javax.microedition.lcdui.Choice
setSelectedFlags(boolean[]) - Method in class javax.microedition.lcdui.ChoiceGroup
setSelectedFlags(boolean[]) - Method in class javax.microedition.lcdui.List
setSelectedIndex(int, boolean) - Method in interface javax.microedition.lcdui.Choice
setSelectedIndex(int, boolean) - Method in class javax.microedition.lcdui.ChoiceGroup
setSelectedIndex(int, boolean) - Method in class javax.microedition.lcdui.List
setSensorModule(byte) - Method in class lejos.nxt.OpticalDistanceSensor
  This only needs the be run if you are changing the sensor.
setSentence(String) - Method in class lejos.devices.NMEASentence
setSerialNo(String) - Static method in class lejos.nxt.comm.USB
  Set the USB serial number.
setSize(int) - Method in class java.util.Vector
setSpeed(int) - Method in interface lejos.navigation.Navigator
  sets the motor speed of the robot, in degrees/second.
setSpeed(int) - Method in class lejos.navigation.Pilot
  Sets speed of both motors, degrees/sec; also sets regulate speed true
setSpeed(int) - Method in class lejos.navigation.TachoNavigator
  sets the motor speed of the robot, in degrees/second.
setSpeed(int) - Method in class lejos.nxt.Motor
  Sets motor speed , in degrees per second; Up to 900 is possible with 8 volts.
setSpeed(int, int) - Method in class lejos.nxt.RCXMotorMultiplexer
setStatus(int) - Static method in class lejos.nxt.comm.Bluetooth
  Set the persistent status byte for the BC4 chip
setString(String) - Method in class javax.microedition.lcdui.Alert
setString(String) - Method in class javax.microedition.lcdui.Ticker
setStrokeStyle(int) - Method in class javax.microedition.lcdui.Graphics
setText(String) - Method in class javax.microedition.lcdui.StringItem
setText(String) - Method in class javax.microedition.lcdui.TextBox
setText(String) - Method in class javax.microedition.lcdui.TextField
setThrottle(int) - Method in class lejos.nxt.Poll
  Set a throttle on the regularity with which inputs are polled.
setTicker(Ticker) - Method in class javax.microedition.lcdui.Displayable
setTicker(int) - Method in class javax.microedition.lcdui.Displayable
setTimeout(int) - Method in class javax.microedition.lcdui.Alert
setTimeOut(int) - Method in class lejos.rcxcomm.RCXAbstractPort
  Setter for property timeOut.
Settings - Class in lejos.nxt
  leJOS NXJ persistent settings.
Settings() - Constructor for class lejos.nxt.Settings
setTitle(String) - Method in class javax.microedition.lcdui.Displayable
setTitle(String) - Method in class lejos.nxt.TextMenu
  set menu title.
setType(int) - Method in class javax.microedition.lcdui.Alert
setType(int) - Method in interface lejos.nxt.BasicSensorPort
setType(int) - Method in class lejos.nxt.remote.RemoteSensorPort
setType(int) - Method in class lejos.nxt.SensorPort
  Sets type compatible with Lego firmware.
setTypeAndMode(int, int) - Method in interface lejos.nxt.BasicSensorPort
setTypeAndMode(int, int) - Method in class lejos.nxt.remote.RemoteSensorPort
setTypeAndMode(int, int) - Method in class lejos.nxt.SensorPort
  Sets type and mode compatible with Lego firmware.
setValue(int) - Method in class javax.microedition.lcdui.Gauge
setVerify(boolean) - Method in class lejos.nxt.comm.NXTCommand
setVisibility(byte) - Static method in class lejos.nxt.comm.Bluetooth
  Set Bluetooth visibility (discoverable) on or off for the local device
setVoltPointLSB(int, int) - Method in class lejos.nxt.OpticalDistanceSensor
  Sets millivolts value of the specific index for the LSB.
setVoltPointMSB(int, int) - Method in class lejos.nxt.OpticalDistanceSensor
  Sets millivolts value of the specific index for the MSB.
setVolume(int) - Static method in class lejos.nxt.Sound
  Set the master volume level
SHIFT_DOWN_MASK - Static variable in class lejos.devices.KeyEvent
SHIFT_MASK - Static variable in class lejos.devices.KeyEvent
SHORT_RANGE_IR - Static variable in class lejos.nxt.RCXLink
show(boolean) - Method in class javax.microedition.lcdui.Display
  Start displaying the installed menus
shown - Variable in class javax.microedition.lcdui.Displayable
showNotify() - Method in class javax.microedition.lcdui.Alert
showNotify() - Method in class javax.microedition.lcdui.Item
showNotify() - Method in class javax.microedition.lcdui.Screen
shutDown() - Static method in class java.lang.System
  Shutdown the brick
shutdown() - Method in class lejos.nxt.Motor
  causes run() to exit
signalStrength - Variable in class lejos.nxt.comm.DeviceInfo
sin(double) - Static method in class java.lang.Math
  Sine function using a Chebyshev-Pade approximation.
size() - Method in class java.io.DataOutputStream
  Returns the current value of the counter `written`, the number of bytes written to this data output stream so far.
size() - Method in class java.util.ArrayList
size() - Method in class java.util.Vector
size() - Method in interface javax.microedition.lcdui.Choice
size() - Method in class javax.microedition.lcdui.ChoiceGroup
size() - Method in class javax.microedition.lcdui.Form
size() - Method in class javax.microedition.lcdui.List
sizeChanged(int, int) - Method in class javax.microedition.lcdui.Displayable
skip(long) - Method in class java.io.InputStream
  Skips over and discards `n` bytes of data from this input stream.
sleep(long) - Static method in class java.lang.Thread
sleepUntil - Variable in class lejos.nxt.debug.DebugThread
SLOPEMASK - Static variable in interface lejos.nxt.comm.NXTProtocol
smoothAcceleration(boolean) - Method in class lejos.nxt.Motor
  enables smoother acceleration.
SOLID - Static variable in class javax.microedition.lcdui.Graphics
Sound - Class in lejos.nxt
  NXT sound routines.
SOUND_DB - Static variable in interface lejos.nxt.comm.NXTProtocol
SOUND_DBA - Static variable in interface lejos.nxt.comm.NXTProtocol
SoundSensor - Class in lejos.nxt
  Abstraction for a NXT sound sensor.
SoundSensor(ADSensorPort) - Constructor for class lejos.nxt.SoundSensor
  Create a sound sensor object attached to the specified port.
SoundSensor(SensorPort, boolean) - Constructor for class lejos.nxt.SoundSensor
  Create a sound sensor object attached to the specified port, and sets DB or DBA mode.
Spacer - Class in javax.microedition.lcdui
Spacer(int, int) - Constructor for class javax.microedition.lcdui.Spacer
sqrt(double) - Static method in class java.lang.Math
  Square root - thanks to Paulo Costa for donating the code.
Stack - Class in java.util
  A LIFO stack of objects.
Stack() - Constructor for class java.util.Stack
  creates a new Stack instance
stackArray - Variable in class lejos.nxt.debug.DebugThread
stackFrameArray - Variable in class lejos.nxt.debug.DebugThread
stackFrameArraySize - Variable in class lejos.nxt.debug.DebugThread
StackOverflowError - Error in java.lang
StackOverflowError() - Constructor for error java.lang.StackOverflowError
start() - Method in class java.lang.Thread
start() - Method in class lejos.subsumption.Arbitrator
  This method starts the arbitration of Behaviors.
start() - Method in class lejos.subsumption.Arbitrator2
  This method starts the arbitration of Behaviors.
  It iterates over the array of behaviors, highest priority first.
start() - Method in class lejos.util.Timer
  Starts the timer, telling it to send timeOut() methods to the TimerListener.
START_PROGRAM - Static variable in class lejos.nxt.comm.LCP
START_PROGRAM - Static variable in interface lejos.nxt.comm.NXTProtocol
startCalibration() - Method in class lejos.nxt.CompassSensor
  Starts calibration for Mindsensors.com compass.
startMotor(int) - Method in class lejos.nxt.RCXLink
state - Variable in class lejos.nxt.debug.DebugThread
stateChanged(SensorPort, int, int) - Method in interface lejos.nxt.SensorPortListener
  Called when the raw value of the sensor attached to the port changes.
status - Variable in class lejos.nxt.comm.DeviceInfo
status - Variable in class lejos.nxt.comm.FirmwareInfo
steer(int) - Method in class lejos.navigation.Pilot
  Moves the NXT robot in a circular path at a specific turn rate.
steer(int, int) - Method in class lejos.navigation.Pilot
  Moves the NXT robot in a circular path through a specific angle;
  Negative turnRate means center of turning circle is on right side of the robot;
  Range of turnRate values : -200 : 200 ; Robot will stop when total rotation equals angle.
steer(int, int, boolean) - Method in class lejos.navigation.Pilot
  Moves the NXT robot in a circular path, and stops when the direction it is facing has changed by a specific angle;
  Returns immediately if immediateReturn is true.
STOP - Static variable in class javax.microedition.lcdui.Command
stop() - Method in class lejos.navigation.CompassNavigator
  Halts the NXT robot and calculates new x, y coordinates.
stop() - Method in interface lejos.navigation.Navigator
  Halts the NXT robot and calculates new x, y coordinates.
stop() - Method in class lejos.navigation.Pilot
  Stops the NXT robot
stop() - Method in class lejos.navigation.TachoNavigator
  Halts the NXT robot and calculates new x, y coordinates.
stop() - Method in class lejos.nxt.BasicMotor
  Causes motor to stop, pretty much instantaneously.
stop() - Method in class lejos.nxt.Motor
  Causes motor to stop, pretty much instantaneously.
stop() - Method in class lejos.util.Timer
  Stops the timer.
STOP_ALL_PROGRAMS - Static variable in class lejos.nxt.RCXLink
STOP_PROGRAM - Static variable in class lejos.nxt.comm.LCP
STOP_PROGRAM - Static variable in interface lejos.nxt.comm.NXTProtocol
STOP_SOUND_PLAYBACK - Static variable in class lejos.nxt.comm.LCP
STOP_SOUND_PLAYBACK - Static variable in interface lejos.nxt.comm.NXTProtocol
stopAllPrograms() - Method in class lejos.nxt.RCXLink
stopCalibration() - Method in class lejos.nxt.CompassSensor
  Ends calibration sequence.
StopException - Exception in lejos.subsumption
  This exception indicates that an activity should stop.
StopException() - Constructor for exception lejos.subsumption.StopException
stopMotor(int) - Method in class lejos.nxt.RCXLink
store(OutputStream, String) - Method in class java.util.Properties
STR_CONFIRM - Static variable in class javax.microedition.lcdui.Alert
STR_DENY - Static variable in class javax.microedition.lcdui.Alert
StreamConnection - Interface in javax.microedition.io
  This interface defines the capabilities that a stream connection must have.
String - Class in java.lang
  An immutable string of characters.
String(char[], int, int) - Constructor for class java.lang.String
  Create a String from a character array.
String(char[]) - Constructor for class java.lang.String
StringBuffer - Class in java.lang
  An expandable string of characters.
StringBuffer() - Constructor for class java.lang.StringBuffer
StringBuffer(String) - Constructor for class java.lang.StringBuffer
StringBuffer(int) - Constructor for class java.lang.StringBuffer
StringIndexOutOfBoundsException - Exception in java.lang
StringIndexOutOfBoundsException() - Constructor for exception java.lang.StringIndexOutOfBoundsException
StringItem - Class in javax.microedition.lcdui
StringItem(String, String) - Constructor for class javax.microedition.lcdui.StringItem
stringWidth(String) - Method in class javax.microedition.lcdui.Font
substring(int) - Method in class java.lang.String
substring(int, int) - Method in class java.lang.String
substring(int) - Method in class java.lang.StringBuffer
substring(int, int) - Method in class java.lang.StringBuffer
suppress() - Method in interface lejos.subsumption.Behavior
  The code in suppress() should stop the current behavior.
suspendThread(Object) - Static method in class lejos.nxt.debug.DebugThreads
  Suspend a thread.
SWITCH - Static variable in interface lejos.nxt.comm.NXTProtocol
System - Class in java.lang
  System utilities.
SYSTEM_COMMAND_NOREPLY - Static variable in class lejos.nxt.comm.LCP
SYSTEM_COMMAND_NOREPLY - Static variable in interface lejos.nxt.comm.NXTProtocol
SYSTEM_COMMAND_REPLY - Static variable in class lejos.nxt.comm.LCP
SYSTEM_COMMAND_REPLY - Static variable in interface lejos.nxt.comm.NXTProtocol
SystemSettings - Class in lejos.nxt
  This class is designed for use by other lejos classes to read persistent settings.
SystemSettings() - Constructor for class lejos.nxt.SystemSettings
systemSound(boolean, int) - Static method in class lejos.nxt.Sound

## T

Tachometer - Interface in lejos.nxt
  Abstraction for the tachometer built into NXT motors.
TachoMotorPort - Interface in lejos.nxt
  Abstraction for a motor port that supports NXT motors with tachometers.
TachoNavigator - Class in lejos.navigation
  The TachoNavigator class can keep track of the robot position and the direction angle it faces; It uses a _pilot object to control NXT robot movements.
  The position and direction angle values are updated automatically when the movement command returns after the movement is complete and and after stop() command is issued.
TachoNavigator(float, float, Motor, Motor, boolean) - Constructor for class lejos.navigation.TachoNavigator
  Allocates a Navigator object and initializes it with the proper motors.
TachoNavigator(float, float, Motor, Motor) - Constructor for class lejos.navigation.TachoNavigator
TachoNavigator(Pilot) - Constructor for class lejos.navigation.TachoNavigator
TachoNavigator(float, float) - Constructor for class lejos.navigation.TachoNavigator
  Overloaded TachoNavigator constructor that assumes the following:
  Left motor = Motor.A Right motor = Motor.C
takeControl() - Method in interface lejos.subsumption.Behavior
  Returns a boolean to indicate if this behavior should seize control of the robot.
tan(double) - Static method in class java.lang.Math
  Tangent function.
TEMPERATURE - Static variable in interface lejos.nxt.comm.NXTProtocol
test(String, boolean) - Static method in class lejos.util.Assertion
testEQ(String, int, int) - Static method in class lejos.util.Assertion
  If the actual value is not equal to the expected value, throw an Error.
TEXT_WRAP_DEFAULT - Static variable in interface javax.microedition.lcdui.Choice
TEXT_WRAP_OFF - Static variable in interface javax.microedition.lcdui.Choice
TEXT_WRAP_ON - Static variable in interface javax.microedition.lcdui.Choice
TextBox - Class in javax.microedition.lcdui
TextBox(String, String, int, int) - Constructor for class javax.microedition.lcdui.TextBox
TextField - Class in javax.microedition.lcdui
TextField(String, String, int, int) - Constructor for class javax.microedition.lcdui.TextField
TextMenu - Class in lejos.nxt
  Displays a list of items.
TextMenu(String[]) - Constructor for class lejos.nxt.TextMenu
  This constructor sets location of the top row of the item list to row 0 of the display.
TextMenu(String[], int) - Constructor for class lejos.nxt.TextMenu
  This constructor allows specification location of the item list .
TextMenu(String[], int, String) - Constructor for class lejos.nxt.TextMenu
  This constuctor allows the specfication of a title (of up to 16 characters) and the location of the item list
  The title is displayed in the row above the item list.
Thread - Class in java.lang
  A thread of execution (or task).
Thread() - Constructor for class java.lang.Thread
Thread(String) - Constructor for class java.lang.Thread
thread - Variable in class lejos.nxt.debug.DebugInterface
ThreadDeath - Error in java.lang
  This is a special Error, which isn't reported by the VM if uncaught.
ThreadDeath() - Constructor for error java.lang.ThreadDeath
threadId - Variable in class lejos.nxt.debug.DebugThread
threads - Variable in class lejos.nxt.debug.DebugInterface
Throwable - Class in java.lang
  All exceptions and errors extend this class.
Throwable() - Constructor for class java.lang.Throwable
Throwable(String) - Constructor for class java.lang.Throwable
ticker - Variable in class javax.microedition.lcdui.Displayable
Ticker - Class in javax.microedition.lcdui
Ticker(String) - Constructor for class javax.microedition.lcdui.Ticker
TiltSensor - Class in lejos.nxt
  Abstraction for a Mindsensors acceleration (tilt) sensor.
TiltSensor(I2CPort) - Constructor for class lejos.nxt.TiltSensor
timedOut() - Method in interface lejos.util.TimerListener
  Called every time the Timer fires.
Timer - Class in lejos.util
  Timer object, with some similar functionality to java.Swing.Timer.
Timer(int, TimerListener) - Constructor for class lejos.util.Timer
  Create a Timer object.
TimerListener - Interface in lejos.util
  Listener used with Timer.
title - Variable in class javax.microedition.lcdui.Displayable
toArray() - Method in class java.util.Vector
toCharArray() - Method in class java.lang.String
  Converts the String into an array of characters
toDegrees(double) - Static method in class java.lang.Math
  Converts radians to degrees.
toRadians(double) - Static method in class java.lang.Math
  Converts degrees to radians.
toString(float) - Method in class java.lang.Float
toString(int) - Static method in class java.lang.Integer
  Returns a new String object representing the specified integer.
toString() - Method in class java.lang.Integer
  Returns a String object representing this Integer's value.
toString() - Method in class java.lang.Object
  Returns the empty string.
toString() - Method in class java.lang.String
  Returns itself.
toString() - Method in class java.lang.StringBuffer
toString() - Method in class java.lang.Throwable
totalFiles - Static variable in class java.io.File
  The total number of files in the file system.
totalMemory() - Method in class java.lang.Runtime
  Return the size of the heap in bytes.
toThread(DebugThread) - Static method in class lejos.nxt.debug.DebugThreads
  Convert a DebugThread into a Thread to allow access to the normal Thread interface.
TouchSensor - Class in lejos.nxt
  Abstraction for a NXT touch sensor.
TouchSensor(ADSensorPort) - Constructor for class lejos.nxt.TouchSensor
  Create a touch sensor object attached to the specified port.
TRANSITIONCNTMODE - Static variable in interface lejos.nxt.comm.NXTProtocol
transmit() - Method in class lejos.util.Datalogger
  transmit the stored values to the PC via USB or bluetooth;
  Displays " ESC for BT".
transmit(boolean) - Method in class lejos.util.Datalogger
  obsolete - older version API.
travel(float, boolean) - Method in class lejos.navigation.CompassNavigator
  Moves the NXT robot a specific distance.
travel(float, boolean) - Method in class lejos.navigation.CompassPilot
  Moves the NXT robot a specific distance.
travel(float) - Method in class lejos.navigation.CompassPilot
  Moves the NXT robot a specific distance;
  A positive distance causes forward motion; negative distance moves backward.
travel(float) - Method in interface lejos.navigation.Navigator
  Moves the NXT robot a specific distance.
travel(float, boolean) - Method in interface lejos.navigation.Navigator
  Moves the NXT robot a specific distance.
travel(float) - Method in class lejos.navigation.Pilot
  Moves the NXT robot a specific distance;
  A positive distance causes forward motion; negative distance moves backward.
travel(float, boolean) - Method in class lejos.navigation.Pilot
  Moves the NXT robot a specific distance; if immediateReturn is true, method returns immediately.
travel(float) - Method in class lejos.navigation.TachoNavigator
  Moves the NXT robot a specific distance.
travel(float, boolean) - Method in class lejos.navigation.TachoNavigator
  Moves the NXT robot a specific distance.
trimToSize() - Method in class java.util.Vector
turn(float) - Method in class lejos.navigation.TachoNavigator
  Moves the NXT robot in a circular path with a specified radius.
turn(float, int) - Method in class lejos.navigation.TachoNavigator
  Moves the NXT robot in a circular path through a specific angle; If waitForCompletion is true, returns when angle is reached.
turn(float, int, boolean) - Method in class lejos.navigation.TachoNavigator
  Moves the NXT robot in a circular path through a specific angle; If waitForCompletion is true, returns when angle is reached.
twoBeeps() - Static method in class lejos.nxt.Sound
  Beeps twice.
typ - Variable in class lejos.nxt.debug.DebugInterface
TYPE_ANGLE - Static variable in interface lejos.nxt.SensorConstants
TYPE_CUSTOM - Static variable in interface lejos.nxt.SensorConstants
TYPE_LIGHT_ACTIVE - Static variable in interface lejos.nxt.SensorConstants
TYPE_LIGHT_INACTIVE - Static variable in interface lejos.nxt.SensorConstants
TYPE_LOWSPEED - Static variable in interface lejos.nxt.SensorConstants
TYPE_LOWSPEED_9V - Static variable in interface lejos.nxt.SensorConstants
TYPE_NO_SENSOR - Static variable in interface lejos.nxt.SensorConstants
TYPE_REFLECTION - Static variable in interface lejos.nxt.SensorConstants
TYPE_SOUND_DB - Static variable in interface lejos.nxt.SensorConstants
TYPE_SOUND_DBA - Static variable in interface lejos.nxt.SensorConstants
TYPE_SWITCH - Static variable in interface lejos.nxt.SensorConstants
TYPE_TEMPERATURE - Static variable in interface lejos.nxt.SensorConstants

## U

UltrasonicSensor - Class in lejos.nxt
  Abstraction for a NXT Ultrasonic Sensor.
UltrasonicSensor(I2CPort) - Constructor for class lejos.nxt.UltrasonicSensor
UNDEFINED_ERROR - Static variable in class lejos.nxt.comm.LCP
UNEDITABLE - Static variable in class javax.microedition.lcdui.TextField
updateHeading() - Method in class lejos.navigation.CompassNavigator
  Direction of robot facing is set equal to the current compass reading
updatePosition() - Method in interface lejos.navigation.Navigator
  Updates robot location (x,y) and direction angle.
updatePosition() - Method in class lejos.navigation.TachoNavigator
  Updates robot location (x,y) and direction angle.
updateXY() - Method in class lejos.navigation.CompassNavigator
  Updates x,y coordinates; assumes last compass angle was constant during travel
URL - Static variable in class javax.microedition.lcdui.TextField
USB - Class in lejos.nxt.comm
  Low-level USB access.
USBConnection - Class in lejos.nxt.comm
  Represents a USB Stream Connection.
USBConnection(int) - Constructor for class lejos.nxt.comm.USBConnection
usbDisable() - Static method in class lejos.nxt.comm.USB
usbEnable(int) - Static method in class lejos.nxt.comm.USB
usbRead(byte[], int, int) - Static method in class lejos.nxt.comm.USB
usbReset() - Static method in class lejos.nxt.comm.USB
usbSetName(String) - Static method in class lejos.nxt.comm.USB
usbSetSerialNo(String) - Static method in class lejos.nxt.comm.USB
usbStatus() - Static method in class lejos.nxt.comm.USB
usbWrite(byte[], int, int) - Static method in class lejos.nxt.comm.USB

## V

valid - Variable in class lejos.nxt.comm.InputValues
  NXT indicates if it thinks the data is valid
valueOf(Object) - Static method in class java.lang.String
  Converts an Object to a String
Vector - Class in java.util
  A dynamic array.
Vector(int, int) - Constructor for class java.util.Vector
Vector(int) - Constructor for class java.util.Vector
Vector() - Constructor for class java.util.Vector
VK_DOWN - Static variable in class lejos.devices.KeyEvent
  Keycode constant for the down arrow key
VK_LEFT - Static variable in class lejos.devices.KeyEvent
  Keycode constant for the left arrow key
VK_RIGHT - Static variable in class lejos.devices.KeyEvent
  Keycode constant for the right arrow key
VK_UP - Static variable in class lejos.devices.KeyEvent
  Keycode constant for the up arrow key
VOL_MAX - Static variable in class lejos.nxt.Sound
VOL_SETTING - Static variable in class lejos.nxt.Button
VOL_SETTING - Static variable in class lejos.nxt.Sound

## W

wait() - Method in class java.lang.Object
  This is the same as calling wait(0).
wait(long) - Method in class java.lang.Object
  Wait until notified.
waitEvent(int) - Method in class lejos.nxt.debug.DebugInterface
  Wait for a debug event from the kernel
waitForConnection(int, byte[]) - Static method in class lejos.nxt.comm.Bluetooth
  Wait for a remote device to connect.
waitForConnection() - Static method in class lejos.nxt.comm.Bluetooth
  Uses the current default PIN
waitForConnection(int, int) - Static method in class lejos.nxt.comm.USB
  Wait for the USB interface to become available and for a PC side program to attach to it.
waitForConnection() - Static method in class lejos.nxt.comm.USB
  Wait for ever for the USB connection to become available.
waitForDisconnect(int) - Static method in class lejos.nxt.comm.USB
  Wait for the remote side of the connection to close down.
waitForPress() - Static method in class lejos.nxt.Button
  wait for some button to be pressed
waitForPressAndRelease() - Method in class lejos.nxt.Button
  Wait until the button is released.
waitingOn - Variable in class lejos.nxt.debug.DebugThread
waitTillSent() - Static method in class lejos.rcxcomm.Serial
  Wait until the packet is sent - null
wantControl(Behavior2) - Method in class lejos.subsumption.Arbitrator2
  If the behavior that sent this message has higher priority than the active behavior, the active behavior is suppressed.
WHITE - Static variable in class javax.microedition.lcdui.Graphics
width - Variable in class java.awt.Rectangle
width - Variable in class javax.microedition.lcdui.Displayable
write(String) - Method in class java.io.BufferedWriter
  Currently does not translate ASCII escape sequences like \n into the appropriate character.
write(int) - Method in class java.io.DataOutputStream
  Writes the specified byte (the low eight bits of the argument `b`) to the underlying output stream.
write(byte[], int, int) - Method in class java.io.DataOutputStream
  Writes `len` bytes from the specified byte array starting at offset `off` to the underlying output stream.
write(int) - Method in class java.io.FileOutputStream
  write 1 byte to the file; if necessary, file will be moved become the last file in memory
write(int) - Method in class java.io.OutputStream
  Writes the specified byte to this output stream.
write(byte[]) - Method in class java.io.OutputStream
  Writes `b.length` bytes from the specified byte array to this output stream.
write(byte[], int, int) - Method in class java.io.OutputStream
  Writes `len` bytes from the specified byte array starting at offset `off` to this output stream.
write(int) - Method in class java.io.PrintStream
write(byte[], int, boolean) - Method in class lejos.nxt.comm.BTConnection
  Attempt to write bytes to the Bluetooth connection.
write(byte[], int) - Method in class lejos.nxt.comm.BTConnection
WRITE - Static variable in class lejos.nxt.comm.LCP
write(byte[], int) - Method in interface lejos.nxt.comm.NXTConnection
write(byte[], int, boolean) - Method in interface lejos.nxt.comm.NXTConnection
write(int) - Method in class lejos.nxt.comm.NXTOutputStream
WRITE - Static variable in interface lejos.nxt.comm.NXTProtocol
write(byte[], int, boolean) - Method in class lejos.nxt.comm.USBConnection
  Write the requested bytes to the USB connection
write(byte[], int) - Method in class lejos.nxt.comm.USBConnection
write(int) - Method in class lejos.nxt.LCDOutputStream
writeBoolean(boolean) - Method in class java.io.DataOutputStream
  Writes a `boolean` to the underlying output stream as a 1-byte value.
writeByte(int) - Method in class java.io.DataOutputStream
  Writes out a `byte` to the underlying output stream as a 1-byte value.
writeChar(int) - Method in class java.io.DataOutputStream
  Writes a `char` to the underlying output stream as a 2-byte value, high byte first.
writeChars(String) - Method in class java.io.DataOutputStream
writeFloat(float) - Method in class java.io.DataOutputStream
  Converts the float argument to an `int` using the `floatToIntBits` method in class `Float`, and then writes that `int` value to the underlying output stream as a 4-byte quantity, high byte first.
writeInt(int) - Method in class java.io.DataOutputStream
  Writes an `int` to the underlying output stream as four bytes, high byte first.
writeLog(float) - Method in class lejos.util.Datalogger
  write a float value to the log
writePage(byte[], int) - Static method in class lejos.nxt.Flash
writeShort(int) - Method in class java.io.DataOutputStream
  Writes a `short` to the underlying output stream as two bytes, high byte first.
written - Variable in class java.io.DataOutputStream

## X

x - Variable in class java.awt.Rectangle
XYLOPHONE - Static variable in class lejos.nxt.Sound

## Y

y - Variable in class java.awt.Rectangle
yield() - Static method in class java.lang.Thread

## _

_degPerDistance - Variable in class lejos.navigation.Pilot
  motor degrees per unit of travel
_heading - Variable in class lejos.navigation.TachoNavigator
_left - Variable in class lejos.navigation.Pilot
  left motor
_left0 - Variable in class lejos.navigation.TachoNavigator
_leftCount - Variable in class lejos.util.ButtonCounter
  Output only not used in calculations; use after count() returns;
_pilot - Variable in class lejos.navigation.TachoNavigator
_port - Variable in class lejos.nxt.Motor
_rampUp - Variable in class lejos.nxt.Motor
  set by smoothAcceleration, forward(),backward(), setSpeed().
_right - Variable in class lejos.navigation.Pilot
  right motor
_right0 - Variable in class lejos.navigation.TachoNavigator
_rightCount - Variable in class lejos.util.ButtonCounter
  Output only not used in calculations ; use this value after count() returns;
_speed - Variable in class lejos.navigation.Pilot
  motor speed degrees per second.
_trackWidth - Variable in class lejos.navigation.Pilot
  distance between wheels - used in steer()
_wheelDiameter - Variable in class lejos.navigation.Pilot
  diameter of tires

A B C D E F G H I J K L M N O P Q R S T U V W X Y _

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES