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

A

accessCountsForDay(int) - Method in interface cs1705.weblog.LogAnalyzer
Retrieve a count of web accesses for the specified day of the week.
accessCountsForDay(int) - Method in interface cs1705.weblog.LogAnalyzer2
Retrieve a count of web accesses for the specified day of the week.
accessCountsForDayHour(int, int) - Method in interface cs1705.weblog.LogAnalyzer
Retrieve a count of web accesses for the specified time period.
accessCountsForDayHour(int, int) - Method in interface cs1705.weblog.LogAnalyzer2
Retrieve a count of web accesses for the specified time period.
accessCountsForHour(int) - Method in interface cs1705.weblog.LogAnalyzer
Retrieve a count of web accesses during the specified hour of the day.
accessCountsForHour(int) - Method in interface cs1705.weblog.LogAnalyzer2
Retrieve a count of web accesses during the specified hour of the day.
accessTime() - Method in class cs1705.weblog.LogEntry
Get the access time for the HTTP request contained in this log line.
accumulateLogData(BufferedReader) - Method in interface cs1705.weblog.LogAnalyzer
Add all log entries from a given stream to the current access pattern data.
accumulateLogData(Scanner) - Method in interface cs1705.weblog.LogAnalyzer2
Add all log entries from a given stream to the current access pattern data.
accumulateLogDataFromFile(String) - Method in interface cs1705.weblog.LogAnalyzer
Add all log entries from a given file to the current access pattern data.
accumulateLogDataFromFile(String) - Method in interface cs1705.weblog.LogAnalyzer2
Add all log entries from a given file to the current access pattern data.
accumulateLogDataFromURL(String) - Method in interface cs1705.weblog.LogAnalyzer
Add all log entries from a given URL to the current access pattern data.
accumulateLogDataFromURL(String) - Method in interface cs1705.weblog.LogAnalyzer2
Add all log entries from a given URL to the current access pattern data.
actionClick(Location) - Method in class objectdraw.VTControllerTester
Simulates a click on loc.
actionMouseMove(Location) - Method in class objectdraw.VTControllerTester
Simulates the mouse moving towards loc.
actionMousePress(Location) - Method in class objectdraw.VTControllerTester
Simulates a mouse press on the app.
actionMouseRelease() - Method in class objectdraw.VTControllerTester
Simulates the mouse being released.
addCommand(String, Command) - Method in class cs1705.adventure.CommandWords
Add (or replace) a command word.
anyBeepersInBeeperBag() - Method in class cs1705.VPIRobot
Check whether the robot has any beepers in its bag.
assertAt(int, int) - Method in class cs1705.TestableRobot
Fail if this robot is not at the given intersection.
assertBeepersAt(int, int) - Method in class cs1705.TestableWorld
Fail if there are no beepers at the given intersection.
assertBeepersAt(int, int, int) - Method in class cs1705.TestableWorld
Fail if the number of beepers at the given intersection is different than the specified count.
assertBeepersInBeeperBag() - Method in class cs1705.TestableRobot
Fail if this robot's beeper bag is empty.
assertBeepersInBeeperBag(int) - Method in class cs1705.TestableRobot
Fail if this robot's beeper bag does not contain the specified number of beepers.
assertBeepersInWorld() - Method in class cs1705.TestableWorld
Fail if there are no beepers anywhere in this world.
assertBeepersInWorld(int) - Method in class cs1705.TestableWorld
Fail if the total number of beepers in this world, regardless of their location, is different than the specified count.
assertCanvasEmpty() - Method in class objectdraw.StudentTestableWindowController
assertCanvasEmpty asserts that there are no visible shape objects on the canvas.
assertColor(double, double, Color) - Method in class objectdraw.StudentTestableWindowController
assertColor asserts that the shape being evaluated has the desired color.
assertColor(DrawableInterface, Color) - Method in class objectdraw.StudentTestableWindowController
assertColor asserts that the shape being evaluated has the desired color.
assertCorrectArcAngle(FramedArc, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcAngle asserts that the shape being evaluated spans the correct angle.
assertCorrectArcAngle(FilledArc, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcAngle asserts that the shape being evaluated spans the correct angle.
assertCorrectArcHeight(FramedRoundedRect, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcHeight asserts that the shape being evaluated has a correct corner arc height.
assertCorrectArcHeight(FilledRoundedRect, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcHeight asserts that the shape being evaluated has a correct corner arc height.
assertCorrectArcWidth(FramedRoundedRect, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcWidth asserts that the shape being evaluated has a correct corner arc width.
assertCorrectArcWidth(FilledRoundedRect, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcWidth asserts that the shape being evaluated has a correct corner arc width.
assertCorrectFilledArcAngle(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcAngle asserts that the shape being evaluated spans the correct angle.
assertCorrectFilledArcStartAngle(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectStartAngle asserts that the shape being evaluated has the correct starting angle.
assertCorrectFilledRoundedRectArcHeight(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcHeight asserts that the shape being evaluated has a correct corner arc height.
assertCorrectFilledRoundedRectArcWidth(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcWidth asserts that the shape being evaluated has a correct corner arc width.
assertCorrectFont(double, double, Font) - Method in class objectdraw.StudentTestableWindowController
assertCorrectFont asserts that the textbox being evaluated is displaying the correct font.
assertCorrectFont(Text, Font) - Method in class objectdraw.StudentTestableWindowController
assertCorrectFont asserts that the textbox being evaluated is displaying the correct font.
assertCorrectFramedArcAngle(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcAngle asserts that the shape being evaluated spans the correct angle.
assertCorrectFramedArcStartAngle(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectStartAngle asserts that the frame arc being evaluated has the correct starting angle.
assertCorrectFramedRoundedRectArcHeight(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcHeight asserts that the shape being evaluated has a correct corner arc height.
assertCorrectFramedRoundedRectArcWidth(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcWidth asserts that the shape being evaluated has a correct corner arc width.
assertCorrectImage(double, double, Image) - Method in class objectdraw.StudentTestableWindowController
assertCorrectImage asserts that the VisibleImage displayed is the correct image.
assertCorrectImage(VisibleImage, Image) - Method in class objectdraw.StudentTestableWindowController
assertCorrectImage asserts that the VisibleImage displayed is the correct image.
assertCorrectStartAngle(FramedArc, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectStartAngle asserts that the shape being evaluated has the correct starting angle.
assertCorrectStartAngle(FilledArc, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectStartAngle asserts that the shape being evaluated has the correct starting angle.
assertCorrectText(double, double, String) - Method in class objectdraw.StudentTestableWindowController
assertCorrectText asserts that the textbox being evaluated is displaying the correct text.
assertCorrectText(Text, String) - Method in class objectdraw.StudentTestableWindowController
assertCorrectText asserts that the textbox being evaluated is displaying the correct text.
assertEWWallAt(int, int) - Method in class cs1705.TestableWorld
Fail if there is no east/west wall at the given location.
assertExistAngLine(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistAngLine asserts that there exists an angle line at the given starting location.
assertExistFilledArc(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFilledArc asserts that there exists a filled arc at the specified (x, y) position
assertExistFilledOval(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFilledOval asserts that there exists a filled oval at the specified (x, y) position
assertExistFilledRect(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFilledRect asserts that there exists a filled rectangle at the specified (x, y) position
assertExistFilledRoundedRect(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFilledRoundedRect asserts that there exists a filled, rounded rectangle at the specified (x, y) position
assertExistFramedArc(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFramedArc asserts that there exists a framed arc at the specified (x, y) position
assertExistFramedOval(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFramedOval asserts that there exists a framed oval at the specified (x, y) position
assertExistFramedRect(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFramedRect asserts that there exists a framed rectangle at the specified (x, y) position
assertExistFramedRoundedRect(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFramedRect asserts that there exists a framed, rounded rectangle at the specified (x, y) position
assertExistLine(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistLine asserts that there exists a line starting at the specified (x, y) position
assertExistLine(double, double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistLine asserts that there exists a line connection the start and end points.
assertExistText(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistText asserts that there exists a textbox at the specified (x, y) position
assertExistVisibleImage(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistVisibleImage asserts that there exists a VisibleImage at the specified (x, y) position
assertFacingEast() - Method in class cs1705.TestableRobot
Fail if this robot is not facing East.
assertFacingNorth() - Method in class cs1705.TestableRobot
Fail if this robot is not facing North.
assertFacingSouth() - Method in class cs1705.TestableRobot
Fail if this robot is not facing South.
assertFacingWest() - Method in class cs1705.TestableRobot
Fail if this robot is not facing West.
assertFrontIsBlocked() - Method in class cs1705.TestableRobot
Fail if there is no wall in front of this robot.
assertFrontIsClear() - Method in class cs1705.TestableRobot
Fail if there is a wall in front of this robot.
assertHas2DObject(Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
assert version of has2DObject
assertHas2DObject(String, Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
assert version of has2DObject that has a specific hint to the user.
assertHasLine(Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
assertHasLine asserts the existence of a line with the specified parameters.
assertHasLine(String, Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
assertHasLine asserts the existence of a line with the specified parameters.
assertHasNeighbor() - Method in class cs1705.TestableRobot
Fail if this robot has no neighbors, that is, if no other robots are located at the same intersection.
assertHasNoNeighbor() - Method in class cs1705.TestableRobot
Fail if the robot has any neighbors, that is, if there are any other robots at the same intersection.
assertHeight(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertHeight asserts that the shape being evaluated is a desired height.
assertHeight(Drawable2DInterface, double) - Method in class objectdraw.StudentTestableWindowController
assertHeight asserts that the shape being evaluated is a desired height.
assertInvisible(double, double) - Method in class objectdraw.StudentTestableWindowController
assertInvisible asserts that the shape being evaluated is invisible to the canvas.
assertInvisible(DrawableInterface) - Method in class objectdraw.StudentTestableWindowController
assertInvisible asserts that the shape being evaluated is invisible to the canvas.
assertIsAnEndpoint(double, double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertIsAnEndpoint asserts that a line being tested has an endpoint at the given position.
assertIsAnEndpoint(Line, double, double) - Method in class objectdraw.StudentTestableWindowController
assertIsAnEndpoint asserts that a line being tested has an endpoint at the given position.
assertLocationInShape(double, double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertLocationInShape asserts that the shape being evaluated includes the specified (x,y) coordinate.
assertLocationInShape(Drawable2DInterface, double, double) - Method in class objectdraw.StudentTestableWindowController
assertLocationInShape asserts that the shape being evaluated includes the specified (x,y) coordinate.
assertNextToABeeper() - Method in class cs1705.TestableRobot
Fail if this robot is on a corner with no beepers.
assertNo2DObject(Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
inverse of assertHas2DObject, this method will fail if an object specified by the parameters is found, suceed otherwise.
assertNo2DObject(String, Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
inverse of assertHas2DObject, this method will fail if an object specified by the parameters is found, suceed otherwise.
assertNoBeepersAt(int, int) - Method in class cs1705.TestableWorld
Fail if there is at least one beeper at the given intersection.
assertNoBeepersInBeeperBag() - Method in class cs1705.TestableRobot
Fail if this robot has any beepers in its beeper bag.
assertNoBeepersInWorld() - Method in class cs1705.TestableWorld
Fail if there are any beepers anywhere in this world.
assertNoEWWallAt(int, int) - Method in class cs1705.TestableWorld
Fail if there is an east/west wall at the given intersection.
assertNoLine(Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
assertNoLine asserts the non-existence of a line with the specified parameters.
assertNoLine(String, Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
assertNoLine iasserts the non-existence of a line with the specified parameters.
assertNoNSWallAt(int, int) - Method in class cs1705.TestableWorld
Fail if there is a north/south wall at the given location.
assertNoRobotsInWorld() - Method in class cs1705.TestableWorld
Fail if there are any robots anywhere in this world.
assertNotAt(int, int) - Method in class cs1705.TestableRobot
Fail if this robot is at the given intersection.
assertNotCanvasEmpty() - Method in class objectdraw.StudentTestableWindowController
assertNotCanvasEmpty asserts that there is at least one visible element on the canvas.
assertNotFacingEast() - Method in class cs1705.TestableRobot
Fail if this robot is facing East.
assertNotFacingNorth() - Method in class cs1705.TestableRobot
Fail if this robot is facing North.
assertNotFacingSouth() - Method in class cs1705.TestableRobot
Fail if this robot is facing South.
assertNotFacingWest() - Method in class cs1705.TestableRobot
Fail if this robot is facing West.
assertNotNextToABeeper() - Method in class cs1705.TestableRobot
Fail if this robot is on a corner with one or more beepers.
assertNotOnAvenue(int) - Method in class cs1705.TestableRobot
Fail if this robot is on the given avenue.
assertNotOnStreet(int) - Method in class cs1705.TestableRobot
Fail if this robot is on a given street.
assertNotRunning() - Method in class cs1705.TestableRobot
Fail if this robot not has turned off.
assertNSWallAt(int, int) - Method in class cs1705.TestableWorld
Fail if there is no north/south wall at the given location.
assertOnAvenue(int) - Method in class cs1705.TestableRobot
Fail if this robot is not on a given avenue.
assertOnStreet(int) - Method in class cs1705.TestableRobot
Fail if this robot is not on a given street.
assertRobotsInWorld() - Method in class cs1705.TestableWorld
Fail if there are no robots anywhere in this world.
assertRobotsInWorld(int) - Method in class cs1705.TestableWorld
Fail if the total number of robots in this world, regardless of their location, is different than the specified count.
assertRunning() - Method in class cs1705.TestableRobot
Fail if this robot has turned off or experienced an error shutoff.
assertVisible(double, double) - Method in class objectdraw.StudentTestableWindowController
assertVisible asserts that the shape being evaluated is visible
assertVisible(DrawableInterface) - Method in class objectdraw.StudentTestableWindowController
assertVisible asserts that the shape being evaluated is visible
assertWidth(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertWidth asserts that the shape being evaluated is a desired width.
assertWidth(Drawable2DInterface, double) - Method in class objectdraw.StudentTestableWindowController
assertWidth asserts that the shape being evaluated is a desired width.

B

Browser - Class in cs1705
This class provides a simple interface to your web browser.
browser() - Method in class cs1705.weblog.LogEntry
Get the identification information for the browser making the request.

C

Command - Class in cs1705.adventure
This class is an abstract superclass for all command classes in the game.
Command() - Constructor for class cs1705.adventure.Command
Create a command object.
CommandWords - Class in cs1705.adventure
This class holds a collection of all command words known to the game.
CommandWords() - Constructor for class cs1705.adventure.CommandWords
Constructor - initialise the command words.
commandWords() - Method in class cs1705.adventure.Parser
Access the set of valid command words.
countBeepersInPile() - Method in class cs1705.VPIRobot
Returns the number of beepers in the beeper pile (if any ) at the intersection where Karel is located.
createCommands() - Method in class cs1705.adventure.Game
Create all the commands this game knows about.
createConsoleWriter() - Static method in class cs1705.IOHelper
Creates and returns an instance of PrintWriter that can be used to write to the console.
createKeyboardScanner() - Static method in class cs1705.IOHelper
Creates and returns a Scanner that can be used to read from the keyboard.
createPrintWriter(File, boolean) - Static method in class cs1705.IOHelper
Creates an instance of PrintWriter that can be used to write to the given file.
createPrintWriter(String, boolean) - Static method in class cs1705.IOHelper
Creates an instance of PrintWriter that can be used to write to the file referred to by the given name.
createPrintWriter(String) - Static method in class cs1705.IOHelper
Creates an instance of PrintWriter that can be used to write to the file referred to by the given name.
createRooms() - Method in class cs1705.adventure.Game
Create all the rooms and link their exits together.
createScanner(File) - Static method in class cs1705.IOHelper
Creates a Scanner that can be used to read from the given file.
createScanner(String) - Static method in class cs1705.IOHelper
Creates a Scanner that can be used to read from the file referred to by the given name.
createScanner(URL) - Static method in class cs1705.IOHelper
Creates a Scanner that can be used to read from a URL over the net.
createScannerForString(String) - Static method in class cs1705.IOHelper
Creates a Scanner that can be used to read directly from a given text string.
createScannerForURL(String) - Static method in class cs1705.IOHelper
Creates a Scanner that can be used to read from a URL given as a text string.
cs1705 - package cs1705
This package provides all of the course-specific classes written especially for CS 1705: Introduction to Object-Oriented Development I.
cs1705.adventure - package cs1705.adventure
This package provides all of the course-specific classes based on the "World of Zuul" adventure game example from Chapter 7 of Objects First with Java by Michael Kolling and David Barnes.
cs1705.weblog - package cs1705.weblog
This package provides all of the course-specific classes based on the web log analyzer example from Chapter 4 of Objects First with Java by Michael Kolling and David Barnes.

D

delay() - Static method in class cs1705.World
Return the current delay setting.
Directions - Interface in cs1705
This interface is a bare wrapper for Bergin's Directions interface.

E

execute(Player) - Method in class cs1705.adventure.Command
Execute this command.
execute(Player) - Method in class cs1705.adventure.GoCommand
Try to go to one direction.
execute(Player) - Method in class cs1705.adventure.HelpCommand
Print out some help information.
execute(Player) - Method in class cs1705.adventure.QuitCommand
"Quit" was entered.

F

facingEast() - Method in class cs1705.VPIRobot
Checks whether Karel is currently facing east.
facingNorth() - Method in class cs1705.VPIRobot
Checks whether Karel is currently facing north.
facingSouth() - Method in class cs1705.VPIRobot
Checks whether Karel is currently facing south.
facingWest() - Method in class cs1705.VPIRobot
Checks whether Karel is currently facing west.
frontIsClear() - Method in class cs1705.VPIRobot
Check to see if Karel is currently blocked by some obstacle directly in front.

G

Game - Class in cs1705.adventure
This class is the main class for a "World of Zuul"-style adventure game application.
Game() - Constructor for class cs1705.adventure.Game
Create the game and initialise its internal map.
Game(Player, Parser) - Constructor for class cs1705.adventure.Game
Create the game and initialise its internal map.
generateMaze() - Static method in class cs1705.MazeGenerator
Generates a random maze of the default size (12x12).
generateMaze(int, int) - Static method in class cs1705.MazeGenerator
Generates a random maze of the specified size.
get(String) - Method in class cs1705.adventure.CommandWords
Given a command word, find and return the matching command object.
get2DObject(Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
get2dObject returns an arbitrary shape that meets the specified parameters.
get2DObjects(Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
get2dObject gets a list of 2D object with the specified parameters.
getCanvas() - Method in class objectdraw.TestableWindowController
Accessor function to get the DrawingCanvas from the frame.
getCommand() - Method in class cs1705.adventure.Parser
 
getCurrentRoom() - Method in class cs1705.adventure.Player
Return the current room for this player.
getCurrentWorkingDirectory() - Static method in class cs1705.IOHelper
Returns current working directory.
getExit(String) - Method in class cs1705.adventure.Room
Return the room that is reached if we go from this room in direction "direction".
getFile(String) - Static method in class cs1705.IOHelper
Creates new File instance from a relative or an absolute pathname.
getFrame() - Method in class objectdraw.TestableWindowController
Get the top-level JFrame component.
getLine(Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
getLine returns an arbitrary Line object that fits the parameters that are passed to the function.
getLines(Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
getLines gets a list of lines with the specified parameters.
getLongDescription() - Method in class cs1705.adventure.Room
Return a long description of this room, including a list of available exits.
getSecondWord() - Method in class cs1705.adventure.Command
Return the second word of this command.
getShortDescription() - Method in class cs1705.adventure.Room
Return the description of the room (the one that was defined in the constructor).
getWindowFocus() - Method in class objectdraw.VTWindowControllerListener
 
getWorldAsObject() - Method in class cs1705.TestableRobot
Returns the singleton instance of the World in which this robot lives.
getWorldAsObject() - Static method in class cs1705.World
Returns the singleton instance of this class.
getWorldDescription() - Static method in class cs1705.World
Returns the configuration of the current world as a string.
GoCommand - Class in cs1705.adventure
Implementation of the 'go' user command for adventure games.
GoCommand() - Constructor for class cs1705.adventure.GoCommand
Constructor for objects of class GoCommand

H

has2DObject(Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
has2dObject determines existence of a 2D object with the specified parameters.
hasLine(Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
hasLine returns determines the existence of a line with the specified parameters.
hasMoreEntries() - Method in class cs1705.weblog.LogReader
Does the reader have more data to supply?
hasMoreEntries() - Method in class cs1705.weblog.LogScanner
A synonym for LogScanner.hasNext() provided for backward compatibility with the older Java 1.4-style LogReader class.
hasNext() - Method in class cs1705.weblog.LogScanner
Does the scanner have more data to supply?
hasSecondWord() - Method in class cs1705.adventure.Command
Check whether a second word was entered for this command.
HelpCommand - Class in cs1705.adventure
Implementation of the 'help' user command for adventure games.
HelpCommand(CommandWords) - Constructor for class cs1705.adventure.HelpCommand
Constructor for objects of class HelpCommand

I

IOHelper - Class in cs1705
This class provides several static methods that streamline the use of basic I/O operations in Java.
isLocked() - Method in class objectdraw.VTWindowControllerListener
 
iterator() - Method in class cs1705.weblog.LogScanner
Return this object, unchanged, to provide support for foreach-style loops.

L

lockMouseClick() - Method in class objectdraw.VTWindowControllerListener
 
lockMouseMove(Location) - Method in class objectdraw.VTWindowControllerListener
 
lockMousePress() - Method in class objectdraw.VTWindowControllerListener
 
lockMouseRelease() - Method in class objectdraw.VTWindowControllerListener
 
LogAnalyzer - Interface in cs1705.weblog
An interface for a web server log analyzer that processes web log data analyses hourly and weekly access patterns.
LogAnalyzer2 - Interface in cs1705.weblog
An interface for a web server log analyzer that processes web log data analyses hourly and weekly access patterns.
LogEntry - Class in cs1705.weblog
Store the data from a single line of a web-server log file.
LogEntry(String) - Constructor for class cs1705.weblog.LogEntry
Decompose a log line so that the individual fields are available.
LogReader - Class in cs1705.weblog
A class to read information from a file of web server accesses.
LogReader(BufferedReader) - Constructor for class cs1705.weblog.LogReader
Create a LogfileReader to supply data from the specified stream.
LogScanner - Class in cs1705.weblog
A class to scan information from a web server access log.
LogScanner(String) - Constructor for class cs1705.weblog.LogScanner
Create a LogScanner that reads access log data from the given file.
LogScanner(File) - Constructor for class cs1705.weblog.LogScanner
Create a LogScanner that reads access log data from the given file.
LogScanner(Scanner) - Constructor for class cs1705.weblog.LogScanner
Create a LogScanner that reads access log data from the given stream.

M

main(String[]) - Static method in class cs1705.RunRobotTask
This main method takes the name of a RobotTask class as an argument, and it executes the corresponding task.
main(String[]) - Static method in class cs1705.Version
This main method simply prints out the version information on System.out.
MazeGenerator - Class in cs1705
The class generates mazes for Karel J.
MazeGenerator() - Constructor for class cs1705.MazeGenerator
 
message() - Method in class cs1705.adventure.HelpCommand
Get the descriptive message that is presented before the list of commands when this command is executed.
mouseClicked(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseDragged(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseEntered(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseExited(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseMoved(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mousePressed(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseReleased(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
move() - Method in class cs1705.VPIRobot
Moves the robot one space (intersection) forward in the direction the robot is currently facing.

N

next() - Method in class cs1705.weblog.LogScanner
Analyze the next line from the log file and make it available via a LogEntry object.
nextEntry() - Method in class cs1705.weblog.LogReader
Analyze the next line from the log file and make it available via a LogEntry object.
nextEntry() - Method in class cs1705.weblog.LogScanner
A synonym for LogScanner.hasNext() provided for backward compatibility with the older Java 1.4-style LogReader class.
nextToABeeper() - Method in class cs1705.VPIRobot
Checks whether Karel is currently at an intersection that also contains a beeper pile of one or more beepers.
nextToARobot() - Method in class cs1705.VPIRobot
Checks whether Karel is currently at an intersection that also contains another robot.

O

objectdraw - package objectdraw
 
openFile(String) - Static method in class cs1705.Browser
Display a file in the system browser.
openFile(File) - Static method in class cs1705.Browser
Display a file in the system browser.
openURL(String) - Static method in class cs1705.Browser
Display a URL in the system browser.
overrideNextRobotCreation(int, int, Directions.Direction, int) - Static method in class cs1705.TestableRobot
Define the starting conditions for the next robot that is created.
overrideNextStartUsingFile(String) - Static method in class cs1705.World
Define the file name to read a world description from on the next startFrom...() call.
overrideNextStartUsingString(String) - Static method in class cs1705.World
Define the world description tu use on the next startFrom...() call.
overrideNextStartUsingURL(String) - Static method in class cs1705.World
Define the URL to read a world description from on the next startFrom...() call.

P

paint(Graphics) - Method in class objectdraw.TestableWindowController
Paint gets called by the system whenever the application needs to be repainted.
parser() - Method in class cs1705.adventure.Game
Access this game's parser.
Parser - Class in cs1705.adventure
This parser reads user input and tries to interpret it as an "Adventure" command.
Parser() - Constructor for class cs1705.adventure.Parser
 
pickBeeper() - Method in class cs1705.VPIRobot
Attempts to pick up one beeper from the beeper pile at the intersection where the robot is currently located and place it in the robot's beeper bag.
play() - Method in class cs1705.adventure.Game
Main play routine.
player() - Method in class cs1705.adventure.Game
Access this game's player.
Player - Class in cs1705.adventure
This class represents a player in an adventure game.
Player() - Constructor for class cs1705.adventure.Player
Constructor for objects of class Player
printWelcome() - Method in class cs1705.adventure.Game
Print out the opening message for the player.
promptString() - Method in class cs1705.adventure.Parser
Get the prompt string printed before reading each command.
putBeeper() - Method in class cs1705.VPIRobot
Attempts to place one beeper from the robot's beeper bag in the pile at the intersection where this robot is currently located.

Q

QuitCommand - Class in cs1705.adventure
Implementation of the 'quit' user command for adventure games.
QuitCommand() - Constructor for class cs1705.adventure.QuitCommand
Constructor for objects of class QuitCommand

R

referrer() - Method in class cs1705.weblog.LogEntry
Get the URL of the "referrer" containing the link used to make the request.
remove() - Method in class cs1705.weblog.LogScanner
Provided for compliance with the Iterator interface, but this method is not supported.
request() - Method in class cs1705.weblog.LogEntry
Get the request method, URL, and protocol for this log line.
reset() - Static method in class cs1705.World
Remove everything from the world and returns it to a pristine state.
resultCode() - Method in class cs1705.weblog.LogEntry
Get the result code returned by the server.
Robot - Class in cs1705
This class is a simple wrapper for Bergin's Robot.
Robot(int, int, Directions.Direction, int) - Constructor for class cs1705.Robot
Constructor which supports the specific placement, orientation and setting the number of beepers for Karel.
RobotTask - Interface in cs1705
This class defines the common interface for all robot task objects.
Room - Class in cs1705.adventure
Represents one location in the scenery of an adventure game.
Room(String) - Constructor for class cs1705.adventure.Room
Create a room described "description".
RunRobotTask - Class in cs1705
This class represents a main program that takes a command-line argument that names a RobotTask; it creates an instance of the named task and then runs it.
RunRobotTask() - Constructor for class cs1705.RunRobotTask
Create a new RunRobotTask object.

S

setCurrentRoom(Room) - Method in class cs1705.adventure.Player
Set the current room for this player.
setDelay(int) - Static method in class cs1705.World
Slow down (or speed up) the operation of robots in the world.
setExit(String, Room) - Method in class cs1705.adventure.Room
Define an exit from this room.
setSecondWord(String) - Method in class cs1705.adventure.Command
Define the second word of this command (the word entered after the command word).
setSize(int, int) - Static method in class cs1705.World
Set the size of the world.
setTrace(boolean) - Static method in class cs1705.World
Turns tracing on or off.
setupThread() - Method in class cs1705.VPIRobot
Sets up this robot to run in a separate thread that will be executed in parallel with the world simulation.
setupThread(Runnable) - Static method in class cs1705.World
Sets up a runnable object (usually a robot) in a separate thread that will be executed in parallel with the world simulation.
setVisible(boolean) - Static method in class cs1705.World
Show or hide the world's graphic frame.
showAll() - Method in class cs1705.adventure.CommandWords
 
showSpeedControl(boolean) - Static method in class cs1705.World
Show or hide the speed dialog.
startEmpty() - Static method in class cs1705.World
Initializes Karel's world to be completely empty.
startFromFile(String) - Static method in class cs1705.World
Initializes Karel's world by reading the world configuration file from the file indicated by the given file name.
startFromString(String) - Static method in class cs1705.World
Initializes Karel's world from the given string.
startFromURL(String) - Static method in class cs1705.World
Initializes Karel's world by downloading the world configuration file from a URL, given as a string.
startThreads() - Static method in class cs1705.World
Starts all of the threads associated with this world, so they begin executing in parallel.
StudentTestableWindowController - Class in objectdraw
This is an extension to the TestableWindowController that includes "wrapper"-like assertions that keep Students from having to make use of the more complicated but more generic assertion statements in TestableWindowController.
StudentTestableWindowController() - Constructor for class objectdraw.StudentTestableWindowController
 

T

task() - Method in interface cs1705.RobotTask
This method encapsulates a sequence of instructions for creating and commanding one or more robots (see VPIRobot).
TestableRobot - Class in cs1705
This class extends Robot with assertion capabilities, adding a number of methods useful in writing test cases and in using test-driven development.
TestableRobot(int, int, Directions.Direction, int) - Constructor for class cs1705.TestableRobot
Constructor which supports the specific placement, orientation and setting the number of beepers for Karel.
TestableWindowController - Class in objectdraw
TestableWindowController is an FrameWindowController with various methods to assert things about the state of the Window.
TestableWindowController() - Constructor for class objectdraw.TestableWindowController
This constructor forces TestableWindowController to wait for the initial window to draw itself before exiting the constructor.
TestableWindowControllerTest - Class in objectdraw
Test cases for TestableWindowController
TestableWindowControllerTest() - Constructor for class objectdraw.TestableWindowControllerTest
Creates a new TestableWindowControllerTest test object.
TestableWorld - Class in cs1705
This class provides the basic assertion capabilities for Karel's World in the form of methods useful for writing test cases.
TestableWorld() - Constructor for class cs1705.TestableWorld
This class should not be instantiated--it only provides static methods that can be called without an object.
testEmptyCanvas() - Method in class objectdraw.TestableWindowControllerTest
 
testLine() - Method in class objectdraw.TestableWindowControllerTest
 
testMouseMove() - Method in class objectdraw.TestableWindowControllerTest
 
testRectangle() - Method in class objectdraw.TestableWindowControllerTest
 
toString() - Method in class cs1705.weblog.LogEntry
Create a string representation of the data.
turnLeft() - Method in class cs1705.VPIRobot
Turns this robot 90 degrees to the left.
turnOff() - Method in class cs1705.VPIRobot
Turns off this robot.

U

ur_Robot - Class in cs1705
This class is a simple wrapper for Bergin's ur_Robot class and represents a minimal robot.
ur_Robot(int, int, Directions.Direction, int) - Constructor for class cs1705.ur_Robot
Constructor which supports the specific placement, orientation and setting the number of beepers for Karel.

V

Version - Class in cs1705
This class allows access to the package version information.
Version() - Constructor for class cs1705.Version
Create a new Version object.
version() - Static method in class cs1705.Version
Retrieve the current version information for this class (and this class jar/library) as a string.
VPIRobot - Class in cs1705
A class that represents a robot.
VPIRobot(int, int, Directions.Direction, int) - Constructor for class cs1705.VPIRobot
Constructor which supports the specific placement, orientation and setting the number of beepers for Karel.
VPIRobot() - Constructor for class cs1705.VPIRobot
Default constructor which places Karel at the intersection of 1st street and 1st avenue, holding no beepers, and facing north.
VTControllerTester - Class in objectdraw
 
VTControllerTester(TestableWindowController) - Constructor for class objectdraw.VTControllerTester
Create a UI testing robot, given a TestableWindowController.
VTWindowControllerListener - Class in objectdraw
This is our listener that delegates mouse events to the component, to simplify handling.
VTWindowControllerListener(TestableWindowController, DrawingCanvas) - Constructor for class objectdraw.VTWindowControllerListener
 

W

waitForInit() - Method in class objectdraw.TestableWindowController
This method forces the program to wait on a thread to release the init lock.
waitForRobotThreads() - Static method in class cs1705.World
Wait until all concurrently executing robot threads have completed.
waitUnlock() - Method in class objectdraw.VTWindowControllerListener
 
walk(String) - Method in class cs1705.adventure.Player
Try to walk in a given direction.
welcomeMessage() - Method in class cs1705.adventure.Game
Returns the welcome message printed when the game starts.
World - Class in cs1705
This class can be used to build and maintain the world in which robots work and play.

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