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 josx.platform.rcx.Motor
Motor A.
ALL - Static variable in interface josx.platform.rcx.Segment
 
ALL_BUTTONS - Static variable in class josx.platform.rcx.Poll
 
ALL_SENSORS - Static variable in class josx.platform.rcx.Poll
 
AbstractRecyclable - class josx.util.AbstractRecyclable.
Represents a recyclable object.
AbstractRecyclable() - Constructor for class josx.util.AbstractRecyclable
 
Activity - class josx.robotics.Activity.
An activity that operates in coordination with other activities.
Activity() - Constructor for class josx.robotics.Activity
 
ActivityBase - class josx.robotics.ActivityBase.
Useful base class.
ActivityBase() - Constructor for class josx.robotics.ActivityBase
Set this thread to be a daemon thread.
AddressingHandler - interface josx.rcxcomm.AddressingHandler.
An interface for processing incoming addressing packets on specific ports.
Arbitrator - class josx.robotics.Arbitrator.
Arbitrator controls which behavior should currently be active in a behavior control system.
Arbitrator(Behavior[]) - Constructor for class josx.robotics.Arbitrator
Allocates an Arbitrator object and initializes it with an array of Behavior objects.
ArithmeticException - exception java.lang.ArithmeticException.
 
ArithmeticException() - Constructor for class java.lang.ArithmeticException
 
ArrayIndexOutOfBoundsException - exception java.lang.ArrayIndexOutOfBoundsException.
 
ArrayIndexOutOfBoundsException() - Constructor for class java.lang.ArrayIndexOutOfBoundsException
 
ArrayRecycler - class josx.util.ArrayRecycler.
An array recycler for Object arrays.
ArrayRecycler() - Constructor for class josx.util.ArrayRecycler
Constructs a recycler.
Assertion - class josx.util.Assertion.
Class used in debugging to test assertions.
Assertion() - Constructor for class josx.util.Assertion
 
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.
acos(double) - Static method in class java.lang.Math
Arc cosine function.
action() - Method in class josx.robotics.Activity
Encapsulates the actual activity we want to perform.
action() - Method in interface josx.robotics.Behavior
The code in action() represents the actual action of the robot when this behavior becomes active.
actionPerformed(ActionEvent) - Method in class josx.vision.ColorDetectionControl
Toggle debug
actionPerformed(ActionEvent) - Method in class josx.vision.FlipControl
Toggle debug
actionPerformed(ActionEvent) - Method in class josx.vision.MotionDetectionControl
Toggle debug
actionPerformed(ActionEvent) - Method in class josx.vision.RegionControl
Toggle debug
activate() - Method in class josx.platform.rcx.Sensor
Activates the sensor.
addAddressingHandler(AddressingHandler, byte) - Static method in class josx.rcxcomm.LNP
Register an integrity handler to process incoming addressing packets for a specific port.
addButtonListener(ButtonListener) - Method in class josx.platform.rcx.Button
Adds a listener of button events.
addColorListener(ColorListener, int) - Method in class josx.vision.Region
Add a color listener
addColorListener(int, ColorListener, int) - Static method in class josx.vision.Vision
Add a Color Listener for the region
addElement(Object) - Method in class java.util.Vector
 
addIntegrityHandler(IntegrityHandler) - Static method in class josx.rcxcomm.LNP
Register an integrity handler to process incoming broadcasts
addLightListener(LightListener) - Method in class josx.vision.Region
Add a light listener
addLightListener(int, LightListener) - Static method in class josx.vision.Vision
Add a Light Listener for the region
addMotionListener(MotionListener) - Method in class josx.vision.Region
Add a motion listener
addMotionListener(int, MotionListener) - Static method in class josx.vision.Vision
Add a Motion Listener for the region
addNotify() - Method in class josx.vision.Vision
 
addRectRegion(int, int, int, int, int) - Static method in class josx.vision.Vision
Add a rectangular region
addRemoteControlListener(RemoteControlListener) - Method in class josx.rcxcomm.remotecontrol.RemoteControlSensor
adds a remote control listener
addSensorListener(SensorListener) - Method in class josx.platform.rcx.Sensor
Adds a sensor listener.
addSerialListener(SerialListener) - Static method in class josx.platform.rcx.Serial
Adds a listener of receive events.
addressingWrite(byte[], int, byte, byte) - Static method in class josx.rcxcomm.LNP
Sends packet of up to 59 bytes to the destination address from the source address.
allocate(int) - Method in class josx.util.ArrayRecycler
Attempts to obtain a free RecyclableArray.
allocate() - Method in class josx.util.Recycler
Attempts to obtain a free object.
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
 
asin(double) - Static method in class java.lang.Math
Arc sine function.
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.
available() - Method in class josx.rcxcomm.RCXInputStream
Checks if there is any data avaliable on the InputStream
averageBlue - Variable in class josx.vision.ColorEffect
 
averageGreen - Variable in class josx.vision.ColorEffect
 
averageRed - Variable in class josx.vision.ColorEffect
 

B

B - Static variable in class josx.platform.rcx.Motor
Motor B.
BATTERY - Static variable in interface josx.platform.rcx.Segment
 
BOOLEAN_VALUE - Static variable in interface josx.platform.rcx.SensorConstants
 
BUTTONS - Static variable in class josx.platform.rcx.Button
Array containing VIEW, PRGM and RUN, in that order.
BUTTON_MASK_SHIFT - Static variable in class josx.platform.rcx.Poll
 
Battery - class josx.platform.rcx.Battery.
Provides access to Battery.
Battery() - Constructor for class josx.platform.rcx.Battery
 
Behavior - interface josx.robotics.Behavior.
The Behavior interface represents an object embodying a specific behavior belonging to a robot.
BitSet - class java.util.BitSet.
Represents a long set of bits.
BitSet(int) - Constructor for class java.util.BitSet
 
Button - class josx.platform.rcx.Button.
Abstraction for an RCX button.
ButtonListener - interface josx.platform.rcx.ButtonListener.
Abstraction for receiver of button events.
backward() - Method in class josx.platform.rcx.Motor
Causes motor to rotate backwards.
backward() - Method in interface josx.robotics.Navigator
Moves the RCX robot backward until stop() is called.
backward() - Method in class josx.robotics.RotationNavigator
Moves the RCX robot backward until stop() is called.
backward() - Method in class josx.robotics.TimingNavigator
Moves the RCX robot backward until stop() is called.
backward() - Static method in class josx.vision.RCX
Move the robot backwards until stop or another command is executed.
backward(int) - Static method in class josx.vision.RCX
Move the robot backwards n units.
beep() - Static method in class josx.platform.rcx.Sound
Beeps once.
beepSequence() - Static method in class josx.platform.rcx.Sound
Downward tones.
blob_threshold - Variable in class josx.vision.MotionDetectionEffect
Our threshold for determinig if the input image has enough motion.
buttonPressed(Button) - Method in interface josx.platform.rcx.ButtonListener
 
buttonReleased(Button) - Method in interface josx.platform.rcx.ButtonListener
 
buzz() - Static method in class josx.platform.rcx.Sound
Low buzz.

C

C - Static variable in class josx.platform.rcx.Motor
Motor C.
CANONICAL_VALUE - Static variable in interface josx.platform.rcx.SensorConstants
 
Class - class java.lang.Class.
Not functional.
Class() - Constructor for class java.lang.Class
 
ClassCastException - exception java.lang.ClassCastException.
 
ClassCastException() - Constructor for class java.lang.ClassCastException
 
ClassNotFoundException - exception java.lang.ClassNotFoundException.
 
ClassNotFoundException() - Constructor for class java.lang.ClassNotFoundException
 
Cloneable - interface java.lang.Cloneable.
This interface is not functional.
ColorDetectionControl - class josx.vision.ColorDetectionControl.
Title: Lejos Vision System Description: Color Detection Control
ColorDetectionControl(ColorEffect) - Constructor for class josx.vision.ColorDetectionControl
Create the Motion Detection Control
ColorEffect - class josx.vision.ColorEffect.
 
ColorEffect() - Constructor for class josx.vision.ColorEffect
 
ColorListener - interface josx.vision.ColorListener.
Interface for color listeners
call(short) - Static method in class josx.platform.rcx.ROM
 
call(short, short) - Static method in class josx.platform.rcx.ROM
 
call(short, short, short) - Static method in class josx.platform.rcx.ROM
 
call(short, short, short, short) - Static method in class josx.platform.rcx.ROM
 
call(short, short, short, short, short) - Static method in class josx.platform.rcx.ROM
 
callListeners() - Method in class josx.platform.rcx.Button
 
callListeners() - Method in interface josx.platform.rcx.ListenerCaller
 
callListeners() - Method in class josx.platform.rcx.Sensor
 
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
 
clear(int) - Method in class java.util.BitSet
 
clear() - Method in class java.util.Vector
 
clear() - Static method in class josx.platform.rcx.LCD
Clears the display.
clearSegment(int) - Static method in class josx.platform.rcx.LCD
Clears an LCD segment.
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 class josx.rcxcomm.F7Handler
Close the Tower.
close() - Method in class josx.rcxcomm.LLCHandler
Close the Tower.
close() - Method in class josx.rcxcomm.LNPHandler
Close the Tower.
close() - Method in class josx.rcxcomm.PacketHandler
Close this packet handler and all lower layers.
close() - Method in class josx.rcxcomm.RCXAbstractPort
Closes this RCXPort, stopping the Listener thread.
close() - Method in class josx.rcxcomm.RCXBean
Close this RCX bean.
close() - Method in class josx.rcxcomm.RCXInputStream
Close the stream and stop listening
close() - Method in class josx.rcxcomm.Tower
Close the tower
close() - Method in class josx.vision.VisionEffect
Does nothing
colorDetected(int, int) - Method in interface josx.vision.ColorListener
Triggered when the color is detected in the region
controlMotor(char, int, int) - Static method in class josx.platform.rcx.Motor
Deprecated. I've decided to remove this method. If you really need it, check its implementation in classes/josx/platform/rcx/Motor.java.
controlMotors(byte, byte, byte) - Static method in class josx.vision.RCX
Move the selected motors in the selected direction for n units
controllerUpdate(ControllerEvent) - Method in class josx.vision.Recorder
Controller Listener.
controllerUpdate(ControllerEvent) - Method in class josx.vision.Vision
Controller Listener.
cos(double) - Static method in class java.lang.Math
Cosine function using a Chebyshev-Pade approximation.
createInstance() - Method in class josx.util.ArrayRecycler
 
createInstance() - Method in class josx.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

DATALOG - Static variable in interface josx.platform.rcx.Segment
 
DEFAULT_BUFFER_SIZE - Static variable in class josx.rcxcomm.RCXInputStream
The default buffer size for the InputStream is 32 bytes
DEFAULT_TIMEOUT - Static variable in class josx.rcxcomm.RCXInputStream
 
DOWNLOAD - Static variable in interface josx.platform.rcx.Segment
 
DataInputStream - class java.io.DataInputStream.
 
DataInputStream(InputStream) - Constructor for class java.io.DataInputStream
 
DataOutputStream - class java.io.DataOutputStream.
 
DataOutputStream(OutputStream) - Constructor for class java.io.DataOutputStream
 
debug - Variable in class josx.vision.MotionDetectionEffect
Turn debugging on.
delete(int, int) - Method in class java.lang.StringBuffer
 

E

E - Static variable in class java.lang.Math
 
EmptyQueueException - exception java.util.EmptyQueueException.
An exception thrown by some Queue class methods to indicate that the Queue is empty
EmptyQueueException() - Constructor for class java.util.EmptyQueueException
creates a new exception wit null message string
EmptyStackException - exception java.util.EmptyStackException.
An exception thrown by some stack class methods to indicate that the stack is empty
EmptyStackException() - Constructor for class java.util.EmptyStackException
creates a new exception wit null message string
Error - error java.lang.Error.
 
Error() - Constructor for class java.lang.Error
 
Exception - exception java.lang.Exception.
 
Exception() - Constructor for class java.lang.Exception
 
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?
ensureCapacity(int) - Method in class java.util.Vector
 
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() - Static method in class josx.rcxcomm.RCXRemote
 
exit(int) - Static method in class java.lang.System
Terminate the application.
exp(double) - Static method in class java.lang.Math
Exponential function.

F

F7DeliveryHandler - class josx.rcxcomm.F7DeliveryHandler.
A packet handler that attempts (but doesn't fully succeed in) reliable delivery for F7 Lego firmware opcode packets.
F7DeliveryHandler(PacketHandler) - Constructor for class josx.rcxcomm.F7DeliveryHandler
 
F7Handler - class josx.rcxcomm.F7Handler.
Packet handler that uses the Lego Firmware F7 (set Message) opcodes.
FONT_6x11 - Static variable in class josx.vision.Font
 
FONT_8x8 - Static variable in class josx.vision.Font
 
FlipControl - class josx.vision.FlipControl.
Title: Lejos Vision System Description: Flip Control
FlipControl(FlipEffect) - Constructor for class josx.vision.FlipControl
Create the Motion Detection Control
FlipEffect - class josx.vision.FlipEffect.
 
FlipEffect() - Constructor for class josx.vision.FlipEffect
Create flip effect
Float - class java.lang.Float.
Minimal Float implementation that supports floatToIntBits and intBitsToFloat
Font - class josx.vision.Font.
Title: Big fonts Description: Support for overlaying text on video streams
finalize() - Method in class josx.rcxcomm.RCXBean
 
flip - Variable in class josx.vision.FlipEffect
 
flipHorizontal(boolean) - Static method in class josx.vision.Vision
Flip the image in the image viewer horizontally
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 josx.platform.rcx.Motor
Causes motor to float.
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 class josx.platform.rcx.Motor
Causes motor to rotate forward.
forward() - Method in interface josx.robotics.Navigator
Moves the RCX robot forward until stop() is called.
forward() - Method in class josx.robotics.RotationNavigator
Moves the RCX robot forward until stop() is called.
forward() - Method in class josx.robotics.TimingNavigator
Moves the RCX robot forward until stop() is called.
forward() - Static method in class josx.vision.RCX
Move the robot forwards until stop or another command is executed.
forward(int) - Static method in class josx.vision.RCX
Move the robot forwards n units.
free(Object) - Method in class josx.rcxcomm.RCXBean
Make the RCX bean available for other threads.
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, int) - Static method in class josx.platform.rcx.PersistentMemoryArea
Allocate a persistent array of 'size' bytes.
get(int) - Method in class josx.util.RecyclableArray
 
getAngle() - Method in interface josx.robotics.Navigator
Returns the current angle the RCX robot is facing.
getAngle() - Method in class josx.robotics.RotationNavigator
Returns the current angle the RCX robot is facing.
getAngle() - Method in class josx.robotics.TimingNavigator
Returns the current angle the RCX robot is facing.
getAvgBlue(int) - Static method in class josx.vision.Vision
Get the average blue value for the region
getAvgGreen(int) - Static method in class josx.vision.Vision
Get the average green value for the region
getAvgRGB(int) - Static method in class josx.vision.Vision
Get the average RGB value for the region
getAvgRed(int) - Static method in class josx.vision.Vision
Get the average red value for the region
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.
getColorListeners() - Method in class josx.vision.Region
Return the array of color listeners
getColors() - Method in class josx.vision.Region
Return the array of colors corresponding to the color listeners
getComPort() - Method in class josx.rcxcomm.RCXBean
Getter for the property "ComPort".
getControl(String) - Method in class josx.vision.VisionEffect
Returns null
getControlComponent() - Method in class josx.vision.ColorDetectionControl
Return the visual component
getControlComponent() - Method in class josx.vision.FlipControl
Return the visual component
getControlComponent() - Method in class josx.vision.MotionDetectionControl
Return the visual component
getControlComponent() - Method in class josx.vision.RegionControl
Return the visual component
getControls() - Method in class josx.vision.ColorEffect
Getter for array on one control for adjusing motion threshold and setting debug.
getControls() - Method in class josx.vision.FlipEffect
Getter for array on one control for adjusing motion threshold and setting debug.
getControls() - Method in class josx.vision.MotionDetectionEffect
Getter for array on one control for adjusing motion threshold and setting debug.
getControls() - Method in class josx.vision.RegionEffect
Getter for array on one control for adjusing motion threshold and setting debug.
getControls() - Method in class josx.vision.VisionEffect
Returns null
getDataAddress(Object) - Static method in class josx.platform.rcx.Memory
 
getDelay() - Method in class josx.util.Timer
access how man milliseconds between timedOut() messages.
getError() - Method in class josx.rcxcomm.F7Handler
Get the last error on the Tower
getError() - Method in class josx.rcxcomm.LLCHandler
Get the last error on the Tower
getError() - Method in class josx.rcxcomm.LNPHandler
Get the last error on the Tower
getError() - Method in class josx.rcxcomm.PacketHandler
Get the last error.
getError() - Method in class josx.rcxcomm.Tower
Get the last OS error
getFrame() - Static method in class josx.vision.Vision
Get the viewer frame.
getHeight() - Method in class josx.vision.Region
Get the height of the region
getId() - Method in class josx.platform.rcx.Button
Return the ID of the button.
getId() - Method in class josx.platform.rcx.Motor
Get the ID of the motor.
getId() - Method in class josx.platform.rcx.Sensor
Return the ID of the sensor.
getInputStream() - Method in class java.net.Socket
Returns an input stream for this Socket.
getInputStream() - Method in class java.net.URLConnection
Returns an input stream for this URLConnection.
getInputStream() - Method in class josx.rcxcomm.RCXAbstractPort
Returns an input stream for this RCXPort.
getLength() - Method in class josx.util.RecyclableArray
 
getLightListeners() - Method in class josx.vision.Region
Return the array of light listeners
getMessage() - Method in class java.lang.Throwable
 
getMotionListeners() - Method in class josx.vision.Region
Return the array of motion listeners
getName() - Method in class josx.vision.ColorEffect
 
getName() - Method in class josx.vision.FlipEffect
 
getName() - Method in class josx.vision.MotionDetectionEffect
get the name of the effect
getName() - Method in class josx.vision.RegionEffect
 
getNextRecyclable() - Method in class josx.util.AbstractRecyclable
Must return Recyclable most recently set with setNextRecyclable.
getNextRecyclable() - Method in interface josx.util.Recyclable
Must return Recyclable most recently set with setNextRecyclable.
getOutputStream() - Method in class java.net.Socket
Returns an output stream for this Socket.
getOutputStream() - Method in class java.net.URLConnection
Returns an output stream for this URLConnection.
getOutputStream() - Method in class josx.rcxcomm.RCXAbstractPort
Returns an output stream for this RCXPort.
getPower() - Method in class josx.platform.rcx.Motor
Returns the current motor power.
getPriority() - Method in class java.lang.Thread
 
getRegions() - Static method in class josx.vision.Vision
Get the array of regions
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.
getSupportedInputFormats() - Method in class josx.vision.VisionEffect
Get the supported input formats
getSupportedOutputFormats(Format) - Method in class josx.vision.VisionEffect
Get the supported output formats that matches the input format
getTimeOut() - Method in class josx.rcxcomm.RCXAbstractPort
Getter for property timeOut.
getUsbFlag() - Method in class josx.rcxcomm.Tower
Getter for USB Flag
getVoltage() - Static method in class josx.platform.rcx.Battery
 
getVoltageInternal() - Static method in class josx.platform.rcx.Battery
 
getVoltageMilliVolt() - Static method in class josx.platform.rcx.Battery
 
getWidth() - Method in class josx.vision.Region
Get the width of the region
getX() - Method in interface josx.robotics.Navigator
Returns the current x coordinate of the RCX.
getX() - Method in class josx.robotics.RotationNavigator
Returns the current x coordinate of the RCX.
getX() - Method in class josx.robotics.TimingNavigator
Returns the current x coordinate of the RCX.
getX() - Method in class josx.vision.Region
Get the X coordinate of the bottom left corner
getY() - Method in interface josx.robotics.Navigator
Returns the current y coordinate of the RCX.
getY() - Method in class josx.robotics.RotationNavigator
Returns the current y coordinate of the RCX.
getY() - Method in class josx.robotics.TimingNavigator
Returns the current y coordinate of the RCX.
getY() - Method in class josx.vision.Region
Get the Y coordinate of the bottom left corner
gotoAngle(float) - Method in interface josx.robotics.Navigator
Rotates the RCX robot to point in a certain direction.
gotoAngle(float) - Method in class josx.robotics.RotationNavigator
Rotates the RCX robot to point in a certain direction.
gotoAngle(float) - Method in class josx.robotics.TimingNavigator
Rotates the RCX robot to point in a certain direction.
gotoPoint(float, float) - Method in interface josx.robotics.Navigator
Rotates the RCX robot towards the target point and moves the required distance.
gotoPoint(float, float) - Method in class josx.robotics.RotationNavigator
Rotates the RCX robot towards the target point and moves the required distance.
gotoPoint(float, float) - Method in class josx.robotics.TimingNavigator
Rotates the RCX robot towards the target point and moves the required distance.

H

Hashtable - class java.util.Hashtable.
Maps keys to objects.
Hashtable() - Constructor for class java.util.Hashtable
 
HttpProxy - class josx.rcxcomm.HttpProxy.
A Proxy for sending HTTP requests to the RCX.
HttpProxy(int) - Constructor for class josx.rcxcomm.HttpProxy
 
hashCode() - Method in class java.lang.Object
 
hexdump(String, byte[], int) - Method in class josx.rcxcomm.Tower
dump hex to standard out

I

INIT_PROPORTION - Static variable in class josx.vision.ColorEffect
 
IOException - exception java.io.IOException.
Signals that an I/O exception of some sort has occurred.
IOException() - Constructor for class java.io.IOException
Constructs an IOException with null as its error detail message.
IOException(String) - Constructor for class java.io.IOException
Constructs an IOException with the specified detail message.
IllegalArgumentException - exception java.lang.IllegalArgumentException.
 
IllegalArgumentException() - Constructor for class java.lang.IllegalArgumentException
 
IllegalMonitorStateException - exception java.lang.IllegalMonitorStateException.
 
IllegalMonitorStateException() - Constructor for class java.lang.IllegalMonitorStateException
 
IllegalStateException - exception java.lang.IllegalStateException.
 
IllegalStateException() - Constructor for class java.lang.IllegalStateException
 
InputStream - class java.io.InputStream.
This abstract class is the superclass of all classes representing an input stream of bytes.
InputStream() - Constructor for class java.io.InputStream
 
Integer - class java.lang.Integer.
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.
IntegrityHandler - interface josx.rcxcomm.IntegrityHandler.
An interface for processing incoming broadcasts of LNP integrity packets.
InterruptedException - exception java.lang.InterruptedException.
 
InterruptedException() - Constructor for class java.lang.InterruptedException
 
iWantToRun() - Method in class josx.robotics.Activity
Call this if you want this activity to run.
in - Variable in class java.io.DataInputStream
 
in - Static variable in class josx.rcxcomm.RCXRemote
 
inRegion(int, int) - Method in class josx.vision.Region
Test if point is in the region
indexOf(Object) - Method in class java.util.Vector
 
indexOf(Object, int) - Method in class java.util.Vector
 
init() - Static method in class josx.rcxcomm.LLC
Initialize LLC
init() - Method in class josx.util.AbstractRecyclable
Initializes the Recyclable.
init() - Method in interface josx.util.Recyclable
Called when the Recyclable is allocated by a Recycler.
init() - Method in class josx.util.RecyclableArray
 
inputFormat - Variable in class josx.vision.VisionEffect
 
inputFormats - Variable in class josx.vision.VisionEffect
 
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.
integrityWrite(byte[], int) - Static method in class josx.rcxcomm.LNP
Broadcasts an integrity packet of up to 61 bytes
interrupt() - Method in class java.lang.Thread
Set the interrupted flag.
interrupted() - Static method in class java.lang.Thread
 
isAckAvailable() - Method in class josx.rcxcomm.LLCHandler
Check if an Ack is available
isAckAvailable() - Method in class josx.rcxcomm.PacketHandler
Check if an ack is available
isAddressing() - Method in class josx.rcxcomm.LNPHandler
Test if last received packet is addressing (or integrity)
isAddressing() - Method in class josx.rcxcomm.LNPIntegrityHandler
Test if last packet is an adressing (or integrity) packet
isAlive() - Method in class java.lang.Thread
 
isAlive() - Method in class josx.rcxcomm.Tower
Check if RCX is alive
isBackward() - Method in class josx.platform.rcx.Motor
Return true if motor is backward.
isDaemon() - Method in class java.lang.Thread
Set the daemon flag.
isEmpty() - Method in class java.util.Vector
 
isFloating() - Method in class josx.platform.rcx.Motor
 
isForward() - Method in class josx.platform.rcx.Motor
Return true if motor is forward.
isInterrupted() - Method in class java.lang.Thread
 
isMoving() - Method in class josx.platform.rcx.Motor
 
isPacketAvailable() - Static method in class josx.platform.rcx.Serial
Checks to see if a packet is available.
isPacketAvailable() - Method in class josx.rcxcomm.F7DeliveryHandler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.F7Handler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.LLCHandler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.LLCReliableHandler
Check if a packet is available.
isPacketAvailable() - Method in class josx.rcxcomm.LNPAddressingHandler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.LNPHandler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.LNPIntegrityHandler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.PacketHandler
Check if a packet is available
isPressed() - Method in class josx.platform.rcx.Button
 
isRecording() - Static method in class josx.vision.Vision
Test is recording is in progress
isSendError() - Static method in class josx.rcxcomm.LLC
Return the error status of the last send
isSending() - Static method in class josx.platform.rcx.Serial
Return true if a message is being sent.
isSending() - Static method in class josx.rcxcomm.LLC
Indicate whether the last send is still active
isStopped() - Method in class josx.platform.rcx.Motor
Return true if motor is stopped.

J

java.io - package java.io
Input/Output support (see josx.rcxcomm).
java.lang - package java.lang
Core Java classes
java.net - package java.net
 
java.util - package java.util
Utilities
join() - Method in class java.lang.Thread
Join not yet implemented
join(long) - Method in class java.lang.Thread
 
josx.platform.rcx - package josx.platform.rcx
Access to RCX sensors, motors, etc.
josx.rcxcomm - package josx.rcxcomm
RCX communication with the PC
josx.rcxcomm.remotecontrol - package josx.rcxcomm.remotecontrol
 
josx.robotics - package josx.robotics
Robotics classes
josx.util - package josx.util
More utility classes
josx.vision - package josx.vision
 

L

LCD - class josx.platform.rcx.LCD.
LCD routines.
LCDConstants - interface josx.platform.rcx.LCDConstants.
LCD constants.
LCD_DECIMAL_0 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_DECIMAL_1 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_DECIMAL_2 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_DECIMAL_3 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_PROGRAM - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_SIGNED - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_UNSIGNED - Static variable in interface josx.platform.rcx.LCDConstants
 
LLC - class josx.rcxcomm.LLC.
Low-level comms (LLC).
LLCHandler - class josx.rcxcomm.LLCHandler.
Packet handler than implement the LLC packet protocol.
LLCHandler() - Constructor for class josx.rcxcomm.LLCHandler
 
LLCReliableHandler - class josx.rcxcomm.LLCReliableHandler.
A Packet handler that guarantees reliable delivery using checksums, acks, and a single bit sequence number.
LLCReliableHandler(PacketHandler) - Constructor for class josx.rcxcomm.LLCReliableHandler
 
LNP - class josx.rcxcomm.LNP.
An interface for sending and receiving Lego Network Protocol addressing and integrity layer packets.
LNPAddressingHandler - class josx.rcxcomm.LNPAddressingHandler.
Packet handler that implements LNP addressing.
LNPAddressingHandler(PacketHandler) - Constructor for class josx.rcxcomm.LNPAddressingHandler
 
LNPHandler - class josx.rcxcomm.LNPHandler.
A Packet handler that implements the outer LNP packet format.
LNPHandler() - Constructor for class josx.rcxcomm.LNPHandler
Creates an LNP packet handler and opens the tower
LNPIntegrityHandler - class josx.rcxcomm.LNPIntegrityHandler.
Packet handler that implements simple checksums.
LNPIntegrityHandler(PacketHandler, byte) - Constructor for class josx.rcxcomm.LNPIntegrityHandler
Create a packet handler for broadcast or addressing integrity packets
LightListener - interface josx.vision.LightListener.
Interface for light listeners
ListenerCaller - interface josx.platform.rcx.ListenerCaller.
Interface for calling calling lejos listeners.
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
length() - Method in class java.lang.String
Return the length of the String in characters
length() - Method in class java.lang.StringBuffer
 
lightDetected(int) - Method in interface josx.vision.LightListener
Triggered when bright light detected in the region
lock(Object) - Method in class josx.rcxcomm.RCXBean
Create a lock of this the RCX bean.
log(double) - Static method in class java.lang.Math
Natural log function.
lowerHandler - Variable in class josx.rcxcomm.PacketHandler
 

M

MAX_PIXEL_THRESHOLD - Static variable in class josx.vision.ColorEffect
 
MAX_PRIORITY - Static variable in class java.lang.Thread
The maximum priority that a thread can have.
MAX_PROPORTION - Static variable in class josx.vision.ColorEffect
 
MAX_REGIONS - Static variable in class josx.vision.Region
 
MAX_VALUE - Static variable in class java.lang.Integer
The largest value of type int.
MESSAGE1 - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
MESSAGE2 - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
MESSAGE3 - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
METHOD_JOSX_VISION_RCX_BACKWARD_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_BACKWARD_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_CONTROL_MOTORS - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_FORWARD_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_FORWARD_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_PLAY_TONE - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SCAN_LEFT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SCAN_LEFT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SCAN_RIGHT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SCAN_RIGHT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SET_POWER - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SPIN_LEFT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SPIN_LEFT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SPIN_RIGHT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SPIN_RIGHT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_STOP - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TILT_DOWN_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TILT_UP_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TURN_LEFT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TURN_LEFT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TURN_RIGHT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TURN_RIGHT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
MIN_PIXEL_THRESHOLD - Static variable in class josx.vision.ColorEffect
 
MIN_PRIORITY - Static variable in class java.lang.Thread
The minimum priority that a thread can have.
MIN_PROPORTION - Static variable in class josx.vision.ColorEffect
 
MIN_VALUE - Static variable in class java.lang.Integer
The smallest value of type int.
MONITOR - Static variable in class josx.platform.rcx.Memory
Should be used for all native memory accesses.
MOTOR_A_DOWN - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
MOTOR_A_FWD - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_A_REV - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_A_UP - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
MOTOR_A_VIEW - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_B_DOWN - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
MOTOR_B_FWD - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_B_REV - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_B_UP - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
MOTOR_B_VIEW - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_C_DOWN - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
MOTOR_C_FWD - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_C_REV - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_C_UP - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
MOTOR_C_VIEW - Static variable in interface josx.platform.rcx.Segment
 
MalformedURLException - exception java.net.MalformedURLException.
Thrown to indicate that a malformed URL has occurred.
MalformedURLException() - Constructor for class java.net.MalformedURLException
Constructs a MalformedURLException with no detail message.
MalformedURLException(String) - Constructor for class java.net.MalformedURLException
Constructs a MalformedURLException with the specified detail message.
Math - class java.lang.Math.
Mathematical functions.
Memory - class josx.platform.rcx.Memory.
Provides access to memory.
Memory() - Constructor for class josx.platform.rcx.Memory
 
MinLCD - class josx.platform.rcx.MinLCD.
Only the most basic APIs from LCD.
MinSound - class josx.platform.rcx.MinSound.
Only the most basic APIs from Sound.
MinuteTimer - class josx.platform.rcx.MinuteTimer.
Provides access to Battery.
MinuteTimer() - Constructor for class josx.platform.rcx.MinuteTimer
 
MotionDetectionControl - class josx.vision.MotionDetectionControl.
Title: Lejos Vision System Description: Motion Detection Control
MotionDetectionControl(MotionDetectionEffect) - Constructor for class josx.vision.MotionDetectionControl
Create the Motion Detection Control
MotionDetectionEffect - class josx.vision.MotionDetectionEffect.
Motion detection effect.
MotionDetectionEffect() - Constructor for class josx.vision.MotionDetectionEffect
Initialize the Motion effect plugin.
MotionListener - interface josx.vision.MotionListener.
Interface for motion listeners
Motor - class josx.platform.rcx.Motor.
Abstraction for a motor.
main(String[]) - Static method in class josx.rcxcomm.HttpProxy
 
main(String[]) - Static method in class josx.rcxcomm.SocketProxy
 
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.
matches(Format, Format[]) - Method in class josx.vision.VisionEffect
Select the first output format that matches the input format.
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.
message1Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the message 1 button
message1Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the message 1 button
message2Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the message 2 button
message2Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the message 2 button
message3Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the message 3 button
message3Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the message 3 button
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.
monitor - Static variable in class josx.robotics.ActivityBase
 
motionDetected(int) - Method in interface josx.vision.MotionListener
Triggered when motion detected in the region
motorDownPressed(Motor) - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
decrement motor power
motorDownPressed(Motor) - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the motor down button
motorUpPressed(Motor) - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
increment motor power
motorUpPressed(Motor) - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the motor up button

N

NONE - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
NORM_PRIORITY - Static variable in class java.lang.Thread
The priority that is assigned to the primordial thread.
NaN - Static variable in class java.lang.Math
 
Navigator - interface josx.robotics.Navigator.
The Navigator interface contains methods for performing basic navigational movements.
NoClassDefFoundError - error java.lang.NoClassDefFoundError.
 
NoClassDefFoundError(String) - Constructor for class java.lang.NoClassDefFoundError
 
NoSuchMethodError - error java.lang.NoSuchMethodError.
 
NoSuchMethodError() - Constructor for class java.lang.NoSuchMethodError
 
NullPointerException - exception java.lang.NullPointerException.
 
NullPointerException() - Constructor for class java.lang.NullPointerException
 
nextInt() - Method in class java.util.Random
 
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().

O

OPCODE_ABSOLUTE_VALUE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ABSOLUTE_VALUE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ADD_TO_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ADD_TO_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ALIVE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ALIVE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_AND_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_AND_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_BRANCH_ALWAYS_FAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_BRANCH_ALWAYS_NEAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CALL_SUBROUTINE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_MESSAGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_SENSOR_VALUE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_SENSOR_VALUE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_TIMER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_TIMER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DATALOG_NEXT - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DATALOG_NEXT_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DECREMENT_LOOP_COUNTER_FAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DECREMENT_LOOP_COUNTER_NEAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_SUBROUTINES - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_SUBROUTINES_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_TASKS - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_TASKS_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_FIRMWARE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_FIRMWARE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_SUBROUTINE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_SUBROUTINE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_TASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_TASK_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DIVIDE_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DIVIDE_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_BATTERY_POWER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_BATTERY_POWER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_MEMORY_MAP - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_MEMORY_MAP_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VALUE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VALUE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VERSIONS - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VERSIONS_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_MASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_MULTIPLY_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_MULTIPLY_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_OR_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_OR_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_PLAY_SOUND_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_PLAY_TONE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_PLAY_TONE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_POWER_OFF - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_POWER_OFF_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_REMOTE_COMMAND - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SEND_MESSAGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DATALOG_SIZE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DATALOG_SIZE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DISPLAY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DISPLAY_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_LOOP_COUNTER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MESSAGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_DIRECTION - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_DIRECTION_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_ON_OFF - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_ON_OFF_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_POWER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_POWER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_POWER_DOWN_DELAY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_POWER_DOWN_DELAY_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_PROGRAM_NUMBER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_PROGRAM_NUMBER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_MODE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_MODE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_TYPE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_TYPE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TIME - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TIME_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TRANSMITTER_RANGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TRANSMITTER_RANGE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SIGN_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SIGN_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_FIRMWARE_DOWNLOAD - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_FIRMWARE_DOWNLOAD_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_SUBROUTINE_DOWNLOAD - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_SUBROUTINE_DOWNLOAD_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK_DOWNLOAD - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK_DOWNLOAD_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_ALL_TASKS - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_ALL_TASKS_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_TASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_TASK_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SUBTRACT_FROM_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SUBTRACT_FROM_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TEST_AND_BRANCH_FAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TEST_AND_BRANCH_NEAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TRANSFER_DATA - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TRANSFER_DATA_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UNLOCK_FIRMWARE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UNLOCK_FIRMWARE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UPLOAD_DATALOG - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UPLOAD_DATALOG_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_WAIT - Static variable in interface josx.platform.rcx.Opcode
 
OPTIMIZATION - Variable in class josx.vision.MotionDetectionEffect
Optimization.
Object - class java.lang.Object.
All classes extend this one, implicitly.
Object() - Constructor for class java.lang.Object
 
Opcode - interface josx.platform.rcx.Opcode.
Opcode constants.
OutOfMemoryError - error java.lang.OutOfMemoryError.
 
OutOfMemoryError() - Constructor for class java.lang.OutOfMemoryError
 
OutputStream - class java.io.OutputStream.
This abstract class is the superclass of all classes representing an output stream of bytes.
OutputStream() - Constructor for class java.io.OutputStream
 
open(byte, byte) - Method in class josx.rcxcomm.LNPAddressingHandler
Set the source and destination for this connection
open(byte, byte) - Method in class josx.rcxcomm.PacketHandler
Set the source and destination for this connection.
open(String) - Method in class josx.rcxcomm.Tower
Open the tower
open() - Method in class josx.rcxcomm.Tower
Open the tower
open(DataSource) - Method in class josx.vision.Vision
Given a datasource, create a processor and use that processor as a player to playback the media.
open() - Method in class josx.vision.VisionEffect
Does nothing
openConnection() - Method in class java.net.URL
Create and open a URL connection using http get.
out - Variable in class java.io.DataOutputStream
 
out - Static variable in class josx.rcxcomm.RCXRemote
 
outputFormat - Variable in class josx.vision.VisionEffect
 
outputFormats - Variable in class josx.vision.VisionEffect
 

P

PI - Static variable in class java.lang.Math
 
PIXEL_THRESHOLD_INC - Static variable in class josx.vision.ColorEffect
 
PRGM - Static variable in class josx.platform.rcx.Button
The Prgm button.
PRGM_MASK - Static variable in class josx.platform.rcx.Poll
 
PROGRAM1 - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
PROGRAM2 - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
PROGRAM3 - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
PROGRAM4 - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
PROGRAM5 - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
PROPORTION_INC - Static variable in class josx.vision.ColorEffect
 
PacketHandler - class josx.rcxcomm.PacketHandler.
Abstract packet handler.
PacketHandler() - Constructor for class josx.rcxcomm.PacketHandler
 
PacketHandler(PacketHandler) - Constructor for class josx.rcxcomm.PacketHandler
 
PersistentMemoryArea - class josx.platform.rcx.PersistentMemoryArea.
A memory area for persistent storage.
Poll - class josx.platform.rcx.Poll.
Provides blocking access to events from the RCX.
Poll() - Constructor for class josx.platform.rcx.Poll
Constructor.
ProximitySensor - class josx.platform.rcx.ProximitySensor.
A 'sensor' to detect object proximity.
ProximitySensor(Sensor) - Constructor for class josx.platform.rcx.ProximitySensor
Constructor.
ProximitySensor(Sensor, int) - Constructor for class josx.platform.rcx.ProximitySensor
Constructor.
packetAvailable(byte[], int) - Method in interface josx.platform.rcx.SerialListener
Called when a packet is received through the IR.
packetAvailable(byte[], int) - Method in class josx.rcxcomm.remotecontrol.RemoteControlSensor
implements the SerialListener interface
listens for incoming packets on the IR port and notifies the registered listeners.
packetHandler - Variable in class josx.rcxcomm.RCXAbstractPort
 
passivate() - Method in class josx.platform.rcx.Sensor
Passivates the sensor.
pause(long) - Method in class josx.robotics.Activity
Wait at most 'time' milliseconds.
pause() - Method in class josx.robotics.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!
pixelThreshold - Static variable in class josx.vision.ColorEffect
 
playSound(String) - Static method in class josx.vision.Vision
Play an audio file
playToEndOfMedia(int) - Method in class josx.vision.Recorder
 
playTone(int, int) - Static method in class josx.platform.rcx.MinSound
Deprecated.  
playTone(int, int) - Static method in class josx.platform.rcx.Sound
Plays a tone, given its frequency and duration.
playTone(short, byte) - Static method in class josx.vision.RCX
Play a tone
poll(int, int) - Method in class josx.platform.rcx.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
pow(double, double) - Static method in class java.lang.Math
Power function.
print(String) - Static method in class josx.platform.rcx.TextLCD
Prints a string on the LCD.
print(char[]) - Static method in class josx.platform.rcx.TextLCD
Print up to the first 5 characters of a char array to the LCD.
printChar(char, int) - Static method in class josx.platform.rcx.TextLCD
Prints a character to a given position.
println(String, int, int, int, byte, byte, byte, Buffer) - Static method in class josx.vision.Font
Write text over the RGB image
process(Buffer, Buffer) - Method in class josx.vision.ColorEffect
 
process(Buffer, Buffer) - Method in class josx.vision.FlipEffect
Flip the data in each line
process(Buffer, Buffer) - Method in class josx.vision.MotionDetectionEffect
Process the image, detecting motion in the regions
process(Buffer, Buffer) - Method in class josx.vision.RegionEffect
 
processAddressingPacket(byte[], int, byte) - Method in interface josx.rcxcomm.AddressingHandler
Process the adressing packet.
processIntegrityPacket(byte[], int) - Method in interface josx.rcxcomm.IntegrityHandler
Process the broadcast integrity packet.
program1Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the program 1 button
program1Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the program 1 button
program2Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the program 2 button
program2Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the program 2 button
program3Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the program 3 button
program3Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the program 3 button
program4Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the program 4 button
program4Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the program 4 button
program5Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the program 5 button
program5Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the program 5 button
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 josx.util.RecyclableArray
 

Q

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

R

RANGE_LONG - Static variable in interface josx.platform.rcx.Segment
 
RANGE_SHORT - Static variable in interface josx.platform.rcx.Segment
 
RAW_VALUE - Static variable in interface josx.platform.rcx.SensorConstants
 
RCX - class josx.vision.RCX.
Remote execution of commands for vision control.
RCX() - Constructor for class josx.vision.RCX
 
RCXAbstractPort - class josx.rcxcomm.RCXAbstractPort.
RCXAbstractPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU RCXAbstractPort implements input and output stream handling and input buffering.
RCXAbstractPort(PacketHandler) - Constructor for class josx.rcxcomm.RCXAbstractPort
Constructor for the RCXAbstractPort.
RCXAbstractPort(String, PacketHandler) - Constructor for class josx.rcxcomm.RCXAbstractPort
Constructor for a named port (eg com1 or usb).
RCXBean - class josx.rcxcomm.RCXBean.
Handles communication with a LEGO RCX Based on original code by the LEGO3 Team at DTU-IAU
RCXBean() - Constructor for class josx.rcxcomm.RCXBean
Creates new RCXBean
RCXF7Port - class josx.rcxcomm.RCXF7Port.
RCXF7Port provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU This version of RCXPort uses Serial comms, not low-level comms.
RCXF7Port() - Constructor for class josx.rcxcomm.RCXF7Port
 
RCXF7Port(String) - Constructor for class josx.rcxcomm.RCXF7Port
 
RCXInputStream - class josx.rcxcomm.RCXInputStream.
RCXInputStream provides an interface similar to FileInputStream.
RCXInputStream() - Constructor for class josx.rcxcomm.RCXInputStream
Creates new RCXInputStream
RCXLNPAddressingPort - class josx.rcxcomm.RCXLNPAddressingPort.
RCXLNPAddressingPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU This version of RCXPort supports the Lego Network protocol (LNP) addressing layer.
RCXLNPAddressingPort(byte, byte) - Constructor for class josx.rcxcomm.RCXLNPAddressingPort
 
RCXLNPAddressingPort(String, byte, byte) - Constructor for class josx.rcxcomm.RCXLNPAddressingPort
 
RCXLNPPort - class josx.rcxcomm.RCXLNPPort.
RCXLNPPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU This version of RCXPort uses the Legos Network protocol (LNP).
RCXLNPPort() - Constructor for class josx.rcxcomm.RCXLNPPort
 
RCXLNPPort(String) - Constructor for class josx.rcxcomm.RCXLNPPort
 
RCXOutputStream - class josx.rcxcomm.RCXOutputStream.
Cut down version of RCXPort, which only supports writes.
RCXOutputStream() - Constructor for class josx.rcxcomm.RCXOutputStream
Creates new RCXOutputStream
RCXPort - class josx.rcxcomm.RCXPort.
RCXPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU Uses Reliable low-level comms for communication.
RCXPort() - Constructor for class josx.rcxcomm.RCXPort
 
RCXPort(String) - Constructor for class josx.rcxcomm.RCXPort
 
RCXRemote - class josx.rcxcomm.RCXRemote.
Utility class to support remote execution.
RCXRemote() - Constructor for class josx.rcxcomm.RCXRemote
 
ROM - class josx.platform.rcx.ROM.
Provides access to ROM routines.
ROM() - Constructor for class josx.platform.rcx.ROM
 
RUN - Static variable in class josx.platform.rcx.Button
The Run button.
RUN_MASK - Static variable in class josx.platform.rcx.Poll
 
Random - class java.util.Random.
Pseudo-random number generation.
Random(long) - Constructor for class java.util.Random
 
Recorder - class josx.vision.Recorder.
Video recorder
Recorder(String, int) - Constructor for class josx.vision.Recorder
Create the recorder.
Recyclable - interface josx.util.Recyclable.
Represents a recyclable object.
RecyclableArray - class josx.util.RecyclableArray.
A recyclable array.
Recycler - class josx.util.Recycler.
An abstract object recycler.
Recycler() - Constructor for class josx.util.Recycler
Constructs a recycler.
Region - class josx.vision.Region.
Representation of a region in the camera's field of view
Region(int, int, int, int) - Constructor for class josx.vision.Region
Create a region
RegionControl - class josx.vision.RegionControl.
Title: Lejos Vision System Description: REgion Control
RegionControl(RegionEffect) - Constructor for class josx.vision.RegionControl
Create the Region Control
RegionEffect - class josx.vision.RegionEffect.
 
RegionEffect() - Constructor for class josx.vision.RegionEffect
 
RemoteControlAdapter - class josx.rcxcomm.remotecontrol.RemoteControlAdapter.
This class is an adapter for the remote control listener.
RemoteControlAdapter() - Constructor for class josx.rcxcomm.remotecontrol.RemoteControlAdapter
creates a new instance of RemoteControlAdapter
RemoteControlListener - interface josx.rcxcomm.remotecontrol.RemoteControlListener.
This is an interface for remote control message handlers.
RemoteControlMessenger - class josx.rcxcomm.remotecontrol.RemoteControlMessenger.
This class is a Messenger for remote control messages.
RemoteControlMessenger() - Constructor for class josx.rcxcomm.remotecontrol.RemoteControlMessenger
creates a new instance of RemoteControlMessenger
RemoteControlSensor - class josx.rcxcomm.remotecontrol.RemoteControlSensor.
This class is a sensor for remote control messages.
RemoteControlSensor() - Constructor for class josx.rcxcomm.remotecontrol.RemoteControlSensor
creates a new instance of RemoteControlSensor
RemoteVisionConstants - interface josx.rcxcomm.RemoteVisionConstants.
 
RotationNavigator - class josx.robotics.RotationNavigator.
The RotationNavigator class contains methods for performing basic navigational movements.
RotationNavigator(float, float, float, Motor, Motor, Sensor, Sensor) - Constructor for class josx.robotics.RotationNavigator
Allocates a RotationNavigator object and initializes if with the proper motors and sensors.
RotationNavigator(float, float, float) - Constructor for class josx.robotics.RotationNavigator
Overloaded RotationNavigator constructor that assumes the following:
Left motor = Motor.A Right motor = Motor.C
Left rotation sensor = Sensor.S1 Right rotation sensor = Sensor.S3
Runtime - class java.lang.Runtime.
Minimalist version of the standard Java Runtime class.
RuntimeException - exception java.lang.RuntimeException.
 
RuntimeException() - Constructor for class java.lang.RuntimeException
 
random() - Static method in class java.lang.Math
Random number generator.
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.
read() - Static method in class josx.rcxcomm.LLC
read a single byte, if available
read() - Method in class josx.rcxcomm.RCXInputStream
Read a single byte from the InputStream.
read(byte[]) - Method in class josx.rcxcomm.Tower
Low-level read
readBoolean() - Method in class java.io.DataInputStream
 
readBooleanValue() - Method in class josx.platform.rcx.Sensor
Reads the boolean value of the sensor.
readButtons() - Static method in class josx.platform.rcx.Button
Low-level API that reads status of buttons.
readByte() - Method in class java.io.DataInputStream
 
readByte(int) - Static method in class josx.platform.rcx.Memory
 
readByte(int) - Method in class josx.platform.rcx.PersistentMemoryArea
Read the byte at index 'i'
readChar() - Method in class java.io.DataInputStream
 
readFloat() - Method in class java.io.DataInputStream
 
readInt() - Method in class java.io.DataInputStream
 
readPacket(byte[]) - Static method in class josx.platform.rcx.Serial
Reads a packet received by the RCX, if one is available.
readRawValue() - Method in class josx.platform.rcx.Sensor
Reads the raw value of the sensor.
readSensorValue(int, int) - Static method in class josx.platform.rcx.Sensor
Low-level API for reading sensor values.
readShort() - Method in class java.io.DataInputStream
 
readShort(int) - Static method in class josx.platform.rcx.Memory
 
readValue() - Method in class josx.platform.rcx.Sensor
Reads the canonical value of the sensor.
receive() - Static method in class josx.rcxcomm.LLC
wait a little while for a byte to become available
receive() - Method in class josx.rcxcomm.RCXBean
Receive a byte from the RCX.
receive(int) - Method in class josx.rcxcomm.RCXBean
Receive n bytes from the RCX.
receive(byte[]) - Method in class josx.rcxcomm.Tower
Receive a packet
receiveAck(byte[]) - Method in class josx.rcxcomm.LLCHandler
Receive a ack.
receiveAck(byte[]) - Method in class josx.rcxcomm.PacketHandler
 
receiveInt() - Method in class josx.rcxcomm.RCXBean
Receive a byte from the RCX.
receivePacket(byte[]) - Method in class josx.rcxcomm.F7DeliveryHandler
Receive a packet, and send an ack.
receivePacket(byte[]) - Method in class josx.rcxcomm.F7Handler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.LLCHandler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.LLCReliableHandler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.LNPAddressingHandler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.LNPHandler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.LNPIntegrityHandler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.PacketHandler
Receive a packet.
recycle(Recyclable) - Method in class josx.util.Recycler
Reclaims a Recyclable previously allocated with the allocate method.
refresh() - Static method in class josx.platform.rcx.LCD
Refreshes LCD.
refresh() - Static method in class josx.platform.rcx.MinLCD
Refreshes LCD.
release() - Method in class josx.util.AbstractRecyclable
Called by users when this Recyclable is no longer needed.
release() - Method in interface josx.util.Recyclable
Called when this Recyclable is no longer needed.
release() - Method in class josx.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
 
removeRemoteControlListener(RemoteControlListener) - Method in class josx.rcxcomm.remotecontrol.RemoteControlSensor
removes a remote control listener
requiredProportion - Static variable in class josx.vision.ColorEffect
 
reset() - Method in class java.io.InputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.
reset() - Static method in class josx.platform.rcx.MinuteTimer
Resets two-byte timer in the RCX.
reset() - Method in class josx.rcxcomm.LLCReliableHandler
Reset sequence numbers.
reset() - Method in class josx.rcxcomm.PacketHandler
Reset sequence numbers for this handler
reset() - Method in class josx.rcxcomm.RCXAbstractPort
Resets sequence numbers for this port
reset() - Method in class josx.vision.VisionEffect
Does nothing
resetRunnable() - Method in class josx.robotics.Activity
Reset the runnable activity.
resetSerial() - Static method in class josx.platform.rcx.Serial
Resets serial communications.
reverseDirection() - Method in class josx.platform.rcx.Motor
Reverses direction of the motor.
rotate(float) - Method in interface josx.robotics.Navigator
Rotates the RCX robot a specific number of degrees in a direction (+ or -).This method will return once the rotation is complete.
rotate(float) - Method in class josx.robotics.RotationNavigator
Rotates the RCX robot a specific number of degrees in a direction (+ or -).
rotate(float) - Method in class josx.robotics.TimingNavigator
Rotates the RCX robot a specific number of degrees in a direction (+ or -).This method will return once the rotation is complete.
rotateTo(int) - Method in class josx.platform.rcx.Servo
Set the motor rotating to the specified position.
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 josx.rcxcomm.LNP
Background thread to listen for incoming packets and call the appropriate listeners.
run() - Method in class josx.robotics.Activity
Thread entry point.
run() - Method in class josx.vision.Recorder
 

S

S1 - Static variable in class josx.platform.rcx.Sensor
Sensor labeled 1 on RCX.
S2 - Static variable in class josx.platform.rcx.Sensor
Sensor labeled 2 on RCX.
S3 - Static variable in class josx.platform.rcx.Sensor
Sensor labeled 3 on RCX.
SENSOR1_MASK - Static variable in class josx.platform.rcx.Poll
 
SENSOR2_MASK - Static variable in class josx.platform.rcx.Poll
 
SENSOR3_MASK - Static variable in class josx.platform.rcx.Poll
 
SENSORS - Static variable in class josx.platform.rcx.Sensor
Array containing all three sensors [0..2].
SENSOR_1_ACTIVE - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_1_VIEW - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_2_ACTIVE - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_2_VIEW - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_3_ACTIVE - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_3_VIEW - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_MODE_ANGLE - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_BOOL - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_DEGC - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_DEGF - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_EDGE - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_PCT - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_PULSE - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_RAW - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_LIGHT - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_RAW - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_ROT - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_TEMP - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_TOUCH - Static variable in interface josx.platform.rcx.SensorConstants
 
SERIAL_MASK - Static variable in class josx.platform.rcx.Poll
 
SERIAL_SHIFT - Static variable in class josx.platform.rcx.Poll
 
SOUND - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
STANDING - Static variable in interface josx.platform.rcx.Segment
 
STOP - Static variable in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
 
Segment - interface josx.platform.rcx.Segment.
LCD segment constants.
Sensor - class josx.platform.rcx.Sensor.
Abstraction for a sensor (considerably changed since alpha5).
SensorConstants - interface josx.platform.rcx.SensorConstants.
Constants for Sensor methods.
SensorListener - interface josx.platform.rcx.SensorListener.
Listener of sensor events.
Serial - class josx.platform.rcx.Serial.
Low-level API for infra-red (IR) communication between an RCX and the IR tower or between two RCXs.
SerialListener - interface josx.platform.rcx.SerialListener.
Listener of incomming serial data.
Serializable - interface java.io.Serializable.
This interface is not functional.
Servo - class josx.platform.rcx.Servo.
Implmentation of a servo using a Motor and a Rotation Sensor.
Servo(Sensor, Motor, int) - Constructor for class josx.platform.rcx.Servo
Constructor.
Servo(Sensor, Motor) - Constructor for class josx.platform.rcx.Servo
Constructor.
Socket - class java.net.Socket.
An RCX version of Socket that connects to TCP/IP ports via a proxy called SocketProxy running on the PC.
Socket(String, int) - Constructor for class java.net.Socket
Connects to a Socket via the proxy on the PC.
SocketProxy - class josx.rcxcomm.SocketProxy.
A Proxy for the RCX Socket interface.
Sound - class josx.platform.rcx.Sound.
RCX sound routines.
Stack - class java.util.Stack.
A LIFO stack of objects.
Stack() - Constructor for class java.util.Stack
creates a new Stack instance
StackOverflowError - error java.lang.StackOverflowError.
 
StackOverflowError() - Constructor for class java.lang.StackOverflowError
 
StopException - exception josx.robotics.StopException.
This exception indicates that an activity should stop.
StopException() - Constructor for class josx.robotics.StopException
 
String - class java.lang.String.
An immutable string of characters.
String(char[], int, int) - Constructor for class java.lang.String
Create a String from a character array.
StringBuffer - class java.lang.StringBuffer.
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 java.lang.StringUtils.
Utilities for non-standard String maniplulation.
System - class java.lang.System.
System utilities.
scanLeft() - Static method in class josx.vision.RCX
Scan left until stop or another command is executed.
scanLeft(int) - Static method in class josx.vision.RCX
Scan left n units.
scanRight() - Static method in class josx.vision.RCX
Scan right until stop or another command is executed.
scanRight(int) - Static method in class josx.vision.RCX
Scan right n units.
send(byte) - Method in class josx.rcxcomm.RCXBean
Send a byte to the RCX.
send(byte[]) - Method in class josx.rcxcomm.RCXBean
Send a byte array to the RCX
send(byte[], int) - Method in class josx.rcxcomm.Tower
send a packet to the RCX, e.g 0x10 for ping
send(byte[]) - Method in class josx.rcxcomm.remotecontrol.RemoteControlMessenger
sends a message via the LEGO Tower to the RCX
sendBytes(byte[], int) - Static method in class josx.rcxcomm.LLC
Send a number of bytes and wait for completion of transmission
sendInt(int) - Method in class josx.rcxcomm.RCXBean
Send an integer to the RCX.
sendPacket(byte[], int, int) - Static method in class josx.platform.rcx.Serial
Sends a packet to the IR tower or another RCX.
sendPacket(byte[], int) - Method in class josx.rcxcomm.F7DeliveryHandler
Send a packet, checking for returned ack.
sendPacket(byte[], int) - Method in class josx.rcxcomm.F7Handler
Send a packet.
sendPacket(byte[], int) - Method in class josx.rcxcomm.LLCHandler
Send a packet.
sendPacket(byte[], int) - Method in class josx.rcxcomm.LLCReliableHandler
Send a packet.
sendPacket(byte[], int) - Method in class josx.rcxcomm.LNPAddressingHandler
Send a packet, adding the source and destination addresses
sendPacket(byte[], int) - Method in class josx.rcxcomm.LNPHandler
Send a packet.
sendPacket(byte[], int) - Method in class josx.rcxcomm.LNPIntegrityHandler
Send a packet.
sendPacket(byte[], int) - Method in class josx.rcxcomm.PacketHandler
Send a packet.
set(int) - Method in class java.util.BitSet
 
setBit(int, int, int) - Static method in class josx.platform.rcx.Memory
 
setComPort(String) - Method in class josx.rcxcomm.RCXBean
Change or set which comPort should be used for communication with the RCX
setDaemon(boolean) - Method in class java.lang.Thread
 
setDataBuffer(byte[]) - Static method in class josx.platform.rcx.Serial
Sets the buffer that will be used to save data transferred with opcode 0x45.
setDelay(int) - Method in class josx.util.Timer
Change the delay between timedOut messages.
setElementAt(Object, int) - Method in class java.util.Vector
 
setError(int) - Method in class josx.rcxcomm.Tower
Setter for OS Error
setFast(int) - Method in class josx.rcxcomm.Tower
Set fast mode
setFrameRate(float) - Static method in class josx.vision.Vision
Set the frame rate
setImageSize(int, int) - Static method in class josx.vision.Vision
Set the size of the video viewer image
setInputFormat(Format) - Method in class josx.vision.VisionEffect
Set the input format.
setListen(boolean) - Method in class josx.rcxcomm.F7Handler
Set or unset the listen flag to keep a PC serial tower alive
setListen(boolean) - Method in class josx.rcxcomm.LLCHandler
Set or unset the listen flag to keep a PC serial tower alive
setListen(boolean) - Method in class josx.rcxcomm.LNPHandler
Set or unset the listen flag to keep a PC serial tower alive
setListen(boolean) - Method in class josx.rcxcomm.PacketHandler
Set or unset the listen flag to keep a PC serial tower alive
setListen(boolean) - Method in class josx.rcxcomm.RCXAbstractPort
Switch listening on and off on the PC, for a serial tower.
setMomentumDelay(short) - Method in class josx.robotics.TimingNavigator
A variable that adds extra time to each rotation.
setNextRecyclable(Recyclable) - Method in class josx.util.AbstractRecyclable
Stores a Recyclable object.
setNextRecyclable(Recyclable) - Method in interface josx.util.Recyclable
Stores a Recyclable object.
setNumber(int, int, int) - Static method in class josx.platform.rcx.LCD
Sets a number to be displayed in the LCD.
setNumber(int, int, int) - Static method in class josx.platform.rcx.MinLCD
Sets a number to be displayed in the LCD.
setOp(byte) - Method in class josx.rcxcomm.LNPIntegrityHandler
Set the opcode for the next write
setOutputFormat(Format) - Method in class josx.vision.VisionEffect
Set the output format.
setPower(int) - Method in class josx.platform.rcx.Motor
Sets motor power to a value between 0 and 7.
setPower(byte, byte) - Static method in class josx.vision.RCX
Set the power of selected motors
setPreviousValue(int) - Method in class josx.platform.rcx.Sensor
Resets the canonical sensor value.
setPriority(int) - Method in class java.lang.Thread
Set the priority of this thread.
setRangeLong() - Static method in class josx.platform.rcx.Serial
Sets long range transmision.
setRangeLong() - Static method in class josx.rcxcomm.LLC
Sets long range transmision.
setRangeShort() - Static method in class josx.platform.rcx.Serial
Sets short range transmision.
setRangeShort() - Static method in class josx.rcxcomm.LLC
Sets short range transmision.
setSegment(int) - Static method in class josx.platform.rcx.LCD
Sets an LCD segment.
setSize(int) - Method in class java.util.Vector
 
setThrottle(int) - Method in class josx.platform.rcx.Poll
Set a throttle on the regularity with which inputs are polled.
setTimeOut(int) - Method in class josx.rcxcomm.RCXAbstractPort
Setter for property timeOut.
setTimeOut(int) - Method in class josx.rcxcomm.RCXInputStream
Setter for timeout
setTypeAndMode(int, int) - Method in class josx.platform.rcx.Sensor
Sets the sensor's mode and type.
show - Variable in class josx.vision.RegionEffect
 
showNumber(int) - Static method in class josx.platform.rcx.LCD
Shows an unsigned number on the LCD.
showProgramNumber(int) - Static method in class josx.platform.rcx.LCD
Shows an digit in the Program section of the LCD.
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
 
snapshot(String) - Static method in class josx.vision.Vision
Take a snapshot
soundPressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the sound button
soundPressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the sound button
spinLeft() - Static method in class josx.vision.RCX
Spin left until stop or another command is executed.
spinLeft(int) - Static method in class josx.vision.RCX
Spin left n units.
spinRight() - Static method in class josx.vision.RCX
Spin right until stop or another command is executed.
spinRight(int) - Static method in class josx.vision.RCX
Spin right n units.
sqrt(double) - Static method in class java.lang.Math
Square root - thanks to Paulo Costa for donating the code.
start() - Method in class java.lang.Thread
 
start() - Static method in class josx.rcxcomm.RCXRemote
 
start() - Method in class josx.robotics.Arbitrator
This method starts the arbitration of Behaviors.
start() - Method in class josx.util.Timer
Starts the timer, telling it to send timeOut() methods to the TimerListener.
startListening(byte) - Static method in class josx.rcxcomm.LNP
Start listening for incoming broadcasts and addressing packets.
startRecorder(String, int) - Static method in class josx.vision.Vision
Start the video recorder
startViewer(String) - Static method in class josx.vision.Vision
Start the video viewer frame
stateChanged(Sensor, int, int) - Method in class josx.platform.rcx.ProximitySensor
Called from a thread private to sensor that runs at MAX_PRIORITY If newValue > oldValue by more than the threshhold, notify anything wait()ing on the sensor.
stateChanged(Sensor, int, int) - Method in interface josx.platform.rcx.SensorListener
Called when the canonical value of the sensor changes.
stateChanged(Sensor, int, int) - Method in class josx.platform.rcx.Servo
Called by the sensor listener thread when the value of the rotation sensor changes.
stateChanged(ChangeEvent) - Method in class josx.vision.ColorDetectionControl
Set the threshold value
stateChanged(ChangeEvent) - Method in class josx.vision.MotionDetectionControl
Set the threshold value
stop() - Method in class josx.platform.rcx.Motor
Causes motor to stop, pretty much instantaneously.
stop() - Static method in class josx.rcxcomm.RCXRemote
 
stop() - Method in interface josx.robotics.Navigator
Halts the RCX robot and calculates new x, y coordinates.
stop() - Method in class josx.robotics.RotationNavigator
Halts the RCX robot and calculates new x, y coordinates.
stop() - Method in class josx.robotics.TimingNavigator
Halts the RCX robot and calculates new x, y coordinates.
stop() - Method in class josx.util.Timer
Stops the timer. timedOut() messages are not sent.
stop() - Static method in class josx.vision.RCX
Stop all motors
stopPressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the stop button
stopPressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the stopp button
stopRecording() - Static method in class josx.vision.Recorder
 
stopRecording() - Static method in class josx.vision.Vision
 
stopViewer() - Static method in class josx.vision.Vision
Close Video viewer
strerror(int) - Method in class josx.rcxcomm.Tower
Converts an error number to a string Note you should negate the error number before passing it to this method as this method expects a positive value.
suppress() - Method in interface josx.robotics.Behavior
The code in suppress() should stop the current behavior.
systemSound(boolean, int) - Static method in class josx.platform.rcx.Sound
Play a system sound.

T

THRESHOLD_INC - Variable in class josx.vision.MotionDetectionEffect
By what value you should increment.
THRESHOLD_INIT - Variable in class josx.vision.MotionDetectionEffect
The initial threshold setting.
THRESHOLD_MAX - Variable in class josx.vision.MotionDetectionEffect
Maximum threshold setting.
TextLCD - class josx.platform.rcx.TextLCD.
Display text on the LCD screen.
Thread - class java.lang.Thread.
A thread of execution (or task).
Thread() - Constructor for class java.lang.Thread
 
Thread(String) - Constructor for class java.lang.Thread
 
ThreadDeath - error java.lang.ThreadDeath.
This is a special Error, which isn't reported by the VM if uncaught.
ThreadDeath() - Constructor for class java.lang.ThreadDeath
 
Throwable - class java.lang.Throwable.
All exceptions and errors extend this class.
Throwable() - Constructor for class java.lang.Throwable
 
Timer - class josx.util.Timer.
Timer object, with some similar functionality to java.Swing.Timer.
Timer(int, TimerListener) - Constructor for class josx.util.Timer
Create a Timer object.
TimerListener - interface josx.util.TimerListener.
Listener used with Timer.
TimingNavigator - class josx.robotics.TimingNavigator.
The Navigator class contains methods for performing basic navigational movements.
TimingNavigator(Motor, Motor, float, float) - Constructor for class josx.robotics.TimingNavigator
Allocates a Navigator object and initializes if with the left and right wheels.
Tower - class josx.rcxcomm.Tower.
Low-level interface to the Lego IR Tower Used by RCXPort to send and receive messages to and from the RCX.
Tower() - Constructor for class josx.rcxcomm.Tower
Create the tower class
takeControl() - Method in interface josx.robotics.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 josx.util.Assertion
 
testEQ(String, int, int) - Static method in class josx.util.Assertion
If the actual value is not equal to the expected value, throw an Error.
threshold - Variable in class josx.vision.MotionDetectionEffect
The threshold for determing if the pixel at a certain location has changed consideribly.
tiltDown(int) - Static method in class josx.vision.RCX
Tilt the camera down n units
tiltUp(int) - Static method in class josx.vision.RCX
Tilt the camera up n units
timedOut() - Method in interface josx.util.TimerListener
Called every time the Timer fires.
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.
travel(int) - Method in interface josx.robotics.Navigator
Moves the RCX robot a specific distance.
travel(int) - Method in class josx.robotics.RotationNavigator
Moves the RCX robot a specific distance.
travel(int) - Method in class josx.robotics.TimingNavigator
Moves the RCX robot a specific distance.
trimToSize() - Method in class java.util.Vector
 
turnLeft() - Static method in class josx.vision.RCX
Turn left until stop or another command is executed.
turnLeft(int) - Static method in class josx.vision.RCX
Turn left n units.
turnRight() - Static method in class josx.vision.RCX
Turn right until stop or another command is executed.
turnRight(int) - Static method in class josx.vision.RCX
Turn right n units.
twoBeeps() - Static method in class josx.platform.rcx.Sound
Beeps twice.

U

UPLOAD - Static variable in interface josx.platform.rcx.Segment
 
URL - class java.net.URL.
An RCX version of URL that uses the RCX version of Socket.
URL(String) - Constructor for class java.net.URL
Create a URL from the supplied string.
URLConnection - class java.net.URLConnection.
An RCX version of URLConnection that uses the RCX version of Socket.
URLConnection(String, int, String) - Constructor for class java.net.URLConnection
Connects to a Socket via the proxy on the PC.

V

VIEW - Static variable in class josx.platform.rcx.Button
The View button.
VIEW_MASK - Static variable in class josx.platform.rcx.Poll
 
Vector - class java.util.Vector.
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
 
Vision - class josx.vision.Vision.
Java version of Vision Command.
Vision(String) - Constructor for class josx.vision.Vision
Create the viewer frame with a title.
VisionEffect - class josx.vision.VisionEffect.
Abstract Effect that specific Vision Effects inherit from
VisionEffect() - Constructor for class josx.vision.VisionEffect
Create the Effect.
validateByteArraySize(Buffer, int) - Method in class josx.vision.VisionEffect
Validate that the Buffer conforms to the expected format, and create a new byte array if not.
valueOf(Object) - Static method in class java.lang.String
Converts an Object to a String

W

WALKING - Static variable in interface josx.platform.rcx.Segment
 
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.
waitForPressAndRelease() - Method in class josx.platform.rcx.Button
Wait until the button is released.
waitTillNear(long) - Method in class josx.platform.rcx.ProximitySensor
Block the current thread until a near object is detected.
waitTillSent() - Static method in class josx.platform.rcx.Serial
Wait until a message has been sent.
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.
write(int) - Method in class josx.rcxcomm.RCXOutputStream
Write a byte to the OutputStream.
write(byte[], int) - Method in class josx.rcxcomm.Tower
Write low-level bytes to the tower, e.g 0xff550010ef10ef for ping
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.
writeByte(int, byte) - Static method in class josx.platform.rcx.Memory
 
writeByte(int, byte) - Method in class josx.platform.rcx.PersistentMemoryArea
Write a byte at index 'i'
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.
writeImage(String, byte[], int, int) - Static method in class josx.vision.Vision
Write to fn file the data using the width, height variables.
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.
writeShort(int, short) - Static method in class josx.platform.rcx.Memory
 
written - Variable in class java.io.DataOutputStream
 

Y

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

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