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

A

About - class main.About.
Provides a dialog box to get color selection parameters from the user
About() - Constructor for class main.About
Displays a dialog box to get initial robot parameters, and creates and creates a new SimRCX wth these values.
AbstractRobot - interface interfaces.AbstractRobot.
Interface class for both real and simulated robots.
AdaptiveClassLoader - class main.AdaptiveClassLoader.
 
AdaptiveClassLoader(Vector) - Constructor for class main.AdaptiveClassLoader
Creates a new class loader that will load classes from specified class repositories.
accept(File) - Method in class util.FileChooserFilter
This implements javax.swing.filechooser.FileFilter functionality.
actionPerformed(ActionEvent) - Method in class intellego.IntroScene
Execution method for timer event.
actionPerformed(ActionEvent) - Method in class main.ColorOptionDialog
Action event handler - sets up color code according to user selection
actionPerformed(ActionEvent) - Method in class main.GridOptionDialog
Action event handler - sets up color code according to user selection
actionPerformed(ActionEvent) - Method in class main.HelpDialog
Performs the 'back' and 'forward' button commands, resulting from the passed event.
actionPerformed(ActionEvent) - Method in class main.InitRobotDialog
Action event handler - creates a robot according to user input, having check that the input is valid.
actionPerformed(ActionEvent) - Method in class main.LightSensorPropertiesDialog
Action event handler - sets up color code according to user selection
actionPerformed(ActionEvent) - Method in class main.ObjectEditDialog
Action event handler - sets up color code according to user selection
actionPerformed(ActionEvent) - Method in class main.RobotRotation
Action event handler
actionPerformed(ActionEvent) - Method in class main.SaveWorldDialog
Action event handler
actionPerformed(ActionEvent) - Method in class main.VerificationPopUp
Action event handler - downloads the lejos firmware to the robot
activate() - Method in interface interfaces.AbstractRobot
Activates the light and touch sensors Created by: Simon Zienkiewicz
activate() - Method in class real.RealRCX
Methods required by AbstractRobot
activate() - Method in class simworldobjects.SimRCX
 
addController(Controller) - Method in class main.SimUI
Adds a controller to this simulation
addMessage(String) - Method in class util.IntellegoLog
Adds a message string to the log file
addObject(SimObject) - Method in interface interfaces.SimWorld
Adds an object to this SimWorld
addObject(SimObject) - Method in class simworldobjects.BasicSimWorld
Adds an object to the back of this SimWorld
addObjecttoFront(SimObject) - Method in class simworldobjects.BasicSimWorld
Adds an object to the front of any Robot object/part in the list Added by: Simon Zienkiewicz
addRobot() - Method in class main.SimUI
Allows the user to pick a robot class, and loads it into this simulation
addToLog(String) - Static method in class intellego.Intellego
Adds a message to the log
append(String) - Method in class main.ExternalMessager
Appends a message to the message pane of the main window

B

BACKWARD - Static variable in interface interfaces.AbstractRobot
constant for single motor to move backwards
BasicSimObject - class simworldobjects.BasicSimObject.
Abstract class for SimObjects, provides a base implementation of the SimObject interface which more complex objects can extend.
BasicSimObject(double, double, double, String, double, double, double, double, double) - Constructor for class simworldobjects.BasicSimObject
 
BasicSimWorld - class simworldobjects.BasicSimWorld.
Abstract class for SimWorlds, provides a base implementation of the SimWorld interface which more complex worlds can extend.
BasicSimWorld(long, long, long) - Constructor for class simworldobjects.BasicSimWorld
Sets up the basic sim world
BasicSimWorld(long, long, long, Color) - Constructor for class simworldobjects.BasicSimWorld
Sets up the basic sim world Created by: Simon Zienkiewicz
backward() - Method in interface interfaces.AbstractRobot
Sets the robot moving backwards, this will continue until some other method is called to stop it
backward(int) - Method in interface interfaces.AbstractRobot
Makes the robot move backwards for the given amount of time
backward() - Method in class real.RealRCX
Sets the robot moving backwards, this will continue until some other method is called to stop it.
backward(int) - Method in class real.RealRCX
Makes the robot move backwards for the given amount of time
backward() - Method in class simworldobjects.SimRCX
Sets the robot moving backwards, this will continue until some other method is called to stop it.
backward(int) - Method in class simworldobjects.SimRCX
Makes the robot move backwards for the given amount of time
beep() - Method in interface interfaces.AbstractRobot
Makes the robot beep
beep() - Method in class real.RealRCX
Makes the robot beep
beep() - Method in class simworldobjects.SimRCX
Makes the robot beep

C

CodeEditor - class main.CodeEditor.
Provides a simple textual code editor
CodeEditor() - Constructor for class main.CodeEditor
Creates a new instance of CodeEditor
ColorOptionDialog - class main.ColorOptionDialog.
Provides a dialog box to get color selection parameters from the user
ColorOptionDialog(SimUI) - Constructor for class main.ColorOptionDialog
Used to change the colours of objects located within the Simulation environment.
Controller - class interfaces.Controller.
Interface class for all controllers.
Controller() - Constructor for class interfaces.Controller
 
ControllerDL - class real.ControllerDL.
This class provides the functionality necessary to download an Intellego Controller to the real RCX robot.
ControllerDL(File, File) - Constructor for class real.ControllerDL
Constructor: attempts to download the controller file passed to it.
call() - Method in class main.LightSensorPropertiesDialog
Shows the dialog to the user.
callOK() - Method in class main.InitRobotDialog
 
clearLCD() - Method in interface interfaces.AbstractRobot
Clears the display on the LCD Modified by: Simon Zienkiewicz
clearLCD() - Method in class real.RealRCX
Clears the display on the LCD Modified by: Simon Zienkiewicz
clearLCD() - Method in class simworldobjects.SimRCX
Clears the display on the LCD Modified by: Simon Zienkiewicz
close() - Static method in class simworldobjects.Sound
 
colliding(SimObject, SimObject) - Method in class simworldobjects.BasicSimWorld
Checks if SimObject o is colliding with SimObject p.
copyList(LinkedList) - Method in class main.SimUI
Copies the entire contents of one linked list and returns a new linked list of the same size and contents.
createCodeEditorFrame() - Static method in class main.MainInterface
Creates a new code editor window
createColorPopUp() - Method in class main.ColorOptionDialog
Creates and displays the Popup dialog witht the Simulation environment
createController(File) - Method in class main.SimUI
Dynamically loads a controller class Modified by: Simon Zienkiewicz
createExternalMessagerFrame(int) - Static method in class main.MainInterface
Creates a new window to display messages from external processes
createFile(String) - Method in class real.ControllerDL
Creates a Java file with a main method to allow the controller to be run in the real RCX.
createGridPopUp(String, GridDisplay, SimDisplay, SimUI) - Method in class main.GridOptionDialog
Creates and displays a grid popup menu.
createLightSensorPropertiesPopUp() - Method in class main.LightSensorPropertiesDialog
Creates and displays a LightSensorProperties popup.
createNewFile() - Method in class main.CodeEditor
Creates a new editor pane which hosts a new file.
createObjectEditorPopUp() - Method in class main.ObjectEditDialog
Creates the actual popup dialog.
createPopUpWindow(String, int, int, String, int, CodeEditor) - Method in class main.VerificationPopUp
Displays a dialog box to make the user verify that they want to upload the firmware onto the real robot.
createRobot(SimWorld, Controller, SimDisplay, SimUI) - Method in class main.InitRobotDialog
Creates a robot object from given parameters.
createRobotRotation() - Method in class main.RobotRotation
Creates the actual robot rotation dialog.
createSaveWorldPopUp(String, SimWorld, String) - Method in class main.SaveWorldDialog
Creates a dialog box for the user to save their simulation world.
createSimWorld(String) - Method in class main.SimUI
Dynamically loads a simworld class
createSimulatorFrame() - Method in class main.MainInterface
Creates a new simulator window
createSimulatorFrame(File) - Static method in class main.MainInterface
Creates a new simulator window with the specified controller preloaded
createTimer(int) - Method in interface interfaces.AbstractRobot
Creates a timer Created by: Simon Zienkiewicz
createTimer(int) - Method in class real.RealRCX
 
createTimer(int) - Method in class simworldobjects.SimRCX
 

D

displayMessage(String) - Static method in class main.MainInterface
Displays messages to the user in a dialog box
displayNumberLCD(int) - Method in interface interfaces.AbstractRobot
Display numbers on the LCD Created by: Simon Zienkiewicz
displayNumberLCD(int) - Method in class real.RealRCX
Display numbers on the LCD Modified by: Simon Zienkiewicz
displayNumberLCD(int) - Method in class simworldobjects.SimRCX
Display numbers on the LCD Modified by: Simon Zienkiewicz
displayTextLCD(String) - Method in interface interfaces.AbstractRobot
Display text on the LCD Created by: Simon Zienkiewicz
displayTextLCD(String) - Method in class real.RealRCX
Display text on the LCD Modified by: Simon Zienkiewicz
displayTextLCD(String) - Method in class simworldobjects.SimRCX
Display text on the LCD Modified by: Simon Zienkiewicz

E

ExternalMessager - class main.ExternalMessager.
Provides a window which displays messages from external processes to the user, within the main interface.
ExternalMessager(int) - Constructor for class main.ExternalMessager
Sets up the message display window

F

FORWARD - Static variable in interface interfaces.AbstractRobot
constant for single motor to move forwards
FileChooserFilter - class util.FileChooserFilter.
This class provides a simple javax.swing.filechooser.FileFilter implementation that accepts files based on their extension, or if they are a directory (to allow traversal of the filesystem).
FileChooserFilter(String[], String) - Constructor for class util.FileChooserFilter
This method instantiates a new FileChooser filter.
FileChooserFilter(Object[], String) - Constructor for class util.FileChooserFilter
This method instantiates a new FileChooser filter.
forward() - Method in interface interfaces.AbstractRobot
Sets the robot moving forwards, this will continue until some other method is called to stop it
forward(int) - Method in interface interfaces.AbstractRobot
Makes the robot move forwards for the given amount of time
forward() - Method in class real.RealRCX
Sets the robot moving forwards, this will continue until some other method is called to stop it.
forward(int) - Method in class real.RealRCX
Makes the robot move forwards for the given amount of time
forward() - Method in class simworldobjects.SimRCX
Sets the robot moving forwards, this will continue until some other method is called to stop it.
forward(int) - Method in class simworldobjects.SimRCX
Makes the robot move forwards for the given amount of time

G

GridDisplay - class main.GridDisplay.
Provides a grid display for any SimWorld
GridDisplay(int, int, int, Color, Color, boolean) - Constructor for class main.GridDisplay
Sets up the grid display
GridOptionDialog - class main.GridOptionDialog.
Provides a dialog box to allow the user to set the their perferred setting for the grid display option, within the simulation environment.
GridOptionDialog() - Constructor for class main.GridOptionDialog
Creates a GridOptionDialog object.
getActualBearingVelocityXY() - Method in interface interfaces.SimObject
Returns this objects actual bearing velocity in the XY plane
getActualBearingVelocityXY() - Method in class simworldobjects.BasicSimObject
 
getActualBearingVelocityXY() - Method in class simworldobjects.SimSensor
 
getActualBearingVelocityXZ() - Method in interface interfaces.SimObject
Returns this objects actual bearing velocity in the XZ plane
getActualBearingVelocityXZ() - Method in class simworldobjects.BasicSimObject
 
getActualBearingVelocityXZ() - Method in class simworldobjects.SimSensor
 
getActualBearingXY() - Method in interface interfaces.SimObject
Returns this objects actual bearing in the XY plane
getActualBearingXY() - Method in class simworldobjects.BasicSimObject
 
getActualBearingXY() - Method in class simworldobjects.SimSensor
 
getActualBearingXZ() - Method in interface interfaces.SimObject
Returns this objects actual bearing in the XZ plane
getActualBearingXZ() - Method in class simworldobjects.BasicSimObject
 
getActualBearingXZ() - Method in class simworldobjects.SimSensor
Returns this sensor's XZ bearing (the same as the owning SimObject's bearing)
getActualVelocity() - Method in interface interfaces.SimObject
Returns this objects actual velocity.
getActualVelocity() - Method in class simworldobjects.BasicSimObject
 
getActualVelocity() - Method in class simworldobjects.SimSensor
 
getBooleanValue() - Method in class simworldobjects.SimTouchSensor
Returns the current boolean value of this sensor, a 'true' if it is touching something or 'false' if it is not.
getBrightness(double, double, double) - Method in interface interfaces.SimWorld
Returns the light level at the specified co-ordinate.
getBrightness(double, double, double) - Method in class simworldobjects.BasicSimWorld
Returns the light level at the specified co-ordinate.
getBrightness() - Method in class simworldobjects.SimLight
Returns the brightness of this light, this will always be a value between 0 and 100
getClassName(String, String) - Method in class main.SimUI
Gets the class name of the required class from the user using a JFileChooser
getColor() - Method in class simworldobjects.SimGround
 
getColor() - Method in class simworldobjects.SimRoad
 
getColorInfo() - Method in class simworldobjects.LightSensorColorLibrary
 
getColorUnderLightSensor(SimLightSensor) - Method in class simworldobjects.BasicSimWorld
Gets the color under the position of the light sensor
getCurrentValue() - Method in class simworldobjects.SimLightSensor
Returns the present value of the sensor.
getCurrentValue() - Method in class simworldobjects.SimTouchSensor
 
getDelay(int) - Method in interface interfaces.AbstractRobot
Gets the delay from the requested timer Created by: Simon Zienkiewicz
getDelay(int) - Method in class real.RealRCX
 
getDelay(int) - Method in class simworldobjects.SimRCX
 
getDescription() - Method in class util.FileChooserFilter
This is used to provide the JFileChooser with information on what the accept mapping represents.
getDesiredBearingVelocityXY() - Method in interface interfaces.SimObject
Returns this objects desired bearing velocity in the XY plane
getDesiredBearingVelocityXY() - Method in class simworldobjects.BasicSimObject
 
getDesiredBearingVelocityXY() - Method in class simworldobjects.SimSensor
 
getDesiredBearingVelocityXZ() - Method in interface interfaces.SimObject
Returns this objects desired bearing velocity in the XZ plane
getDesiredBearingVelocityXZ() - Method in class simworldobjects.BasicSimObject
 
getDesiredBearingVelocityXZ() - Method in class simworldobjects.SimSensor
 
getDesiredVelocity() - Method in interface interfaces.SimObject
Returns this objects desired velocity.
getDesiredVelocity() - Method in class simworldobjects.BasicSimObject
 
getDesiredVelocity() - Method in class simworldobjects.SimSensor
 
getHeight() - Method in interface interfaces.SimObject
Returns this object's height
getHeight() - Method in class simworldobjects.BasicSimObject
 
getHeight() - Method in class simworldobjects.SimSensor
 
getInstrumentList() - Static method in class simworldobjects.Sound
 
getLCDOutput() - Method in class simworldobjects.SimRCX
 
getLength() - Method in interface interfaces.SimObject
Returns this object's length
getLength() - Method in class simworldobjects.BasicSimObject
 
getLength() - Method in class simworldobjects.SimSensor
 
getLowerErrorInfo() - Method in class simworldobjects.LightSensorColorLibrary
 
getLowerRangeInfo() - Method in class simworldobjects.LightSensorColorLibrary
 
getMotorPower() - Method in interface interfaces.AbstractRobot
Gets the power of the motors for the robot Created by: Simon Zienkiewicz
getMotorPower() - Method in class real.RealRCX
Gets the power of the motors for the robot Modified by: Simon Zienkiewicz
getMotorPower() - Method in class simworldobjects.SimRCX
Gets the power of the motors for the robot Modified by: Simon Zienkiewicz
getObjectList() - Method in interface interfaces.SimWorld
Returns this SimWorld's object list
getObjectList() - Method in class simworldobjects.BasicSimWorld
Returns this SimWorld's object list
getOutlineColor() - Method in class simworldobjects.SimGround
 
getOutlineColor() - Method in class simworldobjects.SimWall
 
getOwner() - Method in class simworldobjects.SimSensor
 
getPosition() - Method in class simworldobjects.SimSensor
 
getPreviousValue() - Method in class simworldobjects.SimLightSensor
Returns the previous value read by the sensor.
getPreviousValue() - Method in class simworldobjects.SimTouchSensor
 
getResource(String) - Method in class main.AdaptiveClassLoader
Find a resource with a given name.
getResourceAsStream(String) - Method in class main.AdaptiveClassLoader
Get an InputStream on a given resource.
getRobot() - Method in class interfaces.Controller
Returns the AbstractRobot associated with this controller
getSelected() - Method in class simworldobjects.SimGround
 
getSelected() - Method in class simworldobjects.SimRCX
 
getSelected() - Method in class simworldobjects.SimWall
 
getSensor1() - Method in interface interfaces.AbstractRobot
Get the current reading of this sensor
getSensor1() - Method in class real.RealRCX
Get the current reading of this sensor
getSensor1() - Method in class simworldobjects.SimRCX
Get the current reading of this sensor
getSensor2() - Method in interface interfaces.AbstractRobot
Get the current reading of this sensor
getSensor2() - Method in class real.RealRCX
Get the current reading of this sensor
getSensor2() - Method in class simworldobjects.SimRCX
Get the current reading of this sensor
getSensor3() - Method in interface interfaces.AbstractRobot
Get the current reading of this sensor
getSensor3() - Method in class real.RealRCX
Get the current reading of this sensor
getSensor3() - Method in class simworldobjects.SimRCX
Get the current reading of this sensor
getSensors() - Method in class interfaces.Controller
Returns an array of the sensors used by this controller, and the type of sensor required.
getShape(SimObject) - Method in class main.SimpleDisplay
Checks if there is an associated shape for a SimObject.
getTime() - Method in interface interfaces.SimWorld
Returns the number of 'ticks' since this world was started
getTime() - Method in class simworldobjects.BasicSimWorld
Returns the number of 'ticks' since this world was started
getTouchSensorStatus() - Method in interface interfaces.AbstractRobot
Gets an array of boolean values for the touch sensors Created by: Simon Zienkiewicz
getTouchSensorStatus() - Method in class real.RealRCX
Gets an array of boolean values for the touch sensors Modified by: Simon Zienkiewicz
getTouchSensorStatus() - Method in class simworldobjects.SimRCX
Gets an array of boolean values for the touch sensors Modified by: Simon Zienkiewicz
getType() - Method in interface interfaces.SimObject
Returns a string describing this object's type
getType() - Method in class simworldobjects.BasicSimObject
 
getType() - Method in class simworldobjects.SimSensor
 
getUpperErrorInfo() - Method in class simworldobjects.LightSensorColorLibrary
 
getUpperRangeInfo() - Method in class simworldobjects.LightSensorColorLibrary
 
getValue(Color) - Static method in class simworldobjects.LightSensorColorLibrary
 
getValue() - Method in class simworldobjects.SimLightSensor
Returns the current brightness of the world at this sensor's position modified by: Simon Zienkiewicz
getValue() - Method in class simworldobjects.SimSensor
Returns this sensor's current value
getValue() - Method in class simworldobjects.SimTouchSensor
Returns the current value of this sensor, a 1 if it is touching something or 0 if it is not.
getVoltage() - Method in interface interfaces.AbstractRobot
Gets the voltage of the RCX battery in MilliVolts Created by: Simon Zienkiewicz
getVoltage() - Method in class real.RealRCX
Gets the voltage of the RCX battery in MilliVolts Modified by: Simon Zienkiewicz
getVoltage() - Method in class simworldobjects.SimRCX
Gets the voltage of the RCX battery in MilliVolts Modified by: Simon Zienkiewicz
getWantGrid() - Method in class main.GridDisplay
Gets the current state of the grid; displayed or hidden.
getWidth() - Method in interface interfaces.SimObject
Returns this object's width
getWidth() - Method in class simworldobjects.BasicSimObject
 
getWidth() - Method in class simworldobjects.SimSensor
 
getWorld() - Method in class simworldobjects.SimRCX
 
getWorldColor() - Method in interface interfaces.SimWorld
Returns the background color of this SimWorld Created by: Simon Zienkiewicz
getWorldColor() - Method in class simworldobjects.BasicSimWorld
Gets the ground color of the world Created by: Simon Zienkiewicz
getWorldDimensions() - Method in class simworldobjects.BasicSimWorld
Gets the dimensions of the world Created by: Simon Zienkiewicz
getXCoord() - Method in interface interfaces.SimObject
Returns this objects X coordinate
getXCoord() - Method in class simworldobjects.BasicSimObject
 
getXCoord() - Method in class simworldobjects.SimSensor
Returns this sensor's X coordinate - derived from its owning SimObject
getXOffset() - Method in class simworldobjects.SimLightSensor
Returns the offset from the owning SimRCX's x coordinate
getXOffset() - Method in class simworldobjects.SimTouchSensor
 
getYCoord() - Method in interface interfaces.SimObject
Returns this objects Y coordinate
getYCoord() - Method in class simworldobjects.BasicSimObject
 
getYCoord() - Method in class simworldobjects.SimSensor
Returns this sensor's X coordinate
getZCoord() - Method in interface interfaces.SimObject
Returns this objects Z coordinate
getZCoord() - Method in class simworldobjects.BasicSimObject
 
getZCoord() - Method in class simworldobjects.SimSensor
Returns this sensor's Z coordinate - derived from its owning SimObject
getZOffset() - Method in class simworldobjects.SimLightSensor
Returns the offset from the owning SimRCX's y coordinate
getZOffset() - Method in class simworldobjects.SimTouchSensor
 

H

HelpDialog - class main.HelpDialog.
Provides a dialog for the user to view help files in html format.
HelpDialog() - Constructor for class main.HelpDialog
Creates an instance of HelpDialog()
halt() - Method in class interfaces.Controller
Stops this controller's thread running, i.e.
hasObstacle(double, double, double) - Method in interface interfaces.SimWorld
Checks whether there is an obstacle in the specified co-ordinate
hasObstacle(double, double, double) - Method in class simworldobjects.BasicSimWorld
Checks whether there is an obstacle in the specified co-ordinate
hyperlinkUpdate(HyperlinkEvent) - Method in class main.HelpDialog
Displays the HTLM once a hyperlink is clicked within the page.

I

InitRobotDialog - class main.InitRobotDialog.
Provides a dialog box to get intial robot parameters from the user.
InitRobotDialog() - Constructor for class main.InitRobotDialog
Creates a new instance of InitRobotDialog() object
Intellego - class intellego.Intellego.
Startup class - starts the whole system
Intellego() - Constructor for class intellego.Intellego
 
IntellegoLog - class util.IntellegoLog.
Creates a log file and provides methods to add messages to it
IntellegoLog() - Constructor for class util.IntellegoLog
Creates the log file and writes a header message
IntroScene - class intellego.IntroScene.
Loads the introscene while the application is being complied
IntroScene() - Constructor for class intellego.IntroScene
Creates a new instance of IntroScene
initController(AbstractRobot) - Method in class interfaces.Controller
Initialises controller.
initSimSensor(SimObject, double, double, double, double, double, String, char) - Method in class simworldobjects.SimSensor
Initialises this SimSensor
intellego - package intellego
 
interfaces - package interfaces
 
isGridOn() - Method in class main.SimUI
Determines if the grid is turned on or off
itemStateChanged(ItemEvent) - Method in class main.LightSensorPropertiesDialog
Makes sure that once a colour is selected via the check box, that appropriate spinners are displayed to allow the user to set the values
itemStateChanged(ItemEvent) - Method in class main.SimUI
Executes is an item has changed state.

L

LightSensorColorLibrary - class simworldobjects.LightSensorColorLibrary.
 
LightSensorColorLibrary(boolean[], int[], int[], int[], int[]) - Constructor for class simworldobjects.LightSensorColorLibrary
Creates a new instance of LightSensorColorLibrary
LightSensorPropertiesDialog - class main.LightSensorPropertiesDialog.
Provides a dialog box for the user to define colour value which the robot can read within the simulation environment.
LightSensorPropertiesDialog() - Constructor for class main.LightSensorPropertiesDialog
 
left() - Method in interface interfaces.AbstractRobot
Sets the robot spinning left on a dime, this will continue until some other method is called to stop it.
left(int) - Method in interface interfaces.AbstractRobot
Spins the robot left on a dime for the given amount of time
left() - Method in class real.RealRCX
Sets the robot spinning left, this will continue until some other method is called to stop it.
left(int) - Method in class real.RealRCX
Spins the robot left for the given amount of time
left() - Method in class simworldobjects.SimRCX
Sets the robot spinning left, this will continue until some other method is called to stop it.
left(int) - Method in class simworldobjects.SimRCX
Spins the robot left for the given amount of time
lightEvent(int) - Method in class simworldobjects.SimRCX
 
lightSensorListener(int) - Method in class interfaces.Controller
This method is called whenever a LIGHT SENSOR detects change from its previous value.
loadClass(File, boolean) - Method in class main.AdaptiveClassLoader
Resolves the specified name to a Class.

M

MOTOR_A - Static variable in interface interfaces.AbstractRobot
constant for MOTOR A
MOTOR_C - Static variable in interface interfaces.AbstractRobot
constant for MOTOR C
MOTOR_POWER - Static variable in class real.RealRCX
 
MainInterface - class main.MainInterface.
The main GUI.
MainInterface() - Constructor for class main.MainInterface
Sets up the JDesktopPane
main - package main
 
main(String[]) - Static method in class intellego.Intellego
Fires up the whole system
main(String[]) - Static method in class intellego.IntroScene
The main class.

O

ObjectEditDialog - class main.ObjectEditDialog.
Provides a dialog box to allow the user to interact with the objects in the simulation environment.
ObjectEditDialog(SimUI) - Constructor for class main.ObjectEditDialog
Displays a dialog box for the user to interact with the simulation envirionment objects.
openCurrentController(File) - Method in class main.SimUI
Opens a controller file in the current simulator window and simworld
openFileInSim() - Method in class main.CodeEditor
Opens the current Controller file in a Simulator Window.

P

paintComponent(Graphics) - Method in class interfaces.SimDisplay
Main repaint method.
paintComponent(Graphics) - Method in class main.GridDisplay
Main repaint method
paintComponent(Graphics) - Method in class main.SimpleDisplay
Main repaint method, paints all the objects in the simulator
pause(int) - Method in interface interfaces.AbstractRobot
Pauses the simulation Created by: Simon Zienkiewicz
pause(int) - Method in class real.RealRCX
 
pause(int) - Method in class simworldobjects.SimRCX
 
pivotRotation() - Method in class simworldobjects.SimRCX
 
playTune(int, int) - Method in interface interfaces.AbstractRobot
Plays a sound Created by: Simon Zienkiewicz
playTune(int, int) - Method in class real.RealRCX
Plays a sound Created by: Simon Zienkiewicz
playTune(int, int) - Method in class simworldobjects.SimRCX
 
playTune(int, int) - Static method in class simworldobjects.Sound
 
printUsage() - Static method in class intellego.Intellego
Prints usage instructions to stdout
pushUndoItem(LinkedList) - Method in class main.SimUI
Pushes an item into the undo stack.

R

RealRCX - class real.RealRCX.
This class implements the simple commands provided by AbstractRobot with real lejos commands, allowing the simple commands to be run on the real RCX.
RealRCX(Controller) - Constructor for class real.RealRCX
Initialises necessary variables, and sets up sensors, currently fixed to:
RobotRotation - class main.RobotRotation.
Provides a dialog box to allow the user to interact with the robot in the simulation environment.
RobotRotation(SimUI) - Constructor for class main.RobotRotation
Creates an instance of RobotRotation
real - package real
 
reinstantiate() - Method in class main.AdaptiveClassLoader
Re-instantiate this class loader.
right() - Method in interface interfaces.AbstractRobot
Sets the robot spinning right on a dime, this will continue until some other method is called to stop it.
right(int) - Method in interface interfaces.AbstractRobot
Spins the robot right on a dime for the given amount of time
right() - Method in class real.RealRCX
Sets the robot spinning right, this will continue until some other method is called to stop it.
right(int) - Method in class real.RealRCX
Spins the robot right for the given amount of time
right() - Method in class simworldobjects.SimRCX
Sets the robot spinning right, this will continue until some other method is called to stop it.
right(int) - Method in class simworldobjects.SimRCX
Spins the robot right for the given amount of time
run() - Method in class interfaces.Controller
Starts this controller's thread running.
run() - Method in class main.SimUI
Main loop: updates the world and repaints the screen
run() - Method in class real.RealRCX
 

S

S1 - Static variable in interface interfaces.AbstractRobot
constant for sensor 1
S2 - Static variable in interface interfaces.AbstractRobot
constant for sensor 2
S3 - Static variable in interface interfaces.AbstractRobot
sconstant for sensor 3
SENSOR_TYPE_LIGHT - Static variable in class interfaces.Controller
Constant for sensor of type light.
SENSOR_TYPE_TOUCH - Static variable in class interfaces.Controller
Constant for sensor of type touch.
STATE_BACKWARD - Static variable in class simworldobjects.SimRCX
 
STATE_FORWARD - Static variable in class simworldobjects.SimRCX
 
STATE_LEFT - Static variable in class simworldobjects.SimRCX
 
STATE_RIGHT - Static variable in class simworldobjects.SimRCX
 
STATE_STOPPED - Static variable in class simworldobjects.SimRCX
 
SaveWorldDialog - class main.SaveWorldDialog.
Provides a dialog box for the user to save their simulation world.
SaveWorldDialog() - Constructor for class main.SaveWorldDialog
 
SimDisplay - class interfaces.SimDisplay.
Interface class for all SimDisplays
SimDisplay() - Constructor for class interfaces.SimDisplay
 
SimGround - class simworldobjects.SimGround.
Models a simple ground object
SimGround(double, double, double, double, double, double, Color) - Constructor for class simworldobjects.SimGround
Sets up this wall
SimLight - class simworldobjects.SimLight.
Models a simple light source
SimLight(int, double, double, double) - Constructor for class simworldobjects.SimLight
Sets up this light
SimLightSensor - class simworldobjects.SimLightSensor.
Simulates a light sensor
SimLightSensor(SimRCX, double, double, char) - Constructor for class simworldobjects.SimLightSensor
Sets up a light sensor on the given SimRCX, and positions it at the the appropriate offset from the robot's position.
SimObject - interface interfaces.SimObject.
Interface class for all objects in a SimWorld
SimRCX - class simworldobjects.SimRCX.
Simulates an RCX for use in SimWorld
SimRCX(SimWorld, Controller) - Constructor for class simworldobjects.SimRCX
Constructor: sets up the robot with some predefined parameters
SimRCX(SimWorld, Controller, double, double, double, String, double, double, double, double, double, int) - Constructor for class simworldobjects.SimRCX
Constructor: sets up the robot according to the parameters
SimRoad - class simworldobjects.SimRoad.
Models a simple wall object
SimRoad(double, double, double, double, double, double) - Constructor for class simworldobjects.SimRoad
Sets up this wall
SimSensor - class simworldobjects.SimSensor.
Abstract class for SimSensors.
SimSensor() - Constructor for class simworldobjects.SimSensor
 
SimTouchSensor - class simworldobjects.SimTouchSensor.
Simulates a light sensor
SimTouchSensor(SimRCX, double, double, char) - Constructor for class simworldobjects.SimTouchSensor
Sets up a light sensor on the given SimRCX, and positions it at the the appropriate offset from the robot's position.
SimUI - class main.SimUI.
Provides a user interface for a simulation
SimUI() - Constructor for class main.SimUI
Sets up the main window for an empty simulation
SimUI(File) - Constructor for class main.SimUI
Loads a new simulation with the specified controller preloaded
SimWall - class simworldobjects.SimWall.
Models a simple wall object
SimWall(double, double, double, double, double, double) - Constructor for class simworldobjects.SimWall
Sets up this wall
SimWorld - interface interfaces.SimWorld.
Interface class for all SimWorlds.
SimpleDisplay - class main.SimpleDisplay.
Provides a simple display for any SimWorld.
SimpleDisplay(SimWorld, SimUI) - Constructor for class main.SimpleDisplay
Sets up this display
Sound - class simworldobjects.Sound.
 
Sound() - Constructor for class simworldobjects.Sound
 
saveFile() - Method in class main.CodeEditor
Saves the current file
selectWorld(int) - Method in class main.SimUI
Allows the user to pick a simworld for their simulation, and loads it
setActualBearingVelocityXY(double) - Method in interface interfaces.SimObject
Sets the actual 'bearing velocity' of this object in the XY plane.
setActualBearingVelocityXY(double) - Method in class simworldobjects.BasicSimObject
 
setActualBearingVelocityXY(double) - Method in class simworldobjects.SimSensor
 
setActualBearingVelocityXZ(double) - Method in interface interfaces.SimObject
Sets the actual 'bearing velocity' of this object in the XZ plane.
setActualBearingVelocityXZ(double) - Method in class simworldobjects.BasicSimObject
 
setActualBearingVelocityXZ(double) - Method in class simworldobjects.SimSensor
 
setActualBearingXY(double) - Method in interface interfaces.SimObject
Sets the actual bearing of this object in the XY plane
setActualBearingXY(double) - Method in class simworldobjects.BasicSimObject
 
setActualBearingXY(double) - Method in class simworldobjects.SimSensor
 
setActualBearingXZ(double) - Method in interface interfaces.SimObject
Sets the actual bearing of this object in the XZ plane
setActualBearingXZ(double) - Method in class simworldobjects.BasicSimObject
 
setActualBearingXZ(double) - Method in class simworldobjects.SimSensor
 
setActualVelocity(double) - Method in interface interfaces.SimObject
Sets the actual velocity of this object.
setActualVelocity(double) - Method in class simworldobjects.BasicSimObject
 
setActualVelocity(double) - Method in class simworldobjects.SimSensor
 
setColor(Color) - Method in class simworldobjects.SimGround
 
setColor(Color) - Method in class simworldobjects.SimRoad
 
setColorLibrary(String, Color) - Method in class main.SimpleDisplay
Sets the color library, sets a color for a specific shape.
setDelay(int, int) - Method in interface interfaces.AbstractRobot
Sets the delay for the requested timer Created by: Simon Zienkiewicz
setDelay(int, int) - Method in class real.RealRCX
 
setDelay(int, int) - Method in class simworldobjects.SimRCX
 
setDesiredBearingVelocityXY(double) - Method in interface interfaces.SimObject
Sets the desired 'bearing velocity' of this object in the XY plane.
setDesiredBearingVelocityXY(double) - Method in class simworldobjects.BasicSimObject
 
setDesiredBearingVelocityXY(double) - Method in class simworldobjects.SimSensor
 
setDesiredBearingVelocityXZ(double) - Method in interface interfaces.SimObject
Sets the desired 'bearing velocity' of this object in the XZ plane - a bearing velocity is the rate at which the object wants to turn.
setDesiredBearingVelocityXZ(double) - Method in class simworldobjects.BasicSimObject
 
setDesiredBearingVelocityXZ(double) - Method in class simworldobjects.SimSensor
 
setDesiredVelocity(double) - Method in interface interfaces.SimObject
Sets the desired velocity of this object - the SimWorld will then set its actual velocity accordingly (depending on wheher the object is colliding with another object etc.) Positive values mean the objet wants to move forward, and negative values mean the object wants to move backward.
setDesiredVelocity(double) - Method in class simworldobjects.BasicSimObject
 
setDesiredVelocity(double) - Method in class simworldobjects.SimSensor
 
setGrid(boolean) - Method in class main.SimUI
Sets the grid on if true, off if false
setMotorPower(int) - Method in interface interfaces.AbstractRobot
Sets the power of the motors for the robot Created by: Simon Zienkiewicz
setMotorPower(int) - Method in class real.RealRCX
Sets the power of the motors for the robot Modified by: Simon Zienkiewicz
setMotorPower(int) - Method in class simworldobjects.SimRCX
Sets the power of the motors for the robot Modified by: Simon Zienkiewicz
setOutlineColor(Color) - Method in class simworldobjects.SimGround
 
setOutlineColor(Color) - Method in class simworldobjects.SimWall
 
setSelected(boolean) - Method in class simworldobjects.SimGround
 
setSelected(boolean) - Method in class simworldobjects.SimRCX
 
setSelected(boolean) - Method in class simworldobjects.SimWall
 
setTimerExecution(int) - Method in class interfaces.Controller
Whenever a timer elapses this method is called and the timer which elapsed is passed as a parameter
setTitletoFileName() - Method in class main.CodeEditor
Sets the title of the frame to the file name.
setWantGrid(boolean) - Method in class main.GridDisplay
Sets the current state of the grid; displayed or hidden.
setWorldColor(Color) - Method in class simworldobjects.BasicSimWorld
Sets the ground color of the world Created by: Simon Zienkiewicz
setXCoord(double) - Method in interface interfaces.SimObject
Sets this objects X coordinate
setXCoord(double) - Method in class simworldobjects.BasicSimObject
 
setXCoord(double) - Method in class simworldobjects.SimSensor
 
setYCoord(double) - Method in interface interfaces.SimObject
Sets this objects Y coordinate
setYCoord(double) - Method in class simworldobjects.BasicSimObject
 
setYCoord(double) - Method in class simworldobjects.SimSensor
 
setZCoord(double) - Method in interface interfaces.SimObject
Sets this objects Z coordinate
setZCoord(double) - Method in class simworldobjects.BasicSimObject
 
setZCoord(double) - Method in class simworldobjects.SimSensor
 
setupWindow() - Method in class main.SimUI
Sets up the main window
shouldReload(String) - Method in class main.AdaptiveClassLoader
Check to see if a given class should be reloaded because of a modification to the original class.
shouldReload() - Method in class main.AdaptiveClassLoader
Check whether the classloader should be reinstantiated.
simworldobjects - package simworldobjects
 
singleMotor(int, int) - Method in interface interfaces.AbstractRobot
Sets a single Motor moving, this will continue until some other method is called to stop it Created by: Simon Zienkiewicz
singleMotor(int, int, int) - Method in interface interfaces.AbstractRobot
Sets a single Motor moving for the given amount of time Created by: Simon Zienkiewicz
singleMotor(int, int) - Method in class real.RealRCX
Sets a single Motor moving, this will continue until some other method is called to stop it
singleMotor(int, int, int) - Method in class real.RealRCX
Sets a single Motor moving for the given amount of time
singleMotor(int, int) - Method in class simworldobjects.SimRCX
Sets a single Motor moving, this will continue until some other method is called to stop it
singleMotor(int, int, int) - Method in class simworldobjects.SimRCX
Sets a single Motor moving for the given amount of time
startSimulation() - Method in class main.SimUI
Starts this simulation (by starting a new thread for this instance)
startTimer(int) - Method in interface interfaces.AbstractRobot
Starts the requested timer Created by: Simon Zienkiewicz
startTimer(int) - Method in class real.RealRCX
 
startTimer(int) - Method in class simworldobjects.SimRCX
 
stateChanged(ChangeEvent) - Method in class main.LightSensorPropertiesDialog
Makes sure that the minimum colour value does not exceed the maximum colour value when the values are selected by the user.
stopAllTimers() - Method in interface interfaces.AbstractRobot
Stops all timers Created by: Simon Zienkiewicz
stopAllTimers() - Method in class real.RealRCX
 
stopAllTimers() - Method in class simworldobjects.SimRCX
 
stopMoving() - Method in interface interfaces.AbstractRobot
Stops all motors immediately
stopMoving() - Method in class real.RealRCX
Stops all motors immediately
stopMoving() - Method in class simworldobjects.SimRCX
Stops all motors immediately
stopSimulation() - Method in class main.SimUI
Stops this simulation
stopTimer(int) - Method in interface interfaces.AbstractRobot
Stops the requested timer Created by: Simon Zienkiewicz
stopTimer(int) - Method in class real.RealRCX
 
stopTimer(int) - Method in class simworldobjects.SimRCX
 
successfullCompile() - Method in class main.ExternalMessager
Returns the status of the compilation of the code.

T

tick() - Method in interface interfaces.SimWorld
Performs one update loop
tick() - Method in class simworldobjects.BasicSimWorld
Performs one update loop
touchEvent(int) - Method in class simworldobjects.SimRCX
 
touchSensorListener(int) - Method in class interfaces.Controller
This method is called whenever a TOUCH SENSOR detects change from its previous value.

U

updateColorPopUp(String, int, SimDisplay, SimWorld, String, SimGround, GridDisplay) - Method in class main.ColorOptionDialog
A method used to subsequantly call the ColorOptionDialog object in order to change the colour properties of a Simulation environment object.
updateDesiredColors(boolean[], int[], int[], int[], int[]) - Method in class simworldobjects.LightSensorColorLibrary
 
updateGridColor(Color) - Method in class main.GridDisplay
Updates the grid colour
updateGridDotSize(int) - Method in class main.GridDisplay
Updates the size of the grid pixels
updateGridSize(int) - Method in class main.GridDisplay
Updates the horizontal and vertical spacing between grid pixels
updateLength(double) - Method in class simworldobjects.BasicSimObject
 
updateObjectList(LinkedList) - Method in class simworldobjects.BasicSimWorld
 
updateObjectPopUp(SimObject, SimDisplay, int, SimWorld) - Method in class main.ObjectEditDialog
Updates the object after the user makes changes in the dialog window.
updateObjects() - Method in class simworldobjects.BasicSimWorld
Updates all the SimObjects in this world by one step
updateRotation(SimRCX, SimWorld) - Method in class main.RobotRotation
Retrieves the dialog so the user can see it.
updateValue(SimRCX) - Method in class main.RobotRotation
Updates the rotation which the user modified for the robot.
updateWidth(double) - Method in class simworldobjects.BasicSimObject
 
updateWorldColor(Color) - Method in class main.GridDisplay
Updates the ground colour of the world
util - package util
 

V

VerificationPopUp - class main.VerificationPopUp.
Provides a dialog box to ask the user whether or not they want to download the lejos firmware
VerificationPopUp() - Constructor for class main.VerificationPopUp
 
valueChanged(TreeSelectionEvent) - Method in class main.HelpDialog
...

W

windowActivated(WindowEvent) - Method in class main.VerificationPopUp
 
windowClosed(WindowEvent) - Method in class main.VerificationPopUp
 
windowClosing(WindowEvent) - Method in class main.VerificationPopUp
 
windowDeactivated(WindowEvent) - Method in class main.VerificationPopUp
 
windowDeiconified(WindowEvent) - Method in class main.VerificationPopUp
 
windowGainedFocus(WindowEvent) - Method in class main.LightSensorPropertiesDialog
 
windowGainedFocus(WindowEvent) - Method in class main.VerificationPopUp
 
windowIconified(WindowEvent) - Method in class main.VerificationPopUp
 
windowLostFocus(WindowEvent) - Method in class main.LightSensorPropertiesDialog
 
windowLostFocus(WindowEvent) - Method in class main.VerificationPopUp
 
windowOpened(WindowEvent) - Method in class main.VerificationPopUp
 

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