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

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

## A

A - Static variable in class lejos.nxt.Motor
  Motor A.
A - Static variable in class lejos.nxt.MotorPort
  MotorPort A.
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
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 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.
addButtonListener(ButtonListener) - Method in class lejos.nxt.Button
  Adds a listener of button events.
addElement(Object) - Method in class java.util.Vector
addSensorPortListener(SensorPortListener) - Method in class lejos.nxt.SensorPort
  Adds a port listener.
ALL_BUTTONS - Static variable in class lejos.nxt.Poll
ALL_SENSORS - Static variable in class lejos.nxt.Poll
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.
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)
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
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.
ArithmeticException - Exception in java.lang
ArithmeticException() - Constructor for exception java.lang.ArithmeticException
ArrayIndexOutOfBoundsException - Exception in java.lang
ArrayIndexOutOfBoundsException() - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
ArrayRecycler - Class in lejos.util
  An array recycler for Object arrays.
ArrayRecycler() - Constructor for class lejos.util.ArrayRecycler
  Constructs a recycler.
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.
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.

## B

B - Static variable in class lejos.nxt.Motor
  Motor B.
B - Static variable in class lejos.nxt.MotorPort
  MotorPort B.
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.
Battery - Class in lejos.nxt
  Provides access to Battery.
beep() - Static method in class lejos.nxt.Sound
  Beeps once - not yet implemented.
beepSequence() - Static method in class lejos.nxt.Sound
  Downward tones - not yet implemented.
Behavior - Interface in lejos.subsumption
  The Behavior interface represents an object embodying a specific behavior belonging to a robot.
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
  Support for Bluetooth communications.
BTConnection - Class in lejos.nxt.comm
  Represents a Bluetooth Stream Connection.
btGetCmdMode() - Static method in class lejos.nxt.comm.Bluetooth
  Low-level nethod to get the BC4 chip mode - does not work.
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
btSetCmdMode(int) - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to switch BC4 chip between command and data (stream) mode.
btStartADConverter() - Static method in class lejos.nxt.comm.Bluetooth
  Low-level method to start ADC converter - does not wok.
Button - Class in lejos.nxt
  Abstraction for an NXT button.
BUTTON_MASK_SHIFT - Static variable in class lejos.nxt.Poll
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 - not yet implemented.

## C

C - Static variable in class lejos.nxt.Motor
  Motor C.
C - Static variable in class lejos.nxt.MotorPort
  MotorPort C.
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
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.
capacity() - Method in class java.util.Vector
capacityIncrement - Variable in class java.util.Vector
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.
charAt(int) - Method in class java.lang.String
  Return the character at the given index
charAt(int) - Method in class java.lang.StringBuffer
Class - Class in java.lang
  Not functional.
Class() - Constructor for class java.lang.Class
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(int) - Method in class java.util.BitSet
clear() - Method in class java.util.Vector
clear() - Method in class javax.microedition.lcdui.Graphics
clear() - Static method in class lejos.nxt.LCD
  Clear the display.
Cloneable - Interface in java.lang
  This interface is not functional.
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.StreamConnection
  Close the stream connection
close() - Method in class lejos.nxt.comm.BTConnection
ColorSensor - Class in lejos.nxt
  HiTechnic color sensor.
  www.hitechnic.com
ColorSensor(I2CPort) - Constructor for class lejos.nxt.ColorSensor
CompassSensor - Class in lejos.nxt
  Abstraction for a HiTechnic or Mindsensors compass.
CompassSensor(I2CPort) - Constructor for class lejos.nxt.CompassSensor
controlMotor(int, int) - Method in class lejos.nxt.MotorPort
  Low-level method to control a motor.
cos(double) - Static method in class java.lang.Math
  Cosine function using a Chebyshev-Pade approximation.
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.
currentThread() - Static method in class java.lang.Thread
currentTimeMillis() - Static method in class java.lang.System
  Current time expressed in milliseconds.

## D

DataInputStream - Class in java.io
DataInputStream(InputStream) - Constructor for class java.io.DataInputStream
DataOutputStream - Class in java.io
DataOutputStream(OutputStream) - Constructor for class java.io.DataOutputStream
delete(int, int) - Method in class java.lang.StringBuffer
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) .
drawArc(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
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) - Method in class javax.microedition.lcdui.Graphics
drawString(String, int, int) - Static method in class lejos.nxt.LCD
  Display a string on the LCD at specified x,y co-ordinate.

## E

E - Static variable in class java.lang.Math
elementAt(int) - Method in class java.util.Vector
elementCount - Variable in class java.util.Vector
elementData - Variable in class java.util.Vector
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) - 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
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
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
Exception - Exception in java.lang
Exception() - Constructor for exception java.lang.Exception
Exception(String) - Constructor for exception java.lang.Exception
exit(int) - Static method in class java.lang.System
  Terminate the application.
exp(double) - Static method in class java.lang.Math
  Exponential function.

## F

fillRect(int, int, int, int) - Method in class javax.microedition.lcdui.Graphics
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.
flush() - Method in class java.io.DataOutputStream
  Flushes this data output stream.
flush() - Method in class java.io.OutputStream
  Flushes this output stream and forces any buffered output bytes to be written out.
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.
freeMemory() - Method in class java.lang.Runtime
  Return the amount of free memory.on the heap

## G

get(int) - Method in class java.util.BitSet
get(Object) - Method in class java.util.Hashtable
get(int) - Method in class lejos.util.RecyclableArray
getActualSpeed() - Method in class lejos.nxt.Motor
  returns actualSpeed degrees per second, calculated every 100 ms; negative value means motor is rotating backward
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.
getBlue() - Method in class lejos.nxt.ColorSensor
  Returns the blue saturation of the color.
getCharacters(String) - Static method in class java.lang.StringUtils
  Return the character array corresponding to the String without copying it.
getChars() - Method in class java.lang.StringBuffer
  Retrieves the contents of the StringBuffer in the form of an array of characters.
getClass() - Method in class java.lang.Object
  Returns `null`.
getColorNumber() - Method in class lejos.nxt.ColorSensor
  Returns the color index detected by the sensor.
getData(int, byte[], int) - Method in class lejos.nxt.I2CSensor
  Executes an I2C read transaction and waits for the result.
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.
getDistance() - Method in class lejos.nxt.UltrasonicSensor
  Return distance of object.
getGreen() - Method in class lejos.nxt.ColorSensor
  Returns the green saturation of the color.
getId() - Method in class lejos.nxt.Button
  Return the ID of the button.
getId() - Method in class lejos.nxt.SensorPort
  Return the ID of the port.
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;
getLength() - Method in class lejos.util.RecyclableArray
getLimitAngle() - Method in class lejos.nxt.Motor
  Return the angle that a Motor is rotating to.
getMessage() - Method in class java.lang.Throwable
getMode() - Method in class lejos.nxt.Motor
getMode() - Method in class lejos.nxt.SensorPort
  Returns mode compatible with Lego firmware.
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`.
getPower() - Method in class lejos.nxt.Motor
getPriority() - Method in class java.lang.Thread
getProductID() - Method in class lejos.nxt.I2CSensor
  Return the sensor product identifier.
getRed() - Method in class lejos.nxt.ColorSensor
  Returns the red saturation of the color.
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;
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.
getSensorType() - Method in class lejos.nxt.I2CSensor
  Return the sensor type.
getSpeed() - Method in class lejos.nxt.Motor
  Returns the current motor speed in degrees per second
getStopAngle() - Method in class lejos.nxt.Motor
getTachoCount() - Method in class lejos.nxt.Motor
  Returns the tachometer count.
getTachoCount() - Method in class lejos.nxt.MotorPort
  returns tachometer count
getTachoCountById(int) - Static method in class lejos.nxt.MotorPort
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 class lejos.nxt.SensorPort
  Returns type compatible with Lego firmware.
getVersion() - Method in class lejos.nxt.I2CSensor
  Return the sensor version number.
getVoltage() - Static method in class lejos.nxt.Battery
  Returns the battery voltage in volts.
getVoltageMilliVolt() - Static method in class lejos.nxt.Battery
  Returns the battery voltage in millivolts.
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.
getXTilt() - Method in class lejos.nxt.TiltSensor
  Returns X tilt value.
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.
getYTilt() - Method in class lejos.nxt.TiltSensor
  Returns Y tilt value.
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.
Graphics - Class in javax.microedition.lcdui
  Preliminary Graphics class for LCD Screen
Graphics() - Constructor for class javax.microedition.lcdui.Graphics

## H

hashCode() - Method in class java.lang.Object
Hashtable - Class in java.util
  Maps keys to objects.
Hashtable() - Constructor for class java.util.Hashtable

## I

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 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 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.
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 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
in - Variable in class java.io.DataInputStream
indexOf(Object) - Method in class java.util.Vector
indexOf(Object, int) - Method in class java.util.Vector
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
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
insertElementAt(Object, int) - Method in class java.util.Vector
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.
interrupt() - Method in class java.lang.Thread
  Set the interrupted flag.
interrupted() - Static method in class java.lang.Thread
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.
isAlive() - Method in class java.lang.Thread
isDaemon() - Method in class java.lang.Thread
  Set the daemon flag.
isEmpty() - Method in class java.util.Vector
isInterrupted() - Method in class java.lang.Thread
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.Motor
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.
isRotating() - Method in class lejos.nxt.Motor
  returns true when motor is rotating towarad a specified angle
iWantToRun() - Method in class lejos.subsumption.Activity
  Call this if you want this activity to run.

## J

java.io - package java.io
  Input/Output support
java.lang - package java.lang
  Core Java classes
java.util - package java.util
  Utilities
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

## L

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
  LCD routines.
LCP - Class in lejos.nxt.comm
  Implements the Lego Communication Protocol.
LEFT - Static variable in class lejos.nxt.Button
  The Left button.
LEFT_MASK - Static variable in class lejos.nxt.Poll
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.subsumption - package lejos.subsumption
  Support for subsumption architecture.
lejos.util - package lejos.util
  More utility classes
length() - Method in class java.lang.String
  Return the length of the String in characters
length() - Method in class java.lang.StringBuffer
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.
ListenerCaller - Interface in lejos.nxt
  Interface for calling calling lejos listeners.
log(double) - Static method in class java.lang.Math
  Natural log function.

## M

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_PRIORITY - Static variable in class java.lang.Thread
  The maximum priority that a thread can have.
MAX_VALUE - Static variable in class java.lang.Integer
  The largest value of type `int`.
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_VALUE - Static variable in class java.lang.Integer
  The smallest value of type `int`.
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
monitor - Static variable in class lejos.subsumption.ActivityBase
Motor - Class in lejos.nxt
  Abstraction for a NXT motor.
Motor(MotorPort) - Constructor for class lejos.nxt.Motor
MotorPort - Class in lejos.nxt
  Abstraction for a NXT output port.
MSG_ACCEPT_CONNECTION - Static variable in class lejos.nxt.comm.Bluetooth
MSG_ADD_DEVICE - 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_DISCOVERABLE_ACK - 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_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_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_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_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_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_START_HEART - Static variable in class lejos.nxt.comm.Bluetooth

## N

NaN - Static variable in class java.lang.Math
Navigator - Interface in lejos.navigation
  The Navigator interface contains methods for performing basic navigational movements.
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.
NoClassDefFoundError - Error in java.lang
NoClassDefFoundError(String) - Constructor for error java.lang.NoClassDefFoundError
NORM_PRIORITY - Static variable in class java.lang.Thread
  The priority that is assigned to the primordial thread.
NoSuchMethodError - Error in java.lang
NoSuchMethodError() - Constructor for error java.lang.NoSuchMethodError
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().
NullPointerException - Exception in java.lang
NullPointerException() - Constructor for exception java.lang.NullPointerException

## O

Object - Class in java.lang
  All classes extend this one, implicitly.
Object() - Constructor for class java.lang.Object
openDataInputStream() - Method in interface javax.microedition.io.StreamConnection
  Open and return a DataInputStream - not yet implemented.
openDataInputStream() - Method in class lejos.nxt.comm.BTConnection
openDataOutputStream() - Method in interface javax.microedition.io.StreamConnection
  Open and return a DataOutputStream - not yet implemented.
openDataOutputStream() - Method in class lejos.nxt.comm.BTConnection
openInputStream() - Method in interface javax.microedition.io.StreamConnection
  Open and return an InputStream - not yet implemented.
openInputStream() - Method in class lejos.nxt.comm.BTConnection
openOutputStream() - Method in interface javax.microedition.io.StreamConnection
  Open and return an OutputStream - not yet implemented.
openOutputStream() - Method in class lejos.nxt.comm.BTConnection
out - Variable in class java.io.DataOutputStream
OutOfMemoryError - Error in java.lang
OutOfMemoryError() - Constructor for error java.lang.OutOfMemoryError
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

passivate() - Method in class lejos.nxt.RCXLightSensor
  Passivates an RCX light sensor.
passivate() - Method in class lejos.nxt.SensorPort
  Passivates an RCX sensor sensor.
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.
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!
PI - Static variable in class java.lang.Math
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.
pilot - Variable in class lejos.navigation.TachoNavigator
playTone(int, int) - Static method in class lejos.nxt.Sound
  Plays a tone, given its frequency and duration.
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.
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
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.
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

## Q

Queue - Class in java.util
  A FIFO Queue of objects.
Queue() - Constructor for class java.util.Queue
  creates a new Queue instance

## 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
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.
RCXMotor - Class in lejos.nxt
  Abstraction for an RCX motor.
RCXMotor(BasicMotorPort) - Constructor for class lejos.nxt.RCXMotor
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.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.
readBoolean() - Method in class java.io.DataInputStream
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
readChar() - Method in class java.io.DataInputStream
readFloat() - Method in class java.io.DataInputStream
readInt() - Method in class java.io.DataInputStream
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 data packet (with 2-byte length header) from a stream connection.
readRawValue() - Method in class lejos.nxt.SensorPort
  Reads the raw value of the sensor.
readShort() - Method in class java.io.DataInputStream
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.SensorPort
  Returns value compatible with Lego firmware.
readValue() - Method in class lejos.nxt.SoundSensor
  Read the current sensor value.
receiveReply(byte[], int) - Static method in class lejos.nxt.comm.Bluetooth
  Receive a command or reply from the BC4 chip.
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.
refresh() - Method in class javax.microedition.lcdui.Graphics
refresh() - Static method in class lejos.nxt.LCD
  Update the display.
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) 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.
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
removeAllElements() - Method in class java.util.Vector
removeElement(Object) - Method in class java.util.Vector
removeElementAt(int) - Method in class java.util.Vector
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.
resetCartesianZero() - Method in class lejos.nxt.CompassSensor
  Changes the current direction the compass is facing into the zero angle.
resetRunnable() - Method in class lejos.subsumption.Activity
  Reset the runnable activity.
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;
resetTachoCountById(int) - Static method in class lejos.nxt.MotorPort
RIGHT - Static variable in class lejos.nxt.Button
  The Right button.
RIGHT_MASK - Static variable in class lejos.nxt.Poll
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
  When the angle is reached, the method isRotating() returns false;
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) - 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
  Then getTachoCount should be within +- 2 degrees if the limit angle When the angle is reached, the method isRotating() returns false;
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.subsumption.Activity
  Thread entry point.
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 - Static variable in class lejos.nxt.SensorPort
  Port labeled 1 on NXT.
S2 - Static variable in class lejos.nxt.SensorPort
  Port labeled 2 on NXT.
S3 - Static variable in class lejos.nxt.SensorPort
  Port labeled 3 on NXT.
S4 - Static variable in class lejos.nxt.SensorPort
  Port labeled 4 on NXT.
select() - Method in class lejos.nxt.TextMenu
  Allows the to scroll through the items, using the right and left buttons.
sendCommand(byte[], int) - Static method in class lejos.nxt.comm.Bluetooth
  Send a command to the BC4 chip.
sendData(int, byte[], int) - Method in class lejos.nxt.I2CSensor
  Executes an I2C write transaction - not yet working.
sendPacket(byte[], int) - Static method in class lejos.nxt.comm.Bluetooth
  Send a data packet.
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.
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.
SERIAL_MASK - Static variable in class lejos.nxt.Poll
SERIAL_SHIFT - Static variable in class lejos.nxt.Poll
Serializable - Interface in java.io
  This interface is not functional.
set(int) - Method in class java.util.BitSet
setDaemon(boolean) - Method in class java.lang.Thread
setDBA(boolean) - Method in class lejos.nxt.SoundSensor
  Set DB or DBA mode.
setDelay(int) - Method in class lejos.util.Timer
  Change the delay between timedOut messages.
setDisplay(int[]) - Static method in class lejos.nxt.LCD
  Write graphics from a Java buffer to the display.
setElementAt(Object, int) - Method in class java.util.Vector
setFloodlight(boolean) - Method in class lejos.nxt.LightSensor
  Set floodlighting on or off.
setMode(int) - Method in class lejos.nxt.SensorPort
  Sets mode compatible with Lego firmware.
setNextRecyclable(Recyclable) - Method in class lejos.util.AbstractRecyclable
  Stores a Recyclable object.
setNextRecyclable(Recyclable) - Method in interface lejos.util.Recyclable
  Stores a Recyclable object.
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
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.Motor
  sets motor power.
setPriority(int) - Method in class java.lang.Thread
  Set the priority of this thread.
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 retulate 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 posssible with 8 volts.
setThrottle(int) - Method in class lejos.nxt.Poll
  Set a throttle on the regularity with which inputs are polled.
setType(int) - Method in class lejos.nxt.SensorPort
  Sets type compatible with Lego firmware.
setTypeAndMode(int, int) - Method in class lejos.nxt.SensorPort
  Sets type and mode compatible with Lego firmware.
shutdown() - Method in class lejos.nxt.Motor
  causes run() to exit
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.Vector
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
smoothAcceleration(boolean) - Method in class lejos.nxt.Motor
  enables smoother acceleration.
Sound - Class in lejos.nxt
  NXT sound routines.
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.
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
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.util.Timer
  Starts the timer, telling it to send timeOut() methods to the TimerListener.
startCalibration() - Method in class lejos.nxt.CompassSensor
  Starts calibration for Mindsensors.com compass.
stateChanged(SensorPort, int, int) - Method in interface lejos.nxt.SensorPortListener
  Called when the raw value of the sensor attached to the port changes.
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() - 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.util.Timer
  Stops the timer.
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
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.
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
StringUtils - Class in java.lang
  Utilities for non-standard String maniplulation.
suppress() - Method in interface lejos.subsumption.Behavior
  The code in suppress() should stop the current behavior.
System - Class in java.lang
  System utilities.
systemSound(boolean, int) - Static method in class lejos.nxt.Sound
  Play a system sound - not yet implemented.

## T

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) - Constructor for class lejos.navigation.TachoNavigator
  Allocates a Navigator object and initializes it with the proper motors.
TachoNavigator(float, float, Motor, Motor, boolean) - 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.
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.
TextMenu - Class in lejos.nxt
  Displays a list of items.
TextMenu(String[]) - Constructor for class lejos.nxt.TextMenu
  This constructor sets the menu size to 8 rows, the top linw is in display row 0
TextMenu(String[], int, int) - Constructor for class lejos.nxt.TextMenu
  This constructor allows specification of the size and top row of the menu.
TextMenu(String[], int, String) - Constructor for class lejos.nxt.TextMenu
  This constuctor allows the specfication of a title (of up to 16 characters) displayed in row 0, and the size of the menu.
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
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
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
TiltSensor - Class in lejos.nxt
  Abstraction for a Mindsensors (and possibly HiTechnic) acceleration (tilt) sensor.
TiltSensor(I2CPort) - Constructor for class lejos.nxt.TiltSensor
timedOut() - Method in class lejos.nxt.Motor
  requred by TimerListener interface
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.
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(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
totalMemory() - Method in class java.lang.Runtime
  Return the size of the heap in bytes.
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.
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 - not yet implemented.
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
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.

## V

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

## 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.
waitForConnection() - Static method in class lejos.nxt.comm.Bluetooth
  Wait for a remote device to connect.
waitForPressAndRelease() - Method in class lejos.nxt.Button
  Wait until the button is released.
WHITE - Static variable in class javax.microedition.lcdui.Graphics
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.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.
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.
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.
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

## Y

yield() - Static method in class java.lang.Thread

## _

_degPerDistance - Variable in class lejos.navigation.Pilot
  motor degrees per unit of travel
_left - Variable in class lejos.navigation.Pilot
  left motor
_right - Variable in class lejos.navigation.Pilot
  right motor
_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 L M N O P Q R S T U V W Y _

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