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