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

A

action(Event, Object). Method in interface ElJefe
action(Event, Object). Method in class ModuleFrame
Passes actions to supervisor.
action(Event, Object). Method in class RobotlApplet
Responds to the buttons and menus.
action(Event, Object). Method in class RobotlFrame
Passes actions to supervisor.
action(Event, Object). Method in class SupportFrame
Responds to the buttons and list.
activateTutorial(String). Method in class RobotlApplet
Creates the tutorial window, if it doesn't exist.
active. Variable in class Robot
True if the robot is turned on and can receive commands.
addBeepers(int, int, int). Method in class WorldEntity
Adds the given number of beepers to the world entity.
addBlock(int, int). Method in class WorldEntity
Adds one block to the world entity.
addButton(String, Component). Method in class ButtonLayout
Adds a button to the list (or adds the done button).
addElement(Symbol). Method in class SymbolTable
Adds the given symbol to the table.
addFunction(Function). Method in class RobotType
Adds the given function to this RobotType, first ensuring that the name is unique.
addLayoutComponent(String, Component). Method in class RobotlLayout
Adds c to things.
addLayoutComponent(String, Component). Method in class SupportFrameLayout
Uses "list" and "infobox" as names.
addLayoutComponent(String, Component). Method in class TextFrameLayout
addRobot(Robot, int, int). Method in class RobotWorld
Adds an existing robot to the world.
addVariable(Variable). Method in class RobotType
Adds the given variable to this RobotType, first ensuring that the name is unique.
addWall(int, int, int, int). Method in class WorldEntity
Adds the individual blocks of a wall to the Vector.
applet. Variable in class RobotlCanvas
A reference to the RobotlApplet running the show.
applet. Variable in class RobotWorld
The applet that this object will report to.
applet. Variable in class SupportFrame
atFirstModule(). Method in class TutorialFrame
Returns true if the first item in the list is selected.
atLastModule(). Method in class TutorialFrame
Returns true if the last item in the list is selected.

B

BadCoordException(). Constructor for class BadCoordException
BadCoordException(String). Constructor for class BadCoordException
BadCountException(). Constructor for class BadCountException
BadCountException(String). Constructor for class BadCountException
BailOutError(). Constructor for class BailOutError
BailOutError(String). Constructor for class BailOutError
BEEPER. Static variable in class WEObject
beepers. Variable in class Cell
The number of beepers in this cell.
beepers. Variable in class Robot
The number of beepers the robot is carrying.
beepersAt(int, int). Method in class RobotWorld
Returns the number of beepers at the given location.
beepersInBag(). Method in class Robot
Returns the number of beepers that the robot is carrying.
beepersOnFloor(). Method in class Robot
Returns the number of beepers on the grid at the robot's position.
BIG_BUFFER. Static variable in class RobotlLayout
BLOCK. Static variable in class WEObject
BLUES. Static variable in class RobotlApplet
A constant defining a color set.
borderHeight. Variable in class RobotlLayout
Height of the text boxes on the bottom.
borderWidth. Variable in class RobotlLayout
Width of the objects on the right.
bottomButtons. Variable in class ButtonLayout
The list of buttons on the left.
bottomButtons. Variable in class TextFrameLayout
box. Variable in class TextFrameLayout
The TextArea component.
boxheight. Variable in class SupportFrameLayout
boxheight. Variable in class TextFrameLayout
boxtop. Variable in class TextFrameLayout
boxwidth. Variable in class SupportFrameLayout
boxwidth. Variable in class TextFrameLayout
BUFFER. Static variable in class ButtonLayout
buildInfoString(). Method in class Cell
From InfoTarget.
buildInfoString(). Method in interface InfoTarget
Builds the string to be displayed in the info box, not including variables.
buildInfoString(). Method in class Robot
Builds an info string that lists the robot name, type, location, number of beepers, whether it is turned on or not and the values of all the variables.
buildInfoString(InfoTarget, boolean). Method in class RobotlApplet
Returns the info string for the given target.
buildVariableString(). Method in class Cell
Required by InfoTarget.
buildVariableString(). Method in interface InfoTarget
Buils a string representing all of the variables in the class and their values.
buildVariableString(). Method in class Robot
Required by InfoTarget.
buildVariableString(String). Method in class RobotType
Called by a Robot or a RobotType derived from this one.
BUTTON_BUFFER. Static variable in class ButtonLayout
BUTTON_HEIGHT. Static variable in class ButtonLayout
BUTTON_HEIGHT. Static variable in class RobotlLayout
BUTTON_WIDTH. Static variable in class ButtonLayout
ButtonLayout(int, int). Constructor for class ButtonLayout
Creates buttons and initializes n and margin.
BUTTONS. Static variable in class RobotlApplet
The number of buttons lined up below the code box.
BUTTONS. Static variable in class RobotlLayout
buttonWidth. Variable in class RobotlLayout
Width of the buttons.

C

calcDimensions(Container). Method in class ButtonLayout
Calculates frame and margin.
calcDimensions(Container). Method in class RobotlLayout
Calculates margin, grid, borderWidth, borderHeight and buttonHeight.
calcDimensions(Container). Method in class SupportFrameLayout
Calculates the dimensions for the window margins and info boxes.
calcDimensions(Container). Method in class TextFrameLayout
Calculates the dimensions for the window margins and info box.
calculateGrid(). Method in class RobotlCanvas
Calculates the size of each grid square and sets up points.
canvas. Variable in class RobotlApplet
The component that draws the RoBOTL grid.
Cell(int, int). Constructor for class Cell
Initial conditions for the Cell: no robot, no wall, 0 beepers.
cellSize. Variable in class RobotlCanvas
The size in pixels of one cell, including buffer space.
cleanup(). Method in class ModuleFrame
Tells codeFrame to go away, if it exists.
cleanup(). Method in class RobotlFrame
Informs supervisor that we're closing, cleans up the window's resources and closes it.
cleanup(). Method in class TutorialFrame
Informs supervisor that we're closing, cleans up the window's resources and closes it.
clearButton. Variable in class RobotlApplet
clone(). Method in class Variable
code. Variable in class RobotlApplet
The text box into which the user enters code.
codeFile. Variable in class IndexEntry
codeFrame. Variable in class ModuleFrame
The window used for displaying code.
codeLabel. Variable in class RobotlApplet
ColorItem(String, int). Constructor for class ColorItem
colors. Variable in class RobotlApplet
A list of color sets for the grid display.
colors. Variable in class RobotlCanvas
A list of color sets for the grid display.
colorScheme. Variable in class ColorItem
The number of the color scheme associated with it.
colorSet. Variable in class RobotlCanvas
The color set currently being used.
COMPONENTS. Static variable in class RobotlApplet
The total number of components.
coordString(int, int). Static method in class RobotlApplet
Converts x and y coodinates into a printable string.

D

dead. Variable in class Robot
True if the robot has run into an obstacle.
debris. Variable in class Cell
debug(SimpleNode). Method in class RobotWorld
This is called before the execution of every significant node.
DebugBox(). Constructor for class DebugBox
defaultInfo. Variable in class RobotlApplet
Text displayed in the gridInfo box when the mouse is not on the grid.
defaultText. Variable in class SupportFrame
define(Node, RobotWorld). Method in class RobotType
Defines a new robot type from a branch of the abstract syntax tree.
define(Node, RobotWorld). Method in class WorldEntity
Defines a new world entity from a branch of the abstract syntax tree.
delay. Variable in class RobotWorld
The time (in milliseconds) to delay between robot actions.
description. Variable in class IndexEntry
die(). Method in class Robot
Sets dead to true.
direction. Variable in class Robot
The direction the robot is currently facing.
directionIsClear(int). Method in class Robot
Returns true if the given direction is clear.
displayCode(). Method in class ModuleFrame
Displays the code for this module.
done. Variable in class ButtonLayout
The done button.
done. Variable in class ModuleFrame
One of the five buttons.
done. Variable in class SupportFrame
drawSize. Variable in class RobotlCanvas
The size in pixels of one cell, excluding buffer space.
DuplicateNameException(). Constructor for class DuplicateNameException
DuplicateNameException(String). Constructor for class DuplicateNameException

E

EAST. Static variable in class RobotWorld
This value must NOT change (see Robot.turnLeft())
elements(). Method in class SymbolTable
A wrapper for Vector.elements().
emptySpace. Variable in class RobotlCanvas
The verticle space of the component in pixels that is not used for drawing.
EndTellError(). Constructor for class EndTellError
EndTellError(String). Constructor for class EndTellError
EnsureUniqueFunc(String). Method in class RobotType
Ensures that a name is not already associated with a function defined in this RobotType or an ancestor.
EnsureUniqueVar(String). Method in class RobotType
Ensures that a name is not already associated with a variable defined in this RobotType or an ancestor.
entry. Variable in class SupportFrame
error(String, int). Method in class RobotWorld
Posts a message to the user (with postMessage) and then halts execution.
eval(Node, Robot). Method in class RobotWorld
Evaluates all expressions, inside and outside of a Tell.
EXAMPLES_FILE. Variable in class RobotlApplet
The name of the example programs index file on the server.
examplesEntries. Variable in class RobotlApplet
The actual example programs (elements of type IndexEntry).
ExamplesFrame(String, RobotlApplet, List, Hashtable). Constructor for class ExamplesFrame
examplesList. Variable in class RobotlApplet
The List for the examples Browse window.
examplesMenu. Variable in class RobotlApplet
The Examples menu.
execAssignment(Node, Robot). Method in class RobotWorld
Handles an assignment, inside or outside of a Tell.
execDoWhile(Node, Robot). Method in class RobotWorld
Handles a Do-While loop, inside or outside of a Tell.
execIf(Node, Robot). Method in class RobotWorld
Handles an If conditional, inside or outside of a Tell.
execIterate(Node, Robot). Method in class RobotWorld
Handles an Iterate loop, inside or outside of a Tell.
execute. Variable in class RobotWorld
When the user just wants to parse the program, this is set to true before executing.
execute(Node). Method in class RobotWorld
Executes a branch of the AST.
executing. Variable in class RobotlApplet
True when a program is executing.
execWhile(Node, Robot). Method in class RobotWorld
Handles a While loop, inside or outside of a Tell.
exists(String). Method in class SymbolTable
Returns true if the given name is in the symbol table.
exprogFrame. Variable in class RobotlApplet
The window used for the example programs.

F

facing(). Method in class Robot
Returns the direction the robot is facing.
fDebug. Variable in class RobotWorld
When true, the node being executed will be displayed during normal running conditions.
firstExecution. Variable in class RobotWorld
A cheesy boolean so that we only set the world size the first time through.
format(). Method in class DebugBox
Uses RoBOTLTokenManager to tokenize the code in the text box, from which it recreates the string using proper indentation and spacing.
formatCode(). Method in class RobotlApplet
If prettyPrint is true, tells the code box to format the code.
frame. Variable in class ButtonLayout
The dimensions of the frame itself.
FROG_LAND. Static variable in class RobotlApplet
A constant defining a color set.
frontIsClear(). Method in class Robot
Returns true if there is no obstacle in front of the robot.
Function(String, Node). Constructor for class Function
functions. Variable in class RobotType
The custom functions defined by the robot type.

G

getCell(int, int). Method in class RobotWorld
Returns the cell at the given coordinates.
getCode(). Method in class RobotlApplet
Returns the contents of the code-entry text box.
getElement(String). Method in class SymbolTable
Returns the symbol associated with the given name.
getFunction(String). Method in class RobotType
Returns the function with the given name, if it exists in this RobotType or any ancestor.
getGlobals(). Method in class RobotWorld
Returns an enumeration containing all of the global variables.
getLocation(). Method in class Robot
Returns the robot's current location as a Point.
getLockedObject(). Method in class RobotlApplet
If the gridInfo window is locked, returns the cell that it's locked on.
getMapSize(). Method in class RobotlCanvas
getMapSize(). Method in class RobotWorld
Returns length of one side of the world, in grid squares.
getObjects(). Method in class WorldEntity
A wrapper for Vector.elements().
getParser(). Method in class RobotlApplet
Returns a reference to the parser object.
getRobot(String). Method in class RobotWorld
Returns a Robot reference for the given name.
getVariable(String). Method in class Robot
Returns a reference to the variable whose name matches the given string.
getVariable(String). Method in class RobotType
Returns the variable with the given name, if it exists in this RobotType or any ancestor.
getWorld(). Method in class RobotlApplet
Returns a reference to the world field.
getWorldArray(). Method in class RobotWorld
Returns the array of Cells.
getX(). Method in class Cell
From InfoTarget.
getX(). Method in interface InfoTarget
Returns the object's x coordinate.
getX(). Method in class Robot
Returns the x coordinate of the robot's position.
getY(). Method in class Cell
From InfoTarget.
getY(). Method in interface InfoTarget
Returns the object's y coordinate.
getY(). Method in class Robot
Returns the y coordinate of the robot's position.
grid. Variable in class RobotlLayout
The dimensions of the robot grid.
gridInfo. Variable in class RobotlApplet
The textbox in which information about the grid or individual robots is displayed.
gridLabel. Variable in class RobotlApplet

H

haltExecution(). Method in class RobotlApplet
Stops the execution thread, clears the "next instruction" field and calls setExecuting(false, false).
handleEvent(Event). Method in class ImageFrame
handleEvent(Event). Method in class RobotlFrame
Catches Event.WINDOW_DESTROY and calls cleanup().
handleEvent(Event). Method in class SupportFrame
Dispatches the LIST_SELECT event and passes the rest to super.handleEvent()
handleRunButton(). Method in class RobotlApplet
Calls spawnExecution if we're not currently executing.
handleStepButton(). Method in class RobotlApplet
Starts executing if we're not already and calls RobotWorld.step().

I

image. Variable in class ImageComponent
The image to be drawn.
image. Variable in class ImageFrame
ImageComponent(Image). Constructor for class ImageComponent
ImageFrame(String, Image). Constructor for class ImageFrame
imageUpdate(Image, int, int, int, int, int). Method in class ImageFrame
imgHeight. Variable in class ImageFrame
imgWidth. Variable in class ImageFrame
INDEX_FILE. Variable in class RobotlApplet
indexEntries. Variable in class RobotlApplet
The actual modules in the tutorial index.
IndexEntry(String). Constructor for class IndexEntry
indexFrame. Variable in class RobotlApplet
The window used for the tutorial index.
IndexFrame(String, RobotlApplet, List, Hashtable). Constructor for class IndexFrame
indexList. Variable in class RobotlApplet
The List for the tutorial Browse window.
infobox. Variable in class SupportFrame
infoLabel. Variable in class RobotlApplet
infoLocked. Variable in class RobotlApplet
True when the gridInfo box is locked onto an InfoTarget.
init(). Method in class RobotlApplet
Initializes the interface components and menus and calls initFrame().
initButton. Variable in class RobotlApplet
The button seen in the browser that will make the RoBOTL window visible.
initFrame(). Method in class RobotlApplet
Creates the RoBOTL window and adds all components.
initialBeepers. Variable in class RobotType
Defined by the DefineInitialBeepers statement.
interrupt(). Method in class RobotWorld
Pauses or resumes execution, depending on the current state.
interrupted. Variable in class RobotWorld
When true, the execution thread will pause between three nodes until it is notified.
item. Variable in class SupportFrame
The item of the list currently selected.

K

keepMessages. Variable in class RobotlApplet
When true, the messages text box isn't cleared between runs.
kennyFrame. Variable in class RobotWorld
keyDown(Event, int). Method in class SupportFrame
Handles the return key and passes the rest to super.keyDown()
killButton. Variable in class RobotlApplet
killFrame(RobotlFrame). Method in interface ElJefe
killFrame(RobotlFrame). Method in class ModuleFrame
killFrame(RobotlFrame). Method in class RobotlApplet
This is called by RobotlFrame.cleanup().
killFrame(RobotlFrame). Method in class TutorialFrame
Removes the module window.

L

LABEL_HEIGHT. Static variable in class RobotlLayout
LABEL_WIDTH. Static variable in class RobotlLayout
lastCode. Variable in class RobotWorld
The last string to be parsed.
lastColorItem. Variable in class RobotlApplet
A reference to the last item in the Color menu to be selected.
lastDelayItem. Variable in class RobotlApplet
A reference to the last item in the Delay menu to be selected.
lastInfoTarget. Variable in class RobotlApplet
A reference to the last Cell or Robot to be set for feedback.
lastRoot. Variable in class RobotWorld
The AST associated with lastCode.
layoutButtons(Container, int). Method in class ButtonLayout
Lays out the buttons in the frame.
layoutContainer(Container). Method in class RobotlLayout
layoutContainer(Container). Method in class SupportFrameLayout
Lays out the components in the frame.
layoutContainer(Container). Method in class TextFrameLayout
Lays out the components in the frame.
leftIsClear(). Method in class Robot
Returns true if there is no obstacle to the left of the robot.
list. Variable in class SupportFrame
list. Variable in class SymbolTable
The actual list of Symbols.
load. Variable in class ModuleFrame
One of the five buttons.
lockGridFeedback(int, int). Method in class RobotlApplet
Locks the info box into displaying the given cell's information regardless of the mouse position.
lockRobotFeedback(int, int). Method in class RobotlApplet
Locks the robot at the given location into the info box.

M

makeSpaces(int). Method in class DebugBox
mapSize. Variable in class RobotlCanvas
The number of cells on one side of the map.
mapSize. Variable in class RobotWorld
The length of one side of the map in grid squares.
margin. Variable in class ButtonLayout
The margin around the window.
margin. Variable in class RobotlLayout
The margins around the inside of the window.
menubar. Variable in class RobotlApplet
The main menu bar for the window.
messages. Variable in class RobotlApplet
The text box in which warnings, errors and other messages are displayed.
metrics. Variable in class RobotlCanvas
Used to find the width of strings in paintCell.
MIN_BORDER_HEIGHT. Static variable in class RobotlLayout
MIN_BORDER_WIDTH. Static variable in class RobotlLayout
MIN_BOX_HEIGHT. Static variable in class SupportFrameLayout
MIN_BOX_HEIGHT. Static variable in class TextFrameLayout
MIN_BOX_WIDTH. Static variable in class SupportFrameLayout
MIN_BOX_WIDTH. Static variable in class TextFrameLayout
MIN_GRID_DIM. Static variable in class RobotlLayout
minimumLayoutSize(Container). Method in class RobotlLayout
minimumLayoutSize(Container). Method in class SupportFrameLayout
Returns the minimum frame dimensions.
minimumLayoutSize(Container). Method in class TextFrameLayout
Returns the minimum frame dimensions.
module. Variable in class ModuleFrame
The module being displayed.
moduleFrame. Variable in class TutorialFrame
ModuleFrame(TutorialFrame, IndexEntry). Constructor for class ModuleFrame
Initializes all of the fields and shows the window.
mouseDown(Event, int, int). Method in class RobotlCanvas
Calls lockRobotFeedback() or lockGridFeedback() in the applet, depending on the state of the shift key.
mouseEnter(Event, int, int). Method in class RobotlCanvas
Calls mouseMove() with the same arguments.
mouseExit(Event, int, int). Method in class RobotlCanvas
Tells the applet to clear the info window, if it's not locked.
mouseMove(Event, int, int). Method in class RobotlCanvas
Calls setGridFeedback() in the applet.
move(int). Method in class Robot
Calls world.moveRobot, which returns the robot's new location.
moveRobot(Robot, int, int). Method in class RobotWorld
Moves the given robot the given number of spaces in the given direction.
msgLabel. Variable in class RobotlApplet

N

n. Variable in class WEObject
The number of beepers (if what == BEEPER).
name. Variable in class Symbol
NameLengthException(). Constructor for class NameLengthException
NameLengthException(String). Constructor for class NameLengthException
NameNotFoundException(). Constructor for class NameNotFoundException
NameNotFoundException(String). Constructor for class NameNotFoundException
nameOf(). Method in class Symbol
Just returns the name.
nBottom. Variable in class ButtonLayout
Number of buttons that have been added.
next. Variable in class ModuleFrame
One of the five buttons.
nextModule(). Method in class TutorialFrame
Selects the module immediately after the current one and returns it.
NORTH. Static variable in class RobotWorld
This value must NOT change (see Robot.turnLeft())
nTop. Variable in class ButtonLayout
Number of buttons that have been added.

O

objects. Variable in class WorldEntity
A list of the beepers and blocks in the world entity.
ObstacleException(). Constructor for class ObstacleException
ObstacleException(String). Constructor for class ObstacleException
ok. Variable in class SupportFrame

P

paint(Graphics). Method in class ImageComponent
Paints the image, taking into consideration the parent's insets.
paint(Graphics). Method in class RobotlCanvas
Paints the entire world.
paintCell(Graphics, int, int). Method in class RobotlCanvas
Paints the given cell.
paintCell(int, int). Method in class RobotlApplet
Tells the RobotlCanvas to paint the cell and updates the grid feedback.
paintCell(int, int). Method in class RobotWorld
Asks the applet to paint a single cell, specified in grid coordinates.
parent. Variable in class RobotType
Defined by the IsLikeA statement.
parse(). Method in class RobotWorld
Initializes the parser and parses the code.
parseButton. Variable in class RobotlApplet
parser. Variable in class RobotlApplet
An instance of the parser generated by JavaCC.
parser. Variable in class RobotWorld
A reference to the parser created by RobotlApplet.
pause(). Method in class RobotWorld
Pauses the execution thread for the amount of time specified in the delay field.
PEACHES. Static variable in class RobotlApplet
A constant defining a color set.
pickBeeper(int, int). Method in class RobotWorld
Tells the world that a robot is trying to pick up a beeper at the given location.
pixelToGrid(int, int). Method in class RobotlCanvas
Returns the grid cell that a given pixel falls inside of.
placeWorldEntity(WorldEntity, int, int). Method in class RobotWorld
Called for the RoBOTL "place" command.
playSound(String, boolean). Method in class RobotlApplet
Plays a sound with the given name, if soundOn is true or conditional is false.
points. Variable in class RobotlCanvas
All of the points needed to draw a robot in cell (0, 19).
postMessage(String). Method in class RobotlApplet
Adds the given String to the end of the message box.
postMessage(String, int). Method in class RobotWorld
An interface to the applet's postMessage method.
preferredLayoutSize(Container). Method in class RobotlLayout
preferredLayoutSize(Container). Method in class SupportFrameLayout
Returns the preferred dimensions for the support frame.
preferredLayoutSize(Container). Method in class TextFrameLayout
Returns the preferred dimensions for the support frame: 450x300.
prettyPrint. Variable in class RobotlApplet
When true, DebugBox.format() is called before parsing.
previous. Variable in class ModuleFrame
One of the five buttons.
previousModule(). Method in class TutorialFrame
Selects the module immediately before the current one and returns it.
PURPLES. Static variable in class RobotlApplet
A constant defining a color set.
putBeeper(int, int). Method in class RobotWorld
Tells the world that a robot is putting down a beeper at the given location.

R

READY. Variable in class ImageFrame
REFERENCE_URL. Variable in class RobotlApplet
The URL for the reference guide.
reInit(boolean, boolean). Method in class RobotWorld
Sets up to run a new program.
reInit(RobotWorld). Method in class RobotlCanvas
Called every time a new program is run.
removeButton(Component). Method in class ButtonLayout
removeElement(String). Method in class SymbolTable
Removes a symbol from the table.
removeLayoutComponent(Component). Method in class RobotlLayout
Removes c from things.
removeLayoutComponent(Component). Method in class SupportFrameLayout
removeLayoutComponent(Component). Method in class TextFrameLayout
removeRobot(String). Method in class RobotWorld
Removes a robot from the world.
resetGridInfo(). Method in class RobotlApplet
Called right after the array of cells has been destroyed and recreated in RobotWorld.execute().
reshape(int, int, int, int). Method in class RobotlCanvas
Ensures that this Component will always be square.
retrieveCode(String). Method in class RobotlApplet
Retrieves the given text file from applet's directory on the server and reads its contents into a string, which is returned.
retrieveCode(String). Method in class TutorialFrame
A wrapper for RobotlApplet.retrieveCode().
rightIsClear(). Method in class Robot
Returns true if there is no obstacle to the right of the robot.
robot. Variable in class Cell
A reference to the robot occupying the cell, if any.
Robot(String, RobotType, RobotWorld, int, int). Constructor for class Robot
RobotlApplet(). Constructor for class RobotlApplet
RobotlCanvas(RobotlApplet, Color[][]). Constructor for class RobotlCanvas
Sets applet and colors.
robotlFrame. Variable in class RobotlApplet
The window that contains all of the interface components.
RobotlFrame(String, ElJefe). Constructor for class RobotlFrame
robotlInFront(). Method in class RobotlApplet
Calls robotlFrame.toFront().
RobotlLayout(). Constructor for class RobotlLayout
robots. Variable in class RobotWorld
The list of existing Robots.
RobotType(String, RobotType). Constructor for class RobotType
robotTypes. Variable in class RobotWorld
The list of existing RobotTypes.
RobotWorld(RobotlApplet). Constructor for class RobotWorld
The one and only constructor.
root. Variable in class Function
The root of the AST branch defining this function.
run(). Method in class RobotWorld
The required run method that parses and executes and handles the exceptions.
runButton. Variable in class RobotlApplet

S

SEAFOAM. Static variable in class RobotlApplet
A constant defining a color set.
selectCodeLine(int). Method in class RobotlApplet
Selects the given line of code in the code entry box.
selectEntry(int). Method in class SupportFrame
Called on a LIST_SELECT event.
selectEntry(String). Method in class SupportFrame
Finds the entry named title and selects it.
selectLine(int). Method in class DebugBox
Selects the given line of text in the text box.
setColors(int). Method in class RobotlApplet
Sets the background color of gridInfo and calls canvas.setColors()
setColors(int). Method in class RobotlCanvas
Sets colorSet and redraws the grid.
setDebug(boolean). Method in class RobotWorld
Sets the fDebug field.
setDelay(int). Method in class RobotWorld
Sets the delay field.
setExecuting(boolean, boolean). Method in class RobotlApplet
Called once when a new execution thread starts and again just before it dies.
setGridFeedback(int, int, boolean). Method in class RobotlApplet
Tells the applet to display information on the given square in the grid info box.
setNewModule(IndexEntry). Method in class ModuleFrame
Sets module to newModule, sets the text in the text box and disables or enables next and previous.
setNextInstruction(String, int). Method in class RobotlApplet
Displays the given string in the stepField Label and highlights the given line.
setupDisplay(RobotWorld). Method in class RobotlApplet
Wrapper for canvas.reInit.
setupImage(int, int). Method in class ImageFrame
setupSupportData(Menu, List, Hashtable, String). Method in class RobotlApplet
The file filename contains the information that is displayed in a SupportFrame.
SMALL_BUFFER. Static variable in class RobotlLayout
soundOn. Variable in class RobotlApplet
True if the user wants to hear all of the sounds.
SOUTH. Static variable in class RobotWorld
This value must NOT change (see Robot.turnLeft())
spaceIsClear(int, int). Method in class RobotWorld
Returns 1 if the given space does not have a robot or a wall.
spawnExecution(boolean, boolean). Method in class RobotlApplet
Clears the message box, sets the delay time and starts a new execution thread.
step(). Method in class RobotWorld
Pauses execution (if it's already paused, there's no change) and signals the execution thread to proceed.
stepButton. Variable in class RobotlApplet
stepField. Variable in class RobotlApplet
The Label that displays the next instruction to be executed.
steppingFont. Static variable in class RobotlApplet
The default font for the applet.
supervisor. Variable in class RobotlFrame
The object that created this window.
SupportFrame(String, RobotlApplet, List, Hashtable, boolean). Constructor for class SupportFrame
SupportFrameLayout(). Constructor for class SupportFrameLayout
Initializes ButtonLayout with no buttons on top and two on bottom.
Symbol(String). Constructor for class Symbol
SymbolTable(). Constructor for class SymbolTable
SymbolTable(int). Constructor for class SymbolTable
SymbolTable(int, int). Constructor for class SymbolTable

T

table. Variable in class SupportFrame
tell(Node). Method in class Robot
This is called by RobotWorld.execute() when it encounters a Tell statement.
text. Variable in class ModuleFrame
The text box that displays the module.
textFile. Variable in class IndexEntry
TextFrameLayout(int, int). Constructor for class TextFrameLayout
things. Variable in class RobotlLayout
The list of components.
things. Variable in class SupportFrameLayout
The list of components.
thread. Variable in class RobotlApplet
The Thread that executes a RoBOTL program.
title. Variable in class IndexEntry
topButtons. Variable in class ButtonLayout
The list of buttons on the left.
topButtons. Variable in class TextFrameLayout
toString(). Method in class IndexEntry
toString(). Method in class Symbol
Exactly the same as nameOf().
turnLeft(). Method in class Robot
Just changes the direction field to turn the robot left.
turnOff(). Method in class Robot
Sets active to false.
turnOn(). Method in class Robot
Sets active to true if the robot is not dead.
tutorial. Variable in class ModuleFrame
The TutorialFrame that created this object.
TUTORIAL_FILE. Variable in class RobotlApplet
The name of the tutorial index file on the server.
tutorialEntries. Variable in class RobotlApplet
The actual modules in the tutorial.
tutorialFrame. Variable in class RobotlApplet
The window used for the tutorial.
TutorialFrame(String, RobotlApplet, List, Hashtable, boolean). Constructor for class TutorialFrame
tutorialList. Variable in class RobotlApplet
The List for the tutorial Browse window.
tutorialMenu. Variable in class RobotlApplet
The Tutorial menu.
type. Variable in class Robot
A reference to the robot's type.

U

updateFeedback(). Method in class RobotlApplet
Updates the info box if lastInfoTarget is not null.
updateGridFeedback(int, int). Method in class RobotlApplet
Called by paintCell whenever a grid cell changes.
updateRobotFeedback(Robot). Method in class RobotlApplet
Updates the info box if the given robot is the current info target.
updateRobotFeedback(Robot). Method in class RobotWorld
A wrapper for RobotlApplet.updateRobotFeedback().
useCode(String). Method in class RobotlApplet
Gets the contents of file filename and puts them into the code text box.
useCode(String). Method in class TutorialFrame
A wrapper for RobotlApplet.setCode().
usedVariables. Variable in class Robot
A string containg the names of all of the variables this Robot has requested from it's RobotType.
useRobotInfo. Variable in class RobotlApplet
True when the gridInfo box displays robot information instead of cell information.
useSelection(). Method in class ExamplesFrame
Retrieves the code associated with the currently selected item and calls applet.setCode() with it.
useSelection(). Method in class IndexFrame
Instructs the applet to load the module associated with the current entry.
useSelection(). Method in class SupportFrame
Override this to handle the ok button, list double-clicking and the return key.
useSelection(). Method in class TutorialFrame
Displays the selected module.

V

value. Variable in class Variable
The current value of the variable.
Variable(String). Constructor for class Variable
Initializes the variable to zero.
Variable(String, int). Constructor for class Variable
Initializes the variable to n.
variables. Variable in class Robot
The robot's variables.
variables. Variable in class RobotType
The variables defined by the robot type.
variables. Variable in class RobotWorld
The list of existing global variables.
view. Variable in class ModuleFrame
One of the five buttons.
viewDone. Variable in class ModuleFrame
The done button in the "View code" window.

W

wall. Variable in class Cell
True if there is a wall occupying this cell.
warning(String, int). Method in class RobotWorld
Posts a message to the user (with postMessage) and then continues with execution.
WEObject(int, int, int). Constructor for class WEObject
WEObject(int, int, int, int). Constructor for class WEObject
WEST. Static variable in class RobotWorld
This value must NOT change (see Robot.turnLeft())
what. Variable in class WEObject
Equal to either BLOCK or BEEPER
world. Variable in class Robot
A reference to the world that contains this robot.
world. Variable in class RobotlApplet
An instance of RobotWorld to be used for all simulations.
world. Variable in class RobotlCanvas
The array of Cells.
world. Variable in class RobotWorld
Keeps track of the contents of each individual grid square.
worldEntities. Variable in class RobotWorld
The list of existing WorldEntities.
WorldEntity(String). Constructor for class WorldEntity

X

x. Variable in class Cell
Location of the Cell in the grid.
x. Variable in class WEObject
xPos. Variable in class Robot
The robot's current position.

Y

y. Variable in class Cell
Location of the Cell in the grid.
y. Variable in class WEObject
yPos. Variable in class Robot
The robot's current position.