All Packages  Class Hierarchy

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

Index of all Fields and Methods

C

CLEAR. Static variable in interface pbsim.SoundListener
control code for cancelling all pending sounds

D

deliverMessage(int). Method in class pbsim.PBrick
Deliver a message to the PBrick.
DISPLAY_OUT_A. Static variable in class pbsim.Display
DISPLAY_OUT_B. Static variable in class pbsim.Display
DISPLAY_OUT_C. Static variable in class pbsim.Display
DISPLAY_SENSOR_1. Static variable in class pbsim.Display
DISPLAY_SENSOR_2. Static variable in class pbsim.Display
DISPLAY_SENSOR_3. Static variable in class pbsim.Display
DISPLAY_USER. Static variable in class pbsim.Display
DISPLAY_WATCH. Static variable in class pbsim.Display

E

EX_ILLEGAL_OPCODE. Static variable in interface pbsim.DebugListener
EX_JAVA_EXCEPTION. Static variable in interface pbsim.DebugListener
EX_UNKNOWN_OPCODE. Static variable in interface pbsim.DebugListener
EX_UNKNOWN_SOURCE. Static variable in interface pbsim.DebugListener

F

FAST. Static variable in class pbsim.SimThread
Fragment(int, int, byte[]). Constructor for class pbsim.Fragment

G

getActiveEvents(). Method in class pbsim.Task
getBoolValue(). Method in class pbsim.Sensor
getChar(int). Method in class pbsim.Display
getCode(). Method in class pbsim.Fragment
getDatalog(). Method in class pbsim.PBrick
Get the datalog.
getDisplay(). Method in class pbsim.PBrick
getForward(). Method in class pbsim.Output
getFragment(int). Method in class pbsim.Program
getFragmentCount(). Method in class pbsim.Program
getId(). Method in class pbsim.Fragment
getId(). Method in class pbsim.Output
getId(). Method in class pbsim.Sensor
getId(). Method in class pbsim.Task
getLength(). Method in class pbsim.Datalog
getMode(). Method in class pbsim.Display
getMode(). Method in class pbsim.Output
getMode(). Method in class pbsim.Sensor
getOutput(int). Method in class pbsim.PBrick
Get a specified output.
getOutputCount(). Method in class pbsim.PBrick
Get the number of outputs supported by the PBrick.
getPoint(). Method in class pbsim.Display
getPos(). Method in class pbsim.Datalog
getPower(). Method in class pbsim.Output
getRawValue(). Method in class pbsim.Sensor
getSensor(int). Method in class pbsim.PBrick
Get a specified sensor.
getSensorCount(). Method in class pbsim.PBrick
Get the number of sensors supported by the PBrick.
getSpeed(). Method in class pbsim.SimThread
Get the current speed of the simulation thread.
getState(). Method in class pbsim.Task
getTag(int). Method in class pbsim.Datalog
getTicks(). Method in class pbsim.PBrick
Get the system tick count.
getType(). Method in class pbsim.Fragment
getType(). Method in class pbsim.Sensor
getValue(). Method in class pbsim.Display
getValue(). Method in class pbsim.Sensor
getValue(int). Method in class pbsim.Datalog
getWatch(). Method in class pbsim.PBrick
Get the system watch.

I

IDLE. Static variable in class pbsim.Task
ILLEGAL_TEMP_VALUE. Static variable in class pbsim.Sensor
INDEX_MASK. Static variable in class pbsim.Datalog
isRunning(). Method in class pbsim.PBrick
Check if a program is running.

L

load(Program). Method in class pbsim.PBrick
Load a program into the "active" slot.

M

main(String[]). Static method in class pbtest.RCXTest
MAX_CUMULATIVE_VALUE. Static variable in class pbsim.Sensor
MAX_INT. Static variable in class pbsim.PBrick
MAX_RAW_VALUE. Static variable in class pbsim.Sensor
MIN_CUMULATIVE_VALUE. Static variable in class pbsim.Sensor
MIN_INT. Static variable in class pbsim.PBrick
MODE_BOOL. Static variable in class pbsim.Sensor
MODE_CELSIUS. Static variable in class pbsim.Sensor
MODE_EDGE. Static variable in class pbsim.Sensor
MODE_FAHRENHEIT. Static variable in class pbsim.Sensor
MODE_MASK. Static variable in class pbsim.Sensor
MODE_PERCENT. Static variable in class pbsim.Sensor
MODE_PULSE. Static variable in class pbsim.Sensor
MODE_RAW. Static variable in class pbsim.Sensor
MODE_ROTATION. Static variable in class pbsim.Sensor
MUTE. Static variable in interface pbsim.SoundListener
control code for muting all sound

N

NORMAL. Static variable in class pbsim.SimThread

O

OUT_FLOAT. Static variable in class pbsim.Output
OUT_FULL. Static variable in class pbsim.Output
OUT_FWD. Static variable in class pbsim.Output
OUT_OFF. Static variable in class pbsim.Output
OUT_ON. Static variable in class pbsim.Output
OUT_REV. Static variable in class pbsim.Output
OUT_TOGGLE. Static variable in class pbsim.Output

P

PAUSED. Static variable in class pbsim.SimThread
pbControlSound(int). Method in class pbtest.RCXTest
pbControlSound(int). Method in interface pbsim.SoundListener
This method is called when the sound system is altered.
pbDisplayModeChanged(Display). Method in interface pbsim.DisplayListener
pbDisplayValueChanged(Display). Method in interface pbsim.DisplayListener
pbException(int, int, int, int, Object). Method in interface pbsim.DebugListener
pbException(int, int, int, int, Object). Method in class pbtest.RCXTest
pbMessageSent(int). Method in interface pbsim.MessageListener
This method is called when an IR message is sent
pbOutputChanged(Output). Method in interface pbsim.OutputListener
This method is called when an output changes mode, direction, or power level.
pbOutputChanged(Output). Method in class pbtest.RCXTest
pbPlaySound(int). Method in class pbtest.RCXTest
pbPlaySound(int). Method in interface pbsim.SoundListener
This method is called when a system sound is played.
pbPlayTone(int, int). Method in class pbtest.RCXTest
pbPlayTone(int, int). Method in interface pbsim.SoundListener
This method is called when a tone is played.
pbSensorChanged(Sensor). Method in interface pbsim.SensorListener
This method is called when a sensor's mode or type is changed.
pbTaskChanged(Task). Method in interface pbsim.DebugListener
pbTaskChanged(Task). Method in class pbtest.RCXTest
percentToRaw(int). Static method in class pbsim.Sensor
convert a percent back to a raw value.
Program(int). Constructor for class pbsim.Program

R

RCX(). Constructor for class pbsim.RCX
RCXIFormatException(). Constructor for class pbsim.RCXIFormatException
RCXIReader(InputStream). Constructor for class pbsim.RCXIReader
Instantiate a new reader for the given InputStream
readProgram(). Method in class pbsim.RCXIReader
Read the file and create a Program object.
reset(). Method in class pbsim.PBrick
Reset the PBrick.
run(). Method in class pbsim.SimThread
runFor(int). Method in class pbsim.PBrick
Execute for a specified number of simulation ticks.
RUNNING. Static variable in class pbsim.Task

S

SENSOR. Static variable in class pbsim.Datalog
setCumulativeValue(int). Method in class pbsim.Sensor
set the processed value of a sensor that is in a cumulative mode (MODE_ROTATION, MODE_EDGE, or MODE_PULSE).
setDebugListener(DebugListener). Method in class pbsim.PBrick
Set the listener to be used for Debug events
setDisplayListener(DisplayListener). Method in class pbsim.PBrick
Set the listener used for display events.
setFragment(int, Fragment). Method in class pbsim.Program
setListener(DisplayListener). Method in class pbsim.Display
setListener(OutputListener). Method in class pbsim.Output
setListener(SensorListener). Method in class pbsim.Sensor
setMessageListener(MessageListener). Method in class pbsim.PBrick
Set the listener to be used for Message events
setOutputListener(OutputListener). Method in class pbsim.PBrick
Set the listener to be used for output events
setRawValue(int). Method in class pbsim.Sensor
set the raw value of a sensor.
setSensorListener(SensorListener). Method in class pbsim.PBrick
Set the listener to be used for sensor events
setSoundListener(SoundListener). Method in class pbsim.PBrick
Set the listener to be used for Sound events
setSpeed(int). Method in class pbsim.SimThread
Change the speed of the simulation thread.
SimThread(PBrick). Constructor for class pbsim.SimThread
Create a simulation thread for the specified PBrick.
SLEEPING. Static variable in class pbsim.Task
SLOPE_MASK. Static variable in class pbsim.Sensor
start(). Method in class pbsim.PBrick
Start the current program.
step(). Method in class pbsim.PBrick
Execute one bytecode instruction.
stop(). Method in class pbsim.PBrick
Stop the current program.
SUB_FRAGMENT. Static variable in class pbsim.Fragment
switchProgram(int). Method in class pbsim.PBrick
Select which program slot should be "active".

T

TASK_FRAGMENT. Static variable in class pbsim.Fragment
TIMER. Static variable in class pbsim.Datalog
toString(). Method in class pbsim.Display
TYPE_LIGHT. Static variable in class pbsim.Sensor
TYPE_MASK. Static variable in class pbsim.Datalog
TYPE_NONE. Static variable in class pbsim.Sensor
TYPE_ROTATION. Static variable in class pbsim.Sensor
TYPE_TEMPERATURE. Static variable in class pbsim.Sensor
TYPE_TOUCH. Static variable in class pbsim.Sensor

U

UNMUTE. Static variable in interface pbsim.SoundListener
control code for un-muting all sound

V

VARIABLE. Static variable in class pbsim.Datalog

W

WATCH. Static variable in class pbsim.Datalog
WIDTH. Static variable in class pbsim.Display