Skip navigation links
Student Library
Copyright © 2010-2018 Virginia Tech.
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 

A

AbstractPersistentMap<T> - Class in student.web
This is an abstract map representing all of the general functionality for maps that create projections on a particular persistence layer.
AbstractPersistentMap(String, String, Class<T>) - Constructor for class student.web.AbstractPersistentMap
Create a new map.
AbstractPersistentMap(String, String, Class<T>, ClassLoader) - Constructor for class student.web.AbstractPersistentMap
Create a new map.
acceptanceCategory(ReflectionSupport.ParameterSignature) - Method in class student.testingsupport.ReflectionSupport.ParameterSignature
Determine if the given set of actual argument types would be accepted by a method with this parameter signature.
accepts(ReflectionSupport.ParameterSignature) - Method in class student.testingsupport.ReflectionSupport.ParameterSignature
Determine if the given set of actual argument types would be accepted by a method with this parameter signature.
accepts(Object...) - Method in class student.testingsupport.ReflectionSupport.ParameterSignature
Determine if the given set of actual parameter values would be accepted by a method with this parameter signature.
accepts(int) - Method in enum student.testingsupport.ReflectionSupport.VisibilityConstraint
Determine if a given set of modifiers, expressed as an integer mask, meets this visibility constraint.
accepts(Member) - Method in enum student.testingsupport.ReflectionSupport.VisibilityConstraint
Determine if a given member meets this visibility constraint.
accessCountsForDay(int) - Method in interface student.weblog.LogAnalyzer
Retrieve a count of web accesses for the specified day of the week.
accessCountsForDayHour(int, int) - Method in interface student.weblog.LogAnalyzer
Retrieve a count of web accesses for the specified time period.
accessCountsForHour(int) - Method in interface student.weblog.LogAnalyzer
Retrieve a count of web accesses during the specified hour of the day.
accessTime() - Method in class student.weblog.LogEntry
Get the access time for the HTTP request contained in this log line.
accumulateLogData(Scanner) - Method in interface student.weblog.LogAnalyzer
Add all log entries from a given stream to the current access pattern data.
accumulateLogDataFromFile(String) - Method in interface student.weblog.LogAnalyzer
Add all log entries from a given file to the current access pattern data.
accumulateLogDataFromURL(String) - Method in interface student.weblog.LogAnalyzer
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.
actionPerformed(ActionEvent) - Method in class student.AnimatedIcon
Control the animation of the Icons when the Timer fires.
actualMatchesFormal(Class<?>, Class<?>) - Static method in class student.testingsupport.ReflectionSupport
Determine whether an actual argument type matches a formal argument type, based on the rules of JLS Section 5.3.
add(StringNormalizer.StandardRule) - Method in class student.testingsupport.StringNormalizer
Add the specified standard rule, as defined in StringNormalizer.StandardRule.
add(StringNormalizer.NormalizerRule) - Method in class student.testingsupport.StringNormalizer
Add the specified rule.
addColumn(String) - Method in class student.CSVDataTable
 
addColumn(String, String) - Method in class student.CSVDataTable
 
addColumn(String) - Method in interface student.DataTable
This method adds a column to the table.
addColumn(String, String) - Method in interface student.DataTable
This method adds a column to the table, setting this column to the specified default value in every row.
addCommand(String, Command) - Method in class student.adventure.CommandWords
Add (or replace) a command word.
addEntry(RssEntry) - Method in class student.web.RssFeed
Add a new entry to this feed.
addIcon(Icon...) - Method in class student.AnimatedIcon
Add Icons to be used in the animation.
addRow(DataTable.Row) - Method in class student.CSVDataTable
 
addRow(DataTable.Row) - Method in interface student.DataTable
This method adds a row to the table.
addStandardRules() - Method in class student.testingsupport.StringNormalizer
Add the standard set of rules.
addXpathNamespace(String, String) - Method in class student.web.TurboWebBot
Bind a symbolic name to an XML namespace URL so that the symbolic name can be used as a namespace prefix on identifiers in XPATH expressions.
addXpathNamespace(String, String) - Method in class student.web.WebBot
Bind a symbolic name to an XML namespace URL so that the symbolic name can be used as a namespace prefix on identifiers in XPATH expressions.
advanceToNextElement() - Method in class student.web.TurboWebBot
Advance the robot forward in the current document until it is looking at (or standing on) the next HTML element of interest it can find.
advanceToNextElement(String) - Method in class student.web.TurboWebBot
Advance the robot forward in the current document until it is looking at (or standing on) the next HTML element of the specified type that it can find.
advanceToNextHeading() - Method in class student.web.WebBot
Advance the robot forward in the current document until it is looking at (or standing on) the next HTML heading element it can find.
advanceToNextLink() - Method in class student.web.WebBot
Advance the robot forward in the current document until it is looking at (or standing on) the next HTML anchor containing an href attribute that it can find.
ALL_LINKS - Static variable in class student.web.WebBot
Internal constant used to specify the set of links to get from a page.
ancestorIs(Component) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks a component's ancestor
and - Variable in class student.testingsupport.GObjectFilter
The "and" operator for combining filters, designed to be used in expressions like where.nameIs("...").and.enabledIs(true).
and(GObjectFilter) - Method in class student.testingsupport.GObjectFilter
The "and" operator for combining filters, when you want to use parentheses to group its righthand argument.
and - Variable in class student.testingsupport.GUIFilter
The "and" operator for combining filters, designed to be used in expressions like where.nameIs("...").and.enabledIs(true).
and(GUIFilter) - Method in class student.testingsupport.GUIFilter
The "and" operator for combining filters, when you want to use parentheses to group its righthand argument.
and - Variable in class student.testingsupport.ObjectdrawFilter
The "and" operator for combining filters, designed to be used in expressions like where.heightIs(10).and.hiddenIs(true).
and(ObjectdrawFilter) - Method in class student.testingsupport.ObjectdrawFilter
The "and" operator for combining filters, when you want to use parentheses to group its righthand argument.
AnimatedIcon - Class in student
The AnimatedIcon will display a series of Icons in a predetermined sequence.
AnimatedIcon(JComponent, Icon...) - Constructor for class student.AnimatedIcon
Create an AnimatedIcon that will continuously cycle with the default (500ms).
AnimatedIcon(JComponent, int, Icon...) - Constructor for class student.AnimatedIcon
Create an AnimatedIcon that will continuously cycle
AnimatedIcon(JComponent, int, int, Icon...) - Constructor for class student.AnimatedIcon
Create an AnimatedIcon specifying all the properties.
APP_STORE - Static variable in class student.web.ApplicationPersistentMap
 
ApplicationPersistentMap<T> - Class in student.web
This class represents a PersistentMap whose contents are shared only by separate executions of a single program.
ApplicationPersistentMap(String, Class<T>) - Constructor for class student.web.ApplicationPersistentMap
Create a new map that associates keys with values of the specified class.
ApplicationPersistentMap(String, Class<T>, ClassLoader) - Constructor for class student.web.ApplicationPersistentMap
NOT FOR STUDENT USE.
applySelfTo(GObjectFilter) - Method in class student.testingsupport.GObjectFilter.BinaryOperator
Implements a composite filter based on a binary operation, where the "left"/"first" filter is the parent from which this class was created, and the "right"/"second" filter is the argument supplied to this operation.
applySelfTo(GObjectFilter) - Method in class student.testingsupport.GObjectFilter.Operator
Concrete subclasses must override this to implement an operation on the filter being passed in to transform it into another filter.
applySelfTo(GUIFilter) - Method in class student.testingsupport.GUIFilter.BinaryOperator
Implements a composite filter based on a binary operation, where the "left"/"first" filter is the parent from which this class was created, and the "right"/"second" filter is the argument supplied to this operation.
applySelfTo(GUIFilter) - Method in class student.testingsupport.GUIFilter.Operator
Concrete subclasses must override this to implement an operation on the filter being passed in to transform it into another filter.
applySelfTo(ObjectdrawFilter) - Method in class student.testingsupport.ObjectdrawFilter.BinaryOperator
Implements a composite filter based on a binary operation, where the "left"/"first" filter is the parent from which this class was created, and the "right"/"second" filter is the argument supplied to this operation.
applySelfTo(ObjectdrawFilter) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Concrete subclasses must override this to implement an operation on the filter being passed in to transform it into another filter.
asArray() - Method in class student.testingsupport.ReflectionSupport.ParameterSignature
Retrieve a plain array containing the parameter types in this signature.
Assert - Class in student
This class is the student library equivalent of JUnit's Assert class.
assertCanvasEmpty() - Method in class objectdraw.StudentTestableWindowController
Asserts 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.
assertEquals(String, Number, Number) - Static method in class student.TestCase
There is no assertion to compare ints with floats or doubles, or to compare two floats or two doubles without specifying a tolerance, but autoboxing will allow you to compare them as objects, which is never desired.
assertEquals(Number, Number) - Static method in class student.TestCase
There is no assertion to compare ints with floats or doubles, or to compare two floats or two doubles without specifying a tolerance, but autoboxing will allow you to compare them as objects, which is never desired.
assertEquals(String, String, String) - Static method in class student.TestCase
Asserts that two Strings are equal.
assertEquals(String, String) - Static method in class student.TestCase
Asserts that two Strings are equal.
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
assertFalse(String, boolean) - Static method in class student.TestCase
Asserts that a condition is false.
assertFalse(boolean) - Static method in class student.TestCase
Asserts that a condition is false.
assertFuzzyEquals(String, String) - Static method in class student.TestCase
Asserts that two Strings are equal, respecting preferences for what differences matter.
assertFuzzyEquals(String, String, String) - Static method in class student.TestCase
Asserts that two Strings are equal, respecting preferences for what differences matter.
assertHas2DObject(Class<? extends Drawable2DInterface>, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
assert version of has2DObject
assertHas2DObject(String, Class<? extends Drawable2DInterface>, 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.
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.
assertNo2DObject(Class<? extends Drawable2DInterface>, 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, succeed otherwise.
assertNo2DObject(String, Class<? extends Drawable2DInterface>, 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.
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.
assertNotCanvasEmpty() - Method in class objectdraw.StudentTestableWindowController
Asserts there is at least one visible element on the canvas.
assertNotOnServer() - Static method in class student.testingsupport.SystemIOUtilities
Checks to see if the calling program is running under the Apache Tomcat servlet container.
assertSame(String, Number, Number) - Static method in class student.TestCase
There is no assertion to compare primitive values using assertSame(), but autoboxing will allow you to compare them as objects, which is never desired.
assertSame(Number, Number) - Static method in class student.TestCase
There is no assertion to compare primitive values using assertSame(), but autoboxing will allow you to compare them as objects, which is never desired.
assertTrue(String, boolean) - Static method in class student.TestCase
Asserts that a condition is true.
assertTrue(boolean) - Static method in class student.TestCase
Asserts that a condition is true.
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.
atLeastOne(ConcreteFilterType) - Static method in class student.testingsupport.Reflection
Change the quantification behavior of a filter so that boolean predicates are evaluated over all matches for the filter and the result is "or"ed together.
available() - Method in class student.testingsupport.MutableStringBufferInputStream
 
avg(String) - Method in class student.CSVDataTable
 
avg(String) - Method in interface student.DataTable
This method computes the average of a column that has numeric values.

B

BinaryOperator() - Constructor for class student.testingsupport.GObjectFilter.BinaryOperator
 
BinaryOperator() - Constructor for class student.testingsupport.GUIFilter.BinaryOperator
 
BinaryOperator() - Constructor for class student.testingsupport.ObjectdrawFilter.BinaryOperator
 
BOTTOM - Static variable in class student.AnimatedIcon
A constant representing alignment with the bottom edge of a container.
Browser - Class in student
This class provides a simple interface to your web browser.
browser() - Method in class student.weblog.LogEntry
Get the identification information for the browser making the request.

C

cachedPageFor(URL) - Method in class student.web.WebBot
Retrieve the cached page for the given URL.
callGUIIOMethod(Object, String, Object...) - Method in class student.GUITestCase
Call a method that involves window-based I/O, so that the method is executed on the GUI event thread.
callGUIIOMethod(Object, Class<T>, String, Object...) - Method in class student.GUITestCase
Call a method that involves window-based I/O, so that the method is executed on the GUI event thread, and return its value.
callGUIIOMethod(Runnable) - Method in class student.GUITestCase
A more primitive version of callGUIIOMethod() that takes a Runnable instead of a receiver, method name, and parameters.
canCoerceFromActualToFormal(Class<?>, Class<?>) - Static method in class student.testingsupport.ReflectionSupport
Determine the type of method invocation conversion, if any, Java would apply to convert from an actual argument of type actual into a formal parameter type formal, possibly including "auto-boxing" or "auto-unboxing", widening primitive conversions, or widening reference conversions, according to the rules of JLS Section 5.3.
CENTER - Static variable in class student.AnimatedIcon
A constant representing alignment in the middle of a container.
checkExit(int) - Method in class student.testingsupport.ExitPreventingSecurityManager
checkPermission(Permission) - Method in class student.testingsupport.ExitPreventingSecurityManager
checkPermission(Permission, Object) - Method in class student.testingsupport.ExitPreventingSecurityManager
clear() - Method in class student.web.AbstractPersistentMap
 
clear() - Method in interface student.web.PersistentMap
Remove all of the key/value associations from this map.
clear() - Method in class student.web.SessionPersistentMap
 
clear() - Method in class student.web.SharedPersistentMap
Remove all of the key/value associations from this map.
clearHistory() - Method in class student.testingsupport.PrintStreamWithHistory
Reset this object's history to be empty, just as when the object was first created.
clearHistory() - Method in class student.testingsupport.PrintWriterWithHistory
Reset this object's history to be empty, just as when the object was first created.
click(Component) - Method in class student.GUITestCase
Left-click on the center of the component (mouse button 1 press and release).
click(Component, int, int) - Method in class student.GUITestCase
Left-click at the given location on a component (mouse button 1 press and release).
click(Component, int, int, int, int) - Method in class student.GUITestCase
Click on a component, specifying the location, specific mouse buttons, and click count.
clickDialogButton(String) - Method in class student.GUITestCase
Assuming that a Dialog of some sort is currently open, this method clicks the specified button.
ClientImports() - Constructor for class student.testingsupport.GObjectFilter.ClientImports
 
ClientImports() - Constructor for class student.testingsupport.GUIFilter.ClientImports
 
ClientImports() - Constructor for class student.testingsupport.ObjectdrawFilter.ClientImports
 
clone() - Method in class student.web.RssEntry
Clone this object.
clone() - Method in class student.web.RssFeed
Clone this object.
close() - Method in class student.testingsupport.PrintWriterWithHistory.NullWriter
 
cointainsPoint(GPoint) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks that a GObject contains the given point.
cointainsPoint(double, double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks that a GObject contains the given point.
colCount() - Method in class student.CSVDataTable
 
colCount() - Method in interface student.DataTable
This method returns the number of columns in the data table.
colorIs(Color) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's color.
colorIs(Color) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks a shape's color.
combine(boolean, boolean) - Method in class student.testingsupport.GObjectFilter.BinaryOperator
Concrete subclasses must override this to implement the appropriate logic for combining the results of the two filters being combined.
combine(boolean, boolean) - Method in class student.testingsupport.GUIFilter.BinaryOperator
Concrete subclasses must override this to implement the appropriate logic for combining the results of the two filters being combined.
combine(boolean, boolean) - Method in class student.testingsupport.ObjectdrawFilter.BinaryOperator
Concrete subclasses must override this to implement the appropriate logic for combining the results of the two filters being combined.
Command - Class in student.adventure
This class is an abstract superclass for all command classes in the game.
Command() - Constructor for class student.adventure.Command
Create a command object.
CommandWords - Class in student.adventure
This class holds a collection of all command words known to the game.
CommandWords() - Constructor for class student.adventure.CommandWords
Constructor - initialise the command words.
commandWords() - Method in class student.adventure.Parser
Access the set of valid command words.
compact(String, int, int) - Static method in class student.TestCase
Takes a string and, if it is too long, shortens it by replacing the middle with an ellipsis.
compact(String) - Static method in class student.TestCase
Takes a string and, if it is too long, shortens it by replacing the middle with an ellipsis.
contains(String, String...) - Method in class student.TestCase
Determine whether one String contains a sequence of other substrings in order.
containsKey(Object) - Method in class student.web.AbstractPersistentMap
 
containsKey(Object) - Method in interface student.web.PersistentMap
Returns true if this map contains a mapping for the specified key.
containsKey(Object) - Method in class student.web.SessionPersistentMap
 
containsRegex(String, String...) - Method in class student.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as a regular expressions.
containsRegex(String, Pattern...) - Method in class student.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as a regular expressions.
containsValue(Object) - Method in class student.web.AbstractPersistentMap
 
containsValue(Object) - Method in interface student.web.PersistentMap
Returns true if this map maps one or more keys to the specified value.
containsValue(Object) - Method in class student.web.SessionPersistentMap
 
CONTEXT_OBJECT - Static variable in class student.web.SharedPersistentMap
 
convertEntryList() - Method in class student.web.RssFeed
Convert the native ROME feed's list of entities into a proper list of wrapped RssEntry objects, and store the result in the RssFeed.entries field.
copyRowsFrom(DataTable) - Method in class student.CSVDataTable
 
copyRowsFrom(DataTable) - Method in interface student.DataTable
This method copies an existing DataTable's rows into the DataTable.
count(String, String) - Method in class student.CSVDataTable
 
count(String, String) - Method in interface student.DataTable
This method counts the number of rows in the specified column that have the value given by the value parameter.
create(String, Object...) - Static method in class student.testingsupport.Reflection
Dynamically look up and invoke a class constructor for the target class, with appropriate hints if any failures happen along the way.
create(Type<T>, Object...) - Static method in class student.testingsupport.Reflection
Dynamically look up and invoke a class constructor for the target class, with appropriate hints if any failures happen along the way.
create(Class<T>, Object...) - Static method in class student.testingsupport.Reflection
Dynamically look up and invoke a class constructor for the target class, with appropriate hints if any failures happen along the way.
create(Constructor<T>, Object...) - Static method in class student.testingsupport.Reflection
Just like Constructor.newInstance(Object...), but converts any thrown exceptions into RuntimeExceptions.
create(Constructor<T>, Object...) - Static method in class student.testingsupport.Reflection
Just like Constructor.newInstance(Object...), but converts any thrown exceptions into RuntimeExceptions.
create(Constructor<T>, Object...) - Static method in class student.testingsupport.ReflectionSupport
Just like Constructor.newInstance(Object...), but converts any thrown exceptions into RuntimeExceptions.
create(Class<T>, Object...) - Static method in class student.testingsupport.ReflectionSupport
Dynamically look up and invoke a class constructor for the target class, with appropriate hints if any failures happen along the way.
create(String, Object...) - Static method in class student.testingsupport.ReflectionSupport
Dynamically look up and invoke a class constructor for the target class, with appropriate hints if any failures happen along the way.
createBufferedReader(File) - Static method in class student.IOHelper
Creates an instance of BufferedReader that can be used to read from the given file.
createBufferedReader(String) - Static method in class student.IOHelper
Creates an instance of BufferedReader that can be used to read from the file referred to by the given name.
createBufferedReader(URL) - Static method in class student.IOHelper
Creates an instance of BufferedReader that can be used to read from a URL over the net.
createBufferedReaderForString(String) - Static method in class student.IOHelper
Creates an instance of BufferedReader that can be used to read directly from a given text string.
createBufferedReaderForURL(String) - Static method in class student.IOHelper
Creates an instance of BufferedReader that can be used to read from a URL given as a text string.
createCommands() - Method in class student.adventure.Game
Create all the commands this game knows about.
createConsoleWriter() - Static method in class student.IOHelper
Creates and returns an instance of PrintWriter that can be used to write to the console.
createEx(String, Object...) - Static method in class student.testingsupport.Reflection
Just like Reflection.create(String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createEx(Type<T>, Object...) - Static method in class student.testingsupport.Reflection
Just like Reflection.create(Type, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createEx(Class<T>, Object...) - Static method in class student.testingsupport.Reflection
Just like Reflection.create(Class, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createEx(Constructor<T>, Object...) - Static method in class student.testingsupport.Reflection
Just like Reflection.create(java.lang.reflect.Constructor, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createEx(Constructor<T>, Object...) - Static method in class student.testingsupport.Reflection
Just like Reflection.create(java.lang.reflect.Constructor, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createEx(Constructor<?>, Object...) - Static method in class student.testingsupport.ReflectionSupport
Just like ReflectionSupport.create(Constructor, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createEx(Class<T>, Object...) - Static method in class student.testingsupport.ReflectionSupport
Just like ReflectionSupport.create(Class, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createEx(String, Object...) - Static method in class student.testingsupport.ReflectionSupport
Just like ReflectionSupport.create(String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createHierarchy() - Method in class student.GUITestCase
Create the component hierarchy object that will be used in this test class.
createKeyboardReader() - Static method in class student.IOHelper
Creates and returns an instance of BufferedReader that can be used to read from the keyboard.
createKeyboardScanner() - Static method in class student.IOHelper
Creates and returns a Scanner that can be used to read from the keyboard.
createPrintWriter(File, boolean) - Static method in class student.IOHelper
Creates an instance of PrintWriter that can be used to write to the given file.
createPrintWriter(String, boolean) - Static method in class student.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 student.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 student.adventure.Game
Create all the rooms and link their exits together.
createScanner(File) - Static method in class student.IOHelper
Creates a Scanner that can be used to read from the given file.
createScanner(String) - Static method in class student.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 student.IOHelper
Creates a Scanner that can be used to read from a URL over the net.
createScannerForString(String) - Static method in class student.IOHelper
Creates a Scanner that can be used to read directly from a given text string.
createScannerForURL(String) - Static method in class student.IOHelper
Creates a Scanner that can be used to read from a URL given as a text string.
CSVDataTable - Class in student
CSVDataTable is an implementation of DataTable that allows the user to interact with CSV Files.
CSVDataTable() - Constructor for class student.CSVDataTable
This constructor creates an empty DataTable with no columns.
CSVDataTable(String) - Constructor for class student.CSVDataTable
Create a new data table using CSV data on a website.
CSVDataTable(String, boolean) - Constructor for class student.CSVDataTable
Create a new data table using CSV data on a website.
CSVDataTable(String, boolean, char) - Constructor for class student.CSVDataTable
Create a new data table using CSV data on a website.
CSVDataTable(File) - Constructor for class student.CSVDataTable
Create a new data table using CSV data from a file.
CSVDataTable(File, boolean) - Constructor for class student.CSVDataTable
Create a new data table using CSV data from a file.
CSVDataTable(File, boolean, char) - Constructor for class student.CSVDataTable
Create a new data table using CSV data on a website.
CSVDataTable(InputStream, boolean, char) - Constructor for class student.CSVDataTable
Create a new data table using CSV data from an input stream.
currentElt() - Method in class student.web.WebBot.PageLocation
Get the current element.

D

DataTable - Interface in student
A database table or spreadsheet-like abstraction that consists of rows, each of which has an unordered collection of columns.
DataTable.HashedRow - Class in student
This is a default concrete implementation of the Row interface.
DataTable.Row - Interface in student
This interface defines the model used for each row in the table.
description(String, String) - Method in class student.testingsupport.GObjectFilter.BinaryOperator
Concrete subclasses must override this to implement the appropriate logic for building a description of this filter based on the descriptions of the two filters being combined.
description(String, String) - Method in class student.testingsupport.GUIFilter.BinaryOperator
Concrete subclasses must override this to implement the appropriate logic for building a description of this filter based on the descriptions of the two filters being combined.
description(String, String) - Method in class student.testingsupport.ObjectdrawFilter.BinaryOperator
Concrete subclasses must override this to implement the appropriate logic for building a description of this filter based on the descriptions of the two filters being combined.
DISPOSE_CLASSES - Static variable in class student.GUITestCase
Any member data derived from these classes will be automatically set to null after the test has run.
doubleClick(Component) - Method in class student.GUITestCase
Left-double-click on the center of the component (mouse button 1 press and release twice).
doubleClick(Component, int, int) - Method in class student.GUITestCase
Left-double-click at the given location on a component (mouse button 1 press and release twice).
dump(PrintStream) - Method in class student.web.WebBot.Page
Dump this page for diagnostic purposes.

E

echoCurrentElementText() - Method in class student.web.WebBot
Echo the text of the current HTML element (heading, link, etc.) to the robot's default output channel.
echoPageTitle() - Method in class student.web.WebBot
Echo the current web page title to the robot's default output channel.
elts() - Method in class student.web.WebBot.PageLocation
Get the current list of elements of interest.
enabledIs(boolean) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that succeeds if a component is enabled.
enterText(JTextComponent, String) - Method in class student.GUITestCase
Type the given text into the given component, replacing any existing text already there.
entries - Variable in class student.web.RssFeed
The list of entries.
entryLink - Variable in class student.web.RssEntry
The entry's link URL (set lazily in RssEntry.getLink().
entrySet() - Method in class student.web.AbstractPersistentMap
 
entrySet() - Method in interface student.web.PersistentMap
Returns a set of all entries (that is, key/value pairs) stored in this map.
entrySet() - Method in class student.web.SessionPersistentMap
 
equals(String, String) - Method in class student.TestCase
Determines whether two Strings are equal.
equalsRegex(String, String) - Method in class student.TestCase
Determines whether a String exactly matches an expected regular expression.
equalsRegex(String, Pattern) - Method in class student.TestCase
Determines whether a String exactly matches an expected regular expression.
err() - Static method in class student.testingsupport.SystemIOUtilities
Get a "wrapped" version of System.err that provides history recording functions.
EventDispatchException(Throwable) - Constructor for exception student.GUITestCase.EventDispatchException
Create a new exception object.
every(ConcreteFilterType) - Static method in class student.testingsupport.Reflection
Change the quantification behavior of a filter so that boolean predicates are evaluated over all matches for the filter and the result is "and"ed together.
execute(Player) - Method in class student.adventure.Command
Execute this command.
execute(Player) - Method in class student.adventure.GoCommand
Try to go to one direction.
execute(Player) - Method in class student.adventure.HelpCommand
Print out some help information.
execute(Player) - Method in class student.adventure.QuitCommand
"Quit" was entered.
ExitCalledException - Exception in student.testingsupport
A specialized security exception that indicates that System.exit() was called.
ExitCalledException(int) - Constructor for exception student.testingsupport.ExitCalledException
Create a new exception with the given status code--that is, the parameter value passed to the System.exit() call this exception represents.
ExitPreventingSecurityManager - Class in student.testingsupport
A custom security manager used by TestCase to detect and report calls to System.exit() without actually terminating the JVM.
ExitPreventingSecurityManager(SecurityManager) - Constructor for class student.testingsupport.ExitPreventingSecurityManager
Create a new manager with the given security manager as its "parent".

F

feedLink - Variable in class student.web.RssFeed
The feed's link URL (set lazily in RssFeed.getLink().
field - Static variable in class student.testingsupport.Reflection
A starting point for field filters where the name is unspecified.
field(String) - Static method in class student.testingsupport.Reflection
Get the field corresponding to a name.
field(Field) - Static method in class student.testingsupport.Reflection
Get the field corresponding to a Field.
fillColorIs(Color) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's fill color.
filledIs(boolean) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks whether a GObject is filled.
findIdentifier(String) - Static method in class student.web.ApplicationPersistentMap
 
fixtureSetUp() - Method in class student.GUITestCase
Ensure proper test harness setup that won't be inadvertently overridden by a derived class.
fixtureTearDown() - Method in class student.GUITestCase
Handles restoration of system state.
flush() - Method in class student.testingsupport.PrintWriterWithHistory.NullWriter
 
focus(Component) - Method in class student.GUITestCase
Give the focus to a specific component.
fromFile(File) - Method in class student.TestCase
Load the contents of a text file and return it as a string (normalizing newlines to unix-style line ending conventions).
fromFile(String) - Method in class student.TestCase
Load the contents of a text file and return it as a string (normalizing newlines to unix-style line ending conventions).
fuzzyContains(String, String...) - Method in class student.TestCase
Determine whether one String contains a sequence of other substrings in order, respecting preferences for what differences matter.
fuzzyContainsRegex(String, String...) - Method in class student.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as regular expressions, and respecting preferences for what differences matter.
fuzzyContainsRegex(String, Pattern...) - Method in class student.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as regular expressions, and respecting preferences for what differences matter.
fuzzyEquals(String, String) - Method in class student.TestCase
Determines whether two Strings are equal, respecting preferences for what differences matter.
fuzzyEqualsRegex(String, String) - Method in class student.TestCase
Determines whether a String exactly matches an expected regular expression, respecting preferences for what differences matter.
fuzzyEqualsRegex(String, Pattern) - Method in class student.TestCase
Determines whether a String exactly matches an expected regular expression, respecting preferences for what differences matter.

G

Game - Class in student.adventure
This class is the main class for a "World of Zuul"-style adventure game application.
Game() - Constructor for class student.adventure.Game
Create the game and initialise its internal map.
Game(Player, Parser) - Constructor for class student.adventure.Game
Create the game and initialise its internal map.
get(String) - Method in class student.adventure.CommandWords
Given a command word, find and return the matching command object.
get(Object, Field<T>) - Method in class student.testingsupport.Reflection
Get the value of a field.
get(Object, String) - Method in class student.testingsupport.Reflection
Get the value of a field, without checking the type of the field.
get(Object, Type<T>, String) - Method in class student.testingsupport.Reflection
Get the value of a field.
get(Object, Class<T>, String) - Method in class student.testingsupport.Reflection
Get the value of a field.
get(Object, Class<T>, String) - Static method in class student.testingsupport.ReflectionSupport
Get the value of a field.
get(Class<?>, Class<T>, String) - Static method in class student.testingsupport.ReflectionSupport
Get the value of a field.
get(Object) - Method in class student.web.AbstractPersistentMap
 
get(Object) - Method in interface student.web.PersistentMap
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get(Object) - Method in class student.web.SessionPersistentMap
 
get2DObject(Class<? extends Drawable2DInterface>, 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.
getAlignmentX() - Method in class student.AnimatedIcon
Get the alignment of the Icon on the x-axis
getAlignmentY() - Method in class student.AnimatedIcon
Get the alignment of the icon on the y-axis
getAllComponentsMatching(Class<T>) - Method in class student.GUITestCase
Look up all components in the GUI being tested by specifying their class.
getAllComponentsMatching(Class<T>, GUIFilter) - Method in class student.GUITestCase
Look up all components in the GUI being tested by specifying their class and a GUIFilter.
getAllComponentsMatching(GUIFilter) - Method in class student.GUITestCase
Look up all components in the GUI being tested by specifying a GUIFilter.
getAllDrawablesMatching(Class<T>) - Method in class student.ObjectdrawTestCase
Look up all DrawableInterface objects on the canvas of the WindowController being tested by specifying their class.
getAllDrawablesMatching(Class<T>, ObjectdrawFilter) - Method in class student.ObjectdrawTestCase
Look up all DrawableInterface objects on the canvas of the WindowController being tested by specifying their class and an ObjectdrawFilter.
getAllDrawablesMatching(ObjectdrawFilter) - Method in class student.ObjectdrawTestCase
Look up all DrawableInterface objects on the canvas of the WindowController being tested by specifying an ObjectdrawFilter.
getAllElementsMatchingXpath(String) - Method in class student.web.TurboWebBot
Find nodes within the current document using an XPATH expression.
getAllGObjectsMatching(Class<T>) - Method in class student.GraphicTestCase
Look up all GObjects on the canvas of the GraphicsProgram being tested by specifying their class.
getAllGObjectsMatching(Class<T>, GObjectFilter) - Method in class student.GraphicTestCase
Look up all GObjects on the canvas of the GraphicsProgram being tested by specifying their class and a GObjectFilter.
getAllGObjectsMatching(GObjectFilter) - Method in class student.GraphicTestCase
Look up all GObjects on the canvas of the GraphicsProgram being tested by specifying a GObjectFilter.
getAllMatchingElements(String) - Method in class student.web.TurboWebBot
Get all HTML elements of the specified type on this web page.
getAllMatchingElements(String, String...) - Method in class student.web.TurboWebBot
Get all HTML elements of the specified type on this web page, based on the context where the elements appear.
getAllRows() - Method in class student.CSVDataTable
 
getAllRows() - Method in interface student.DataTable
This method returns a representation of the Data Table.
getAttributes() - Method in interface student.web.HtmlElement
Get an Iterable that will allow you to cycle through the complete set of attributes on this element.
getAttributeValue(String) - Method in interface student.web.HtmlElement
Look up an attribute's value on this element.
getAuthor() - Method in interface student.web.RssEntity
Get this entity's author.
getAuthor() - Method in class student.web.RssEntry
Get this entry's author.
getAuthor() - Method in class student.web.RssFeed
Get this feed's author.
getAuthors() - Method in interface student.web.RssEntity
Get this entity's authors.
getAuthors() - Method in class student.web.RssEntry
Get this entry's authors.
getAuthors() - Method in class student.web.RssFeed
Get this feed's authors.
getCacheId(String) - Method in class student.web.AbstractPersistentMap
Get the cache ID for this map.
getCacheId(String) - Method in class student.web.ApplicationPersistentMap
 
getCacheId(String) - Method in class student.web.SharedPersistentMap
Get the ID used to store the context cache in the ZK browser session.
getCanvas() - Method in class objectdraw.TestableWindowController
Accessor function to get the DrawingCanvas from the frame.
getCanvas() - Method in class student.GraphicTestCase
Retrieve the GCanvas object associated with the GraphicsProgram being tested.
getCanvas() - Method in class student.ObjectdrawTestCase
Retrieve the JDrawingCanvas object associated with the WindowController being tested.
getCell(int, String) - Method in class student.CSVDataTable
 
getCell(int, int) - Method in class student.CSVDataTable
 
getCell(String, String) - Method in class student.CSVDataTable
 
getCell(String, int) - Method in class student.CSVDataTable
 
getCell(int, String) - Method in interface student.DataTable
This method returns the String value in the table at a specified row/column location.
getCell(int, int) - Method in interface student.DataTable
This method returns the String value in the table at a specified row/column location.
getCell(String, String) - Method in interface student.DataTable
This method returns the String value in the table at a specified row/column location.
getCell(String, int) - Method in interface student.DataTable
This method returns the String value in the table at a specified row/column location.
getClassForName(String, ClassLoader) - Static method in class student.testingsupport.ReflectionSupport
Dynamically look up a class by name, with appropriate hints if the class cannot be found.
getClassForName(String...) - Static method in class student.testingsupport.ReflectionSupport
Dynamically look up a class by name using a sequence of one or more potential class names, with appropriate hints if the class cannot be found.
getClassForNameIfPossible(String, ClassLoader) - Static method in class student.testingsupport.ReflectionSupport
Dynamically look up a class by name, returning null if the class is not found.
getColumnNames() - Method in class student.CSVDataTable
 
getColumnNames() - Method in interface student.DataTable
This method returns a list of the names of all of the columns of the data table.
getCommand() - Method in class student.adventure.Parser
Get the next command from the input sequence.
getComponent(Class<T>) - Method in class student.GUITestCase
Look up a component in the GUI being tested by specifying its class.
getComponent(Class<T>, String) - Method in class student.GUITestCase
Look up a component in the GUI being tested by specifying its class and its name (as returned by the component's getName() method).
getComponent(Class<T>, GUIFilter) - Method in class student.GUITestCase
Look up a component in the GUI being tested by specifying its class and a GUIFilter.
getComponent(GUIFilter) - Method in class student.GUITestCase
Look up a component in the GUI being tested, using a filter to specify which component you want.
getContent() - Method in class student.web.WebBot.Page
Get this document's entire content as a string.
getContents(JComboBox) - Method in class student.GUITestCase
Get the contents of a combo box, in the form of a list of strings.
getContents(JList) - Method in class student.GUITestCase
Get the contents of a list control, in the form of a list of strings.
getCurrentElement() - Method in class student.web.WebBot
Get the HTML element of interest that the robot is currently standing on.
getCurrentElementText() - Method in class student.web.WebBot
Get the text of the current HTML element on this web page--i.e., the title of a heading or the text associated with a link.
getCurrentIconIndex() - Method in class student.AnimatedIcon
Get the index of the currently visible Icon
getCurrentPageName() - Static method in class student.web.WebUtilities
Retrieve the name of the current ZHTML file being shown by a CloudSpace web application, such as "index.zhtml" or "lab02.zhtml".
getCurrentPagePath() - Static method in class student.web.WebUtilities
Retrieve the relative path name of the current ZHTML file being shown by a CloudSpace web application, such as "/Fall09/mypid/index.zhtml" or "/Fall09/mypid/lab02/lab02.zhtml".
getCurrentRoom() - Method in class student.adventure.Player
Return the current room for this player.
getCurrentWorkingDirectory() - Static method in class student.IOHelper
Returns current working directory.
getCycles() - Method in class student.AnimatedIcon
Get the cycles to complete before animation stops.
getDate() - Method in interface student.web.RssEntity
Get this entity's publication date.
getDate() - Method in class student.web.RssEntry
Get this entry's publication date.
getDate() - Method in class student.web.RssFeed
Get this feed's publication date.
getDelay() - Method in class student.AnimatedIcon
Get the delay between painting each Icon
getDelimiter() - Method in class student.CSVDataTable
Get the delimiter used by this data set.
getDescription() - Method in interface student.web.RssEntity
Get this entity's description.
getDescription() - Method in class student.web.RssEntry
Get this entry's description.
getDescription() - Method in class student.web.RssFeed
Get this feed's description.
getDescriptionType() - Method in class student.web.RssEntry
Get the MIME type of the description (like "text/html" or "text/plain").
getDoc() - Method in class student.web.WebBot.Page
Get this document's entire content as a DOM tree.
getDoubleCell(int, String) - Method in class student.CSVDataTable
 
getDoubleCell(int, int) - Method in class student.CSVDataTable
 
getDoubleCell(String, String) - Method in class student.CSVDataTable
 
getDoubleCell(String, int) - Method in class student.CSVDataTable
 
getDoubleCell(int, String) - Method in interface student.DataTable
This method returns the double value in the table at a specified row/column location.
getDoubleCell(int, int) - Method in interface student.DataTable
This method returns the double value in the table at a specified row/column location.
getDoubleCell(String, String) - Method in interface student.DataTable
This method returns the double value in the table at a specified row/column location.
getDoubleCell(String, int) - Method in interface student.DataTable
This method returns the double value in the table at a specified row/column location.
getDrawable(Class<T>) - Method in class student.ObjectdrawTestCase
Look up a DrawableInterface object on the canvas of the WindowController being tested by specifying its class.
getDrawable(Class<T>, ObjectdrawFilter) - Method in class student.ObjectdrawTestCase
Look up a DrawableInterface object on the canvas of the WindowController being tested by specifying its class and an ObjectdrawFilter.
getDrawable(ObjectdrawFilter) - Method in class student.ObjectdrawTestCase
Look up a DrawableInterface object on the canvas of the WindowController being tested, using a filter to specify which object you want.
getElementById(String) - Method in class student.web.TurboWebBot
Get the first HTML element with the specified id on this web page, using the HTML id="..." attribute on the element.
getElementsByCssClass(String) - Method in class student.web.TurboWebBot
Get all the HTML elements with the specified CSS class on this web page, using the HTML class="..." attribute on the elements.
getEntries() - Method in class student.web.RssFeed
Get this feed's entries.
getExit(String) - Method in class student.adventure.Room
Return the room that is reached if we go from this room in direction "direction".
getExitDirections() - Method in class student.adventure.Room
Return a set of all of the directions one can exit from this room.
getExitString() - Method in class student.adventure.Room
Return a string describing the room's exits, for example "Exits: north west".
getField(Class<?>, Class<?>, String) - Static method in class student.testingsupport.ReflectionSupport
Look up a field by name, receiver class, and type, finding the field that will accept the given type (not requiring an exact match on type).
getFile(String) - Static method in class student.IOHelper
Creates a new File instance from a relative or an absolute pathname.
getFile(File) - Static method in class student.IOHelper
Takes an existing file and, if it contains a relative path name, it is resolved against the current working directory.
getFinder() - Method in class student.GUITestCase
Obtain a component finder to look up components.
getFirstComponentMatching(Class<T>) - Method in class student.GUITestCase
Look up a component in the GUI being tested by specifying its class.
getFirstComponentMatching(Class<T>, GUIFilter) - Method in class student.GUITestCase
Look up a component in the GUI being tested by specifying its class and a GUIFilter.
getFirstComponentMatching(GUIFilter) - Method in class student.GUITestCase
Look up a component in the GUI being tested by specifying a GUIFilter.
getFirstDrawableMatching(Class<T>) - Method in class student.ObjectdrawTestCase
Look up a DrawableInterface object on the canvas of the WindowController being tested by specifying its class.
getFirstDrawableMatching(Class<T>, ObjectdrawFilter) - Method in class student.ObjectdrawTestCase
Look up a DrawableInterface object on the canvas of the WindowController being tested by specifying its class and an ObjectdrawFilter.
getFirstDrawableMatching(ObjectdrawFilter) - Method in class student.ObjectdrawTestCase
Look up a DrawableInterface object on the canvas of the WindowController being tested by specifying an ObjectdrawFilter.
getFirstGObjectMatching(Class<T>) - Method in class student.GraphicTestCase
Look up a GObject on the canvas of the GraphicsProgram being tested by specifying its class.
getFirstGObjectMatching(Class<T>, GObjectFilter) - Method in class student.GraphicTestCase
Look up a GObject on the canvas of the GraphicsProgram being tested by specifying its class and a GObjectFilter.
getFirstGObjectMatching(GObjectFilter) - Method in class student.GraphicTestCase
Look up a GObject on the canvas of the GraphicsProgram being tested by specifying a GObjectFilter.
getFirstMatchingElement(String) - Method in class student.web.TurboWebBot
Get the first HTML element of the specified type on this web page.
getFirstMatchingElement(String, String...) - Method in class student.web.TurboWebBot
Get the first HTML element of the specified type on this web page, based on the context where the element appears.
getFrame() - Method in class objectdraw.TestableWindowController
Get the top-level JFrame component.
getGObject(Class<T>) - Method in class student.GraphicTestCase
Look up a GObject on the canvas of the GraphicsProgram being tested by specifying its class.
getGObject(Class<T>, GObjectFilter) - Method in class student.GraphicTestCase
Look up a GObject on the canvas of the GraphicsProgram being tested by specifying its class and a GObjectFilter.
getGObject(GObjectFilter) - Method in class student.GraphicTestCase
Look up a GObject on the canvas of the GraphicsProgram being tested, using a filter to specify which GObject you want.
getHeadingLevel() - Method in interface student.web.HtmlHeadingElement
Get the heading level (1-6) of this element.
getHeadingLevel() - Method in class student.web.WebBot
Get the heading level (1-6) of the current heading on this web page.
getHeadings() - Method in class student.web.WebBot
Get an iterator over all headings in the current document.
getHeadings(int) - Method in class student.web.WebBot.Page
Get an iterator over the headings in this document.
getHeadingsToLevel(int) - Method in class student.web.WebBot
Get an iterator over all headings in the current document with a level less than or equal to the value specified.
getHierarchy() - Method in class student.GUITestCase
Get the hierarchy used by finders in this test class.
getHistory() - Method in class student.testingsupport.PrintStreamWithHistory
Retrieve the text history of what has been sent to this PrintStream.
getHistory() - Method in class student.testingsupport.PrintWriterWithHistory
Retrieve the text history of what has been sent to this PrintWriter.
getIcon(int) - Method in class student.AnimatedIcon
Get the Icon at the specified index.
getIconCount() - Method in class student.AnimatedIcon
Get the number of Icons contained in this AnimatedIcon.
getIconHeight() - Method in class student.AnimatedIcon
Gets the height of this icon.
getIconLink() - Method in class student.web.RssFeed
Get the link for the site icon belonging to this feed's home site.
getIconWidth() - Method in class student.AnimatedIcon
Gets the width of this icon.
getImageLink() - Method in class student.web.RssFeed
Get the link for this feed's image as a URL.
getInnerHTML() - Method in interface student.web.HtmlElement
Get the entire nested HTML content surrounded by this element, including any nested HTML elements with full markup.
getIntCell(int, String) - Method in class student.CSVDataTable
 
getIntCell(int, int) - Method in class student.CSVDataTable
 
getIntCell(String, String) - Method in class student.CSVDataTable
 
getIntCell(String, int) - Method in class student.CSVDataTable
 
getIntCell(int, String) - Method in interface student.DataTable
This method returns the int value in the table at a specified row/column location.
getIntCell(int, int) - Method in interface student.DataTable
This method returns the int value in the table at a specified row/column location.
getIntCell(String, String) - Method in interface student.DataTable
This method returns the int value in the table at a specified row/column location.
getIntCell(String, int) - Method in interface student.DataTable
This method returns the int value in the table at a specified row/column location.
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.
getLink() - Method in interface student.web.RssEntity
Get this entity's link as a URL.
getLink() - Method in class student.web.RssEntry
Get this entry's link as a URL.
getLink() - Method in class student.web.RssFeed
Get the link (as a URL) where this feed is officially published.
getLinks() - Method in class student.web.WebBot
Get an iterator over all links in the current document.
getLinks(int) - Method in class student.web.WebBot.Page
Get an iterator over the links in this document.
getLinksOffServer() - Method in class student.web.WebBot
Get an iterator over all links in the current document that refer to pages on other servers.
getLinksToOtherPages() - Method in class student.web.WebBot
Get an iterator over all links in the current document that refer to other web pages.
getLinkURI() - Method in class student.web.WebBot
Get the URI of the current link on this web page.
getLoadedFromLink() - Method in class student.web.RssFeed
Get the link as a URL where this feed was loaded from.
getLongDescription() - Method in class student.adventure.Room
Return a long description of this room, including a list of available exits.
getMatchingConstructor(Class<?>, Class<?>...) - Static method in class student.testingsupport.ReflectionSupport
Look up a constructor by parameter profile, finding the constructor that will accept the given list of parameters (not requiring an exact match on parameter types).
getMatchingConstructor(Class<?>, ReflectionSupport.ParameterSignature) - Static method in class student.testingsupport.ReflectionSupport
Look up a constructor by parameter profile, finding the constructor that will accept the given list of parameters (not requiring an exact match on parameter types).
getMatchingConstructor(Class<?>, ReflectionSupport.VisibilityConstraint, Class<?>...) - Static method in class student.testingsupport.ReflectionSupport
Look up a constructor by parameter profile, finding the constructor that will accept the given list of parameters (not requiring an exact match on parameter types).
getMatchingConstructor(Class<?>, ReflectionSupport.VisibilityConstraint, ReflectionSupport.ParameterSignature) - Static method in class student.testingsupport.ReflectionSupport
Look up a constructor by parameter profile, finding the constructor that will accept the given list of parameters (not requiring an exact match on parameter types).
getMatchingMethod(Class<?>, String, Class<?>...) - Static method in class student.testingsupport.ReflectionSupport
Look up a method by name and parameter profile, finding the method that will accept the given list of parameters (not requiring an exact match on parameter types).
getMatchingMethod(Class<?>, String, ReflectionSupport.ParameterSignature) - Static method in class student.testingsupport.ReflectionSupport
Look up a method by name and parameter profile, finding the method that will accept the given list of parameters (not requiring an exact match on parameter types).
getMatchingMethod(Class<?>, ReflectionSupport.VisibilityConstraint, String, Class<?>...) - Static method in class student.testingsupport.ReflectionSupport
Look up a method by name and parameter profile, finding the method that will accept the given list of parameters (not requiring an exact match on parameter types).
getMatchingMethod(Class<?>, ReflectionSupport.VisibilityConstraint, String, ReflectionSupport.ParameterSignature) - Static method in class student.testingsupport.ReflectionSupport
Look up a method by name and parameter profile, finding the method that will accept the given list of parameters (not requiring an exact match on parameter types).
getMessage() - Method in enum student.testingsupport.ReflectionSupport.VisibilityConstraint
Get the string message describing this constraint, for use in diagnostic output.
getMethod(Class<?>, String, Class<?>...) - Static method in class student.testingsupport.ReflectionSupport
Look up a method by name and parameter profile, turning any errors into test case failures with appropriate hint messages.
getMethod(Class<?>, ReflectionSupport.VisibilityConstraint, String, Class<?>...) - Static method in class student.testingsupport.ReflectionSupport
Look up a method by name and parameter profile, turning any errors into test case failures with appropriate hint messages.
getName() - Method in class student.testingsupport.MutableStringBufferInputStream
Get the human-readable name of this input stream, for diagnostic or debugging purposes.
getNextIconIndex(int, int) - Method in class student.AnimatedIcon
Get the index of the next Icon to be displayed.
getNormalizeLineEndings() - Method in class student.testingsupport.PrintStreamWithHistory
Returns whether this object's history has normalized unix-style line endings, or the raw line endings generated by printing.
getNormalizeLineEndings() - Method in class student.testingsupport.PrintWriterWithHistory
Returns whether this object's history has normalized unix-style line endings, or the raw line endings generated by printing.
getOutputChannel() - Method in class student.web.WebBot
Get the output channel where this bot is sending its output.
getPageContent() - Method in class student.web.TurboWebBot
Get the current web page's entire content as a string.
getPageContent() - Method in class student.web.WebBot
Get the current web page's entire content as a string.
getPageParameter(String) - Static method in class student.web.WebUtilities
Get a parameter passed to this web page in the query part of the URL.
getPagePhraseCount() - Method in class student.web.TurboWebBot
Get a count of the number of times the set phrase of interest occurs in the current page.
getPagePhraseFrequency() - Method in class student.web.TurboWebBot
Get the frequency of the phrase of interest in the current page.
getPageTitle() - Method in class student.web.WebBot
Get the title the current web page.
getPageURL() - Method in class student.web.WebBot
Get the URL for the current web page.
getPathFor(Component) - Method in class student.GUITestCase
Get the hierarchical path to the given component, starting from the outermost component in which it is contained, e.g., "JFrame:JRootPane:JPanel:JButton".
getPatternCount() - Method in class student.web.WebBot.Page
Get the number of times the WebBot.targetPhrase occurs in this page.
getPatternFrequency() - Method in class student.web.WebBot.Page
Get the frequency of the WebBot.targetPhrase, which approximates the size of all the occurrences of the target phrase in the document divided by the document's total size.
getPersistentObject(String) - Method in class student.web.AbstractPersistentMap
Look up the persistent object with the given ID.
getPrimaryKey() - Method in class student.CSVDataTable
 
getPrimaryKey() - Method in interface student.DataTable
This method returns the column name that acts as the primary key for the table.
getRobot() - Method in class student.GUITestCase
Return an Abbot Robot for basic event generation.
getRobot() - Method in interface student.web.WebBotTask
This method provides access to the robot that carries out this task.
getRow(int) - Method in class student.CSVDataTable
 
getRow(String) - Method in class student.CSVDataTable
 
getRow(int) - Method in interface student.DataTable
This method returns a map that represents the desired row (indicated by the primary key).
getRow(String) - Method in interface student.DataTable
This method returns a Map that represents the desired row.
getSecondWord() - Method in class student.adventure.Command
Return the second word of this command.
getShortDescription() - Method in class student.adventure.Room
Return the description of the room (the one that was defined in the constructor).
getStatus() - Method in exception student.testingsupport.ExitCalledException
Get the exit status for the System.exit() call represented by this exception.
getText() - Method in interface student.web.HtmlElement
Get the text contained by this element, without any embedded HTML tags.
getTitle() - Method in interface student.web.RssEntity
Get this entity's title.
getTitle() - Method in class student.web.RssEntry
Get this entry's title.
getTitle() - Method in class student.web.RssFeed
Get this feed's title.
getTitle() - Method in class student.web.WebBot.Page
Get this document's title a string.
getType() - Method in interface student.web.HtmlElement
Get the "type" of this element--that is, the HTML name of the tag, such as "a", "h1", "img", etc.
getUrl() - Method in class student.CSVDataTable
Get the URL used to load this data table.
getWindowFocus() - Method in class objectdraw.VTWindowControllerListener
 
getWindowTracker() - Method in class student.GUITestCase
Return a WindowTracker instance.
GObjectFilter - Class in student.testingsupport
This class Represents a filter or query that can be used to describe a GObject when searching.
GObjectFilter(String) - Constructor for class student.testingsupport.GObjectFilter
Creates a new filter object.
GObjectFilter.BinaryOperator - Class in student.testingsupport
A non-static subclass for binary operators that implicitly captures the outer filter to which it belongs, using it as the first/left argument to the operator.
GObjectFilter.ClientImports - Class in student.testingsupport
This class represents the "where" operator that is used to begin a filter expression.
GObjectFilter.Operator - Class in student.testingsupport
This base class represents an operator used to create a query.
GoCommand - Class in student.adventure
Implementation of the 'go' user command for adventure games.
GoCommand() - Constructor for class student.adventure.GoCommand
Constructor for objects of class GoCommand
GraphicTestCase - Class in student
This class provides enhancements to GUITestCase to support testing of ACM graphics programs that use GObject instances.
GraphicTestCase() - Constructor for class student.GraphicTestCase
Creates a new GraphicTestCase object.
GraphicTestCase(String) - Constructor for class student.GraphicTestCase
Creates a new GraphicTestCase object.
GUIFilter - Class in student.testingsupport
This class Represents a filter or query that can be used to describe a Component when searching.
GUIFilter(String) - Constructor for class student.testingsupport.GUIFilter
Creates a new filter object.
GUIFilter.BinaryOperator - Class in student.testingsupport
A non-static subclass for binary operators that implicitly captures the outer filter to which it belongs, using it as the first/left argument to the operator.
GUIFilter.ClientImports - Class in student.testingsupport
This class represents the "where" operator that is used to begin a filter expression.
GUIFilter.Operator - Class in student.testingsupport
This base class represents an operator used to create a query.
GUITestCase - Class in student
This class provides enhancements to TestCase to support testing of custom Swing components, panels, and main programs with graphical user interfaces (GUIs).
GUITestCase() - Constructor for class student.GUITestCase
Creates a new GUITestCase object.
GUITestCase(String) - Constructor for class student.GUITestCase
Creates a new GUITestCase object.
GUITestCase.EventDispatchException - Exception in student
Represents an exception that occurred on the event dispatch thread.

H

handleMissingContents() - Method in class student.testingsupport.MutableStringBufferInputStream
Handle access to an input stream that has not had its contents defined.
has2DObject(Class<? extends Drawable2DInterface>, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
has2dObject determines existence of a 2D object with the specified parameters.
hasAttribute(String) - Method in interface student.web.HtmlElement
Check to see if this element has a specific attribute.
hasCurrentElt() - Method in class student.web.WebBot.PageLocation
Determine whether this position refers to a current element.
hasFocusIs(boolean) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that succeeds if a component has focus.
HashedRow() - Constructor for class student.DataTable.HashedRow
 
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 student.weblog.LogReader
Does the reader have more data to supply?
hasMoreEntries() - Method in class student.weblog.LogScanner
A synonym for LogScanner.hasNext() provided for backward compatibility with the older Java 1.4-style LogReader class.
hasNext() - Method in class student.weblog.LogScanner
Does the scanner have more data to supply?
hasNextElement() - Method in class student.web.TurboWebBot
Determine whether there are any more HTML elements of interest further down the page from the robot's current position.
hasNextElement(String) - Method in class student.web.TurboWebBot
Determine whether there are any more HTML elements of the specified type further down the page from the robot's current position.
hasPreviousPage() - Method in class student.web.WebBot
Check to see if this bot previously visited a different page that it can now return to.
hasSecondWord() - Method in class student.adventure.Command
Check whether a second word was entered for this command.
hasVisitedPage(File) - Method in class student.web.TurboWebBot
Check whether this robot has visited this page before.
hasVisitedPage(URI) - Method in class student.web.WebBot
Check whether this robot has visited this page before.
hasVisitedPage(URL) - Method in class student.web.WebBot
Check whether this robot has visited this page before.
heightIs(double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's height.
heightIs(int) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks a component's height.
heightIs(int) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks a shape's height.
HelpCommand - Class in student.adventure
Implementation of the 'help' user command for adventure games.
HelpCommand(CommandWords) - Constructor for class student.adventure.HelpCommand
Constructor for objects of class HelpCommand
helpinit() - Method in class objectdraw.TestableWindowController
This init registers our own Listener to the WindowController.
hiddenIs(boolean) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks whether a shape is hidden.
HTML_NODE_PREFIX - Static variable in class student.web.WebBot
Internal constant used as search + namespace prefix for xpath nodes.
HtmlElement - Interface in student.web
This interface represents an instance of some HTML element (or "tag"), usually obtained by reading from a web page using a WebBot.
HtmlHeadingElement - Interface in student.web
This interface represents a specialized HtmlElement that represents an HTML heading tag--e.g., H1, H2, H3, H4, H5, or H6.

I

iconLink - Variable in class student.web.RssFeed
The feed site's favicon URL (set lazily in RssFeed.getIconLink().
imageLink - Variable in class student.web.RssFeed
The feed's image URL (set lazily in RssFeed.getImageLink().
in() - Method in class student.TestCase
Get an input stream containing the contents that you specify.
install() - Static method in class student.testingsupport.ExitPreventingSecurityManager
Install a new instance of this class as the current security manager, taking any existing security manager and using it as the parent to chain to.
installExitHandler() - Static method in class student.TestCase
This method is for internal use only and should not be called by other code.
instrumentIO() - Method in class student.TestCase
An internal helper that ensures input/output buffering is in place before each test case.
invoke(Object, String, Object...) - Static method in class student.testingsupport.Reflection
Dynamically look up and invoke a method on a target object, with appropriate hints if any failures happen along the way.
invoke(Object, Class<T>, String, Object...) - Static method in class student.testingsupport.Reflection
Dynamically look up and invoke a method on a target object, with appropriate hints if any failures happen along the way.
invoke(Object, Type<T>, String, Object...) - Static method in class student.testingsupport.Reflection
Dynamically look up and invoke a method on a target object, with appropriate hints if any failures happen along the way.
invoke(Object, Method<T>, Object...) - Static method in class student.testingsupport.Reflection
Just like Method.invoke(Object, Object...), but converts any thrown exceptions into RuntimeExceptions.
invoke(Object, Method, Object...) - Static method in class student.testingsupport.Reflection
Just like Method.invoke(Object, Object...), but converts any thrown exceptions into RuntimeExceptions.
invoke(Object, Class<T>, String, Object...) - Static method in class student.testingsupport.ReflectionSupport
Dynamically look up and invoke a method on a target object, with appropriate hints if any failures happen along the way.
invoke(Object, ReflectionSupport.VisibilityConstraint, Class<T>, String, Object...) - Static method in class student.testingsupport.ReflectionSupport
Dynamically look up and invoke a method on a target object, with appropriate hints if any failures happen along the way.
invoke(Object, String, Object...) - Static method in class student.testingsupport.ReflectionSupport
Dynamically look up and invoke a method on a target object, with appropriate hints if any failures happen along the way.
invoke(Object, ReflectionSupport.VisibilityConstraint, String, Object...) - Static method in class student.testingsupport.ReflectionSupport
Dynamically look up and invoke a method on a target object, with appropriate hints if any failures happen along the way.
invoke(Object, Method, Object...) - Static method in class student.testingsupport.ReflectionSupport
Just like Method.invoke(Object, Object...), but converts any thrown exceptions into RuntimeExceptions.
invokeEx(Object, String, Object...) - Static method in class student.testingsupport.Reflection
Just like Reflection.invoke(Object, String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, Class<T>, String, Object...) - Static method in class student.testingsupport.Reflection
Just like Reflection.invoke(Object, Class, String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, Type<T>, String, Object...) - Static method in class student.testingsupport.Reflection
Just like Reflection.invoke(Object, Class, String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, Method<T>, Object...) - Static method in class student.testingsupport.Reflection
Just like Reflection.invoke(Object, Method, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, Method, Object...) - Static method in class student.testingsupport.Reflection
Just like Reflection.invoke(Object, java.lang.reflect.Method, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, Class<T>, String, Object...) - Static method in class student.testingsupport.ReflectionSupport
Just like ReflectionSupport.invoke(Object, Class, String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, ReflectionSupport.VisibilityConstraint, Class<T>, String, Object...) - Static method in class student.testingsupport.ReflectionSupport
Just like ReflectionSupport.invoke(Object, Class, String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, String, Object...) - Static method in class student.testingsupport.ReflectionSupport
Just like ReflectionSupport.invoke(Object, String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, ReflectionSupport.VisibilityConstraint, String, Object...) - Static method in class student.testingsupport.ReflectionSupport
Just like ReflectionSupport.invoke(Object, String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, Method, Object...) - Static method in class student.testingsupport.ReflectionSupport
Just like Method.invoke(Object, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
IOHelper - Class in student
This class provides several static methods that streamline the use of basic I/O operations in Java.
isContainedWithin(Rectangle) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks whether a GObject's bounding box (as returned by GObject.getBounds()) lies within a specific rectangle--that is, whether the entire GObject's area, rather than just its top left corner, lies within the specified region.
isContainedWithin(Rectangle) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks whether a component's bounding box (as returned by Component.getBounds()) lies within a specific rectangle--that is, whether the entire component's area, rather than just its top left corner, lies within the specified region.
isContainedWithin(Rectangle) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks whether a shape's bounding box lies within a specific rectangle--that is, whether the entire shape's area rather than just its top left corner, lies within the specified region.
isCycleCompleted(int, int) - Method in class student.AnimatedIcon
Check if the currently visible Icon is the last Icon to be displayed in the animation sequence.
isEmpty() - Method in class student.web.AbstractPersistentMap
 
isEmpty() - Method in interface student.web.PersistentMap
Returns true if this map contains no key-value mappings.
isEmpty() - Method in class student.web.SessionPersistentMap
 
isHeading(HtmlElement) - Method in class student.web.WebBot
Determine whether a given HTML element is a heading tag.
isInApplet() - Static method in class student.testingsupport.SystemIOUtilities
 
isLink(HtmlElement) - Method in class student.web.WebBot
Determine whether a given HTML element is an anchor tag with an HREF attribute.
isLocatedWithin(Rectangle) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks whether a GObject's location (its top left corner) lies within a specific rectangle.
isLocatedWithin(Rectangle) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks whether a component's location (its top left corner) lies within a specific rectangle.
isLocatedWithin(Rectangle) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks whether a shape's location (its top left corner) lies within a specific rectangle.
isLocked() - Method in class objectdraw.VTWindowControllerListener
 
isLookingAtElement() - Method in class student.web.TurboWebBot
Is the robot looking at (or standing on) an HTML element of interest on the current page? Elements of interest can be controlled by calling TurboWebBot.resetElementsOfInterest(String...) (the default is all links and all heading tags).
isLookingAtElement(String) - Method in class student.web.TurboWebBot
Is the robot looking at (or standing on) an HTML element of the specified type on the current page? The specified element type must be one of the elements of interest, as specified by calling TurboWebBot.resetElementsOfInterest(String...) (the default is all links and all heading tags).
isLookingAtEndOfPage() - Method in class student.web.WebBot
Has the robot advanced through all the contents (headings and links) on the current page? Will also return true if WebBot.isViewingWebPage() returns false.
isLookingAtHeading() - Method in class student.web.WebBot
Is the robot looking at (or standing on) an HTML heading element on the current page?
isLookingAtLink() - Method in class student.web.WebBot
Is the robot looking at (or standing on) an HTML anchor containing an href attribute (that is, a link to another web page) on the current page?
isMoreSpecificThan(ReflectionSupport.ParameterSignature) - Method in class student.testingsupport.ReflectionSupport.ParameterSignature
Determine if this parameter signature is more specific than the given parameter signature.
isNear(GPoint) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks that a GObject is within 50 pixels of the given point.
isNear(double, double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks that a GObject is within 50 pixels of the given point.
isNear(GPoint, double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks that a GObject is within distance pixels of the given point.
isNear(double, double, double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks that a GObject is within distance pixels of the given point.
isOnServer() - Static method in class student.testingsupport.SystemIOUtilities
Checks to see if the calling program is running under the Apache Tomcat servlet container.
isShowFirstIcon() - Method in class student.AnimatedIcon
Get the showFirstIcon
isSubSignatureOf(ReflectionSupport.ParameterSignature) - Method in class student.testingsupport.ReflectionSupport.ParameterSignature
Determine if this signature is a subsignature of the other one, as defined by Section 8.4.2 of the JLS.
isViewingWebPage() - Method in class student.web.WebBot
Is the robot currently viewing a real web page with readable contents? Normally, this would be true, but may be false if the bot has not been given a web page to start on, or if it has been given a malformed or nonexistent URL address, or even if the server for the targeted page is not available.
IterableSequence<T> - Class in student
This class is just an iterator wrapped inside an Iterable so that it can be used in for-each loops.
IterableSequence(Iterator<T>) - Constructor for class student.IterableSequence
Creates a new IterableSequence.
iterator() - Method in class student.CSVDataTable
 
iterator() - Method in class student.IterableSequence
Returns an iterator over a set of elements of type T.
iterator() - Method in class student.weblog.LogScanner
Return this object, unchanged, to provide support for foreach-style loops.

J

jumpToLinkedPage() - Method in class student.web.WebBot
Causes the bot to temporarily leave the current page and hop over to the page at the end of the current link.
jumpToNormalizedURI(URI) - Method in class student.web.WebBot
The worker method for the various flavors of WebBot.jumpToPage(URI).
jumpToNormalizedURL(URL) - Method in class student.web.WebBot
The worker method for the various flavors of WebBot.jumpToPage(URL).
jumpToNormalizedURL(File) - Method in class student.web.WebBot
The worker method for the various flavors of WebBot.jumpToPage(URL).
jumpToPage(File) - Method in class student.web.TurboWebBot
Causes the bot to temporarily leave the current page and hop over to the specified file.
jumpToPage(String) - Method in class student.web.WebBot
Causes the bot to temporarily leave the current page and hop over to the page specified by the URL (as a string).
jumpToPage(URL) - Method in class student.web.WebBot
Causes the bot to temporarily leave the current page and hop over to the page specified by the URL.
jumpToPage(URI) - Method in class student.web.WebBot
Causes the bot to temporarily leave the current page and hop over to the page specified by the URL.
jumpToPage(WebBot.Page) - Method in class student.web.WebBot
Adds this page to the history stack, enforcing required stack size limit.
jumpToThisHTML(String) - Method in class student.web.WebBot
Causes the bot to temporarily leave the current page and hop over to a specific HTML string provided as a parameter.

K

keyPress(Component, int) - Method in class student.GUITestCase
Send a single key press (key down action) to a component.
keyRelease(Component, int) - Method in class student.GUITestCase
Send a single key release (key up action) to a component.
keySet() - Method in class student.web.AbstractPersistentMap
 
keySet() - Method in interface student.web.PersistentMap
Returns the set of all keys currently in use in this map--that is, all keys that are mapped to values.
keySet() - Method in class student.web.SessionPersistentMap
 
keyString(Component, String) - Method in class student.GUITestCase
Type a sequence of characters on the given component, where the contents are specified as a string.
keyStroke(Component, int) - Method in class student.GUITestCase
Send a single keystroke to a component.
keyStroke(Component, int, int) - Method in class student.GUITestCase
Send a single keystroke to a component.

L

LEFT - Static variable in class student.AnimatedIcon
A constant representing alignment with the left edge of a container.
len() - Method in class student.web.WebBot.PageLocation
Get the length of the current list of elements of interest.
levelOf(HtmlElement) - Method in class student.web.WebBot
Convert an HTML element representing a heading tag into its corresponding level number.
lineEndLocationIs(int, int) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks whether a line ends at a given coordinate.
lineEndLocationIs(Location) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks whether a line starts at a given location.
lineEndPointIs(GPoint) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks that a GOBject is a line that ends at point.
lineEndPointIs(double, double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks that a GPoint is a line that ends at the point (x, y).
lineStartLocationIs(int, int) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks whether a line starts at a given coordinate.
lineStartLocationIs(Location) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks whether a line starts at a given location.
lineStartPointIs(GPoint) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks that a GOBject is a line that starts at point.
lineStartPointIs(double, double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks that a GPoint is a line that starts at the point (x, y).
linkGoesToAnotherPage() - Method in class student.web.WebBot
Check whether the URL of the current link on this web page refers to a different page, or just another location within the current page.
linkGoesToAnotherServer() - Method in class student.web.WebBot
Check whether the URL of the current link on this web page refers to a page on a separate server, or simply another location on the same server.
loadClass(String) - Method in class student.testingsupport.ReflectionSupport.NonDeferringClassLoader
 
loadClass(String, boolean) - Method in class student.testingsupport.ReflectionSupport.NonDeferringClassLoader
 
loader - Variable in class student.web.AbstractPersistentMap
The class loader to use when looking up classes of objects being loaded.
locationIs(double, double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's location relative to its parent.
locationIs(GPoint) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's location relative to its parent.
locationIs(int, int) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks a component's location relative to its parent.
locationIs(int, int) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks a shape's location.
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 student.weblog
An interface for a web server log analyzer that processes web log data analyses hourly and weekly access patterns.
LogEntry - Class in student.weblog
Store the data from a single line of a web-server log file.
LogEntry(String) - Constructor for class student.weblog.LogEntry
Decompose a log line so that the individual fields are available.
LogReader - Class in student.weblog
A class to read information from a file of web server accesses.
LogReader(BufferedReader) - Constructor for class student.weblog.LogReader
Create a LogfileReader to supply data from the specified stream.
LogScanner - Class in student.weblog
A class to scan information from a web server access log.
LogScanner(String) - Constructor for class student.weblog.LogScanner
Create a LogScanner that reads access log data from the given file.
LogScanner(File) - Constructor for class student.weblog.LogScanner
Create a LogScanner that reads access log data from the given file.
LogScanner(Scanner) - Constructor for class student.weblog.LogScanner
Create a LogScanner that reads access log data from the given stream.

M

main(String[]) - Static method in class student.Version
This main method simply prints out the version information on System.out.
main(String[]) - Static method in class student.web.RunWebBotTask
This main method takes the name of a RobotTask class as an argument, and it executes the corresponding task.
makeFileAbsolute(File) - Method in class student.web.WebBot
This is needed to get around issues with relative file names when the current working directory is unknown or when running on a server.
max(String) - Method in class student.CSVDataTable
 
max(String) - Method in interface student.DataTable
This method computes the maximum value of a column that has numeric values.
message() - Method in class student.adventure.HelpCommand
Get the descriptive message that is presented before the list of commands when this command is executed.
min(String) - Method in class student.CSVDataTable
 
min(String) - Method in interface student.DataTable
This method computes the minimum value of a column that has numeric values.
mouseClicked(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseDragFrom(Component, int, int) - Method in class student.GUITestCase
Initiate a drag action at a specific location on a component.
mouseDragFrom(Component, int, int, int) - Method in class student.GUITestCase
Initiate a drag action at a specific location on a component, with a specified mouse button.
mouseDragged(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseDragOver(Component, int, int) - Method in class student.GUITestCase
Drag the currently dragged object over the given location on the specified component.
mouseDropOn(Component) - Method in class student.GUITestCase
End a drag operation currently in progress by "dropping" at the in the center of the specified component.
mouseDropOn(Component, int, int) - Method in class student.GUITestCase
End a drag operation currently in progress by "dropping" at the specified coordinates on the given component.
mouseEntered(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseExit(Component) - Method in class student.GUITestCase
Move the mouse pointer out of the given component.
mouseExited(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseMove(Component, int, int) - Method in class student.GUITestCase
Move the mouse pointer to the given location on the specified component.
mouseMoved(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mousePress(Component, int, int) - Method in class student.GUITestCase
Press the left mouse button at the given location on a component (mouse button 1).
mousePress(Component, int, int, int) - Method in class student.GUITestCase
Press one or more mouse buttons at the given location on a component.
mousePressed(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseRelease() - Method in class student.GUITestCase
Release any currently held mouse buttons.
mouseReleased(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
multiline(String...) - Method in class student.TestCase
Combine a list of strings provided as arguments into a single string, following each "line" with a line terminator.
MutableStringBufferInputStream - Class in student.testingsupport
A custom input stream that takes its contents from a provided string literal, and that also supports dynamically resetting of its own contents.
MutableStringBufferInputStream(String) - Constructor for class student.testingsupport.MutableStringBufferInputStream
Create a new input stream with the specified contents.
MutableStringBufferInputStream(InputStream) - Constructor for class student.testingsupport.MutableStringBufferInputStream
Create a new input stream with the specified contents.

N

nameIs(String) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that compares the name of a component against a given value.
nativeEntry - Variable in class student.web.RssEntry
The raw ROME feed entry.
nativeFeed - Variable in class student.web.RssFeed
The raw ROME feed.
next() - Method in class student.weblog.LogScanner
Analyze the next line from the log file and make it available via a LogEntry object.
nextBoolean() - Method in class student.TestableRandom
Returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence.
nextBytes(byte[]) - Method in class student.TestableRandom
Generates random bytes and places them into a user-supplied byte array.
nextDouble() - Method in class student.TestableRandom
Returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence.
nextEntry() - Method in class student.weblog.LogReader
Analyze the next line from the log file and make it available via a LogEntry object.
nextEntry() - Method in class student.weblog.LogScanner
A synonym for LogScanner.hasNext() provided for backward compatibility with the older Java 1.4-style LogReader class.
nextGaussian() - Method in class student.TestableRandom
Returns the next pseudorandom, Gaussian ("normally") distributed double value with mean 0.0 and standard deviation 1.0 from this random number generator's sequence.
nextInt() - Method in class student.TestableRandom
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence.
nextInt(int) - Method in class student.TestableRandom
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
nextLong() - Method in class student.TestableRandom
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence.
NonDeferringClassLoader() - Constructor for class student.testingsupport.ReflectionSupport.NonDeferringClassLoader
Default constructor.
NonDeferringClassLoader(ClassLoader) - Constructor for class student.testingsupport.ReflectionSupport.NonDeferringClassLoader
Construct a new class loader.
normalize(String) - Method in class student.testingsupport.StringNormalizer
Normalize a string by applying a set of normalization rules (transformations).
normalize(String) - Method in interface student.testingsupport.StringNormalizer.NormalizerRule
Apply this rule by normalizing the given string.
normalize(String) - Method in class student.testingsupport.StringNormalizer.RegexNormalizerRule
Normalize a string by applying all of this rule's regular expression pattern/replacement pairs, in order.
normalizeLineEndings(String) - Static method in class student.Assert
Converts all line ending sequences in a given text string to unix-style newlines (\n).
normalizeURL(URL) - Method in class student.web.WebBot
Normalize a URL.
not(GUIFilter) - Static method in class student.GUITestCase
The "not" operator for negating an existing filter, when the not operation is at the very beginning of the expression, re-exported from GUIFilter so that it is available in test methods without requiring a static import.
not(GObjectFilter) - Method in class student.testingsupport.GObjectFilter.BinaryOperator
The "not" operator for negating an existing filter, when you want to use parentheses to group its righthand argument.
not(GObjectFilter) - Static method in class student.testingsupport.GObjectFilter.ClientImports
The "not" operator for negating an existing filter, when the not operation is at the very beginning of the expression.
not(GUIFilter) - Method in class student.testingsupport.GUIFilter.BinaryOperator
The "not" operator for negating an existing filter, when you want to use parentheses to group its righthand argument.
not(GUIFilter) - Static method in class student.testingsupport.GUIFilter.ClientImports
The "not" operator for negating an existing filter, when the not operation is at the very beginning of the expression.
not(ObjectdrawFilter) - Method in class student.testingsupport.ObjectdrawFilter.BinaryOperator
The "not" operator for negating an existing filter, when you want to use parentheses to group its righthand argument.
not(ObjectdrawFilter) - Static method in class student.testingsupport.ObjectdrawFilter.ClientImports
The "not" operator for negating an existing filter, when the not operation is at the very beginning of the expression.
NULL - Static variable in class student.testingsupport.Reflection
This constant represents an argument list containing one argument whose value is null.
NullWriter() - Constructor for class student.testingsupport.PrintWriterWithHistory.NullWriter
 
numberOfPreviousPages() - Method in class student.web.WebBot
How deep is the stack of previous pages that this robot can return to? Each time the robot jumps to a new page, it remembers its previous page so you can WebBot.returnToPreviousPage().

O

objectdraw - package objectdraw
 
ObjectdrawFilter - Class in student.testingsupport
This class Represents a filter or query that can be used to describe a DrawableInterface when searching.
ObjectdrawFilter(String) - Constructor for class student.testingsupport.ObjectdrawFilter
Creates a new filter object.
ObjectdrawFilter.BinaryOperator - Class in student.testingsupport
A non-static subclass for binary operators that implicitly captures the outer filter to which it belongs, using it as the first/left argument to the operator.
ObjectdrawFilter.ClientImports - Class in student.testingsupport
This class represents the "where" operator that is used to begin a filter expression.
ObjectdrawFilter.Operator - Class in student.testingsupport
This base class represents an operator used to create a query.
ObjectdrawTestCase - Class in student
This class provides enhancements to GUITestCase to support testing of objectdraw graphics programs that use DrawableInterface instances.
ObjectdrawTestCase() - Constructor for class student.ObjectdrawTestCase
Creates a new ObjectdrawTestCase object.
ObjectdrawTestCase(String) - Constructor for class student.ObjectdrawTestCase
Creates a new ObjectdrawTestCase object.
onlyOne(ConcreteFilterType) - Static method in class student.testingsupport.Reflection
Change the quantification behavior of a filter so that boolean predicates are evaluated over all matches for the filter and the result is "xor"ed together.
openFile(String) - Static method in class student.Browser
Display a file in the system browser.
openFile(File) - Static method in class student.Browser
Display a file in the system browser.
openURL(String) - Static method in class student.Browser
Display a URL in the system browser.
Operator() - Constructor for class student.testingsupport.GObjectFilter.Operator
 
Operator() - Constructor for class student.testingsupport.GUIFilter.Operator
 
Operator() - Constructor for class student.testingsupport.ObjectdrawFilter.Operator
 
or - Variable in class student.testingsupport.GObjectFilter
The "or" operator for combining filters, designed to be used in expressions like where.locationIs(25, 25).or.textIs("def").
or(GObjectFilter) - Method in class student.testingsupport.GObjectFilter
The "or" operator for combining filters, when you want to use parentheses to group its righthand argument.
or - Variable in class student.testingsupport.GUIFilter
The "or" operator for combining filters, designed to be used in expressions like where.nameIs("abc").or.nameIs("def").
or(GUIFilter) - Method in class student.testingsupport.GUIFilter
The "or" operator for combining filters, when you want to use parentheses to group its righthand argument.
or - Variable in class student.testingsupport.ObjectdrawFilter
The "or" operator for combining filters, designed to be used in expressions like where.nameIs("abc").or.nameIs("def").
or(ObjectdrawFilter) - Method in class student.testingsupport.ObjectdrawFilter
The "or" operator for combining filters, when you want to use parentheses to group its righthand argument.
OTHER_PAGE_LINKS - Static variable in class student.web.WebBot
Internal constant used to specify the set of links to get from a page.
OTHER_SITE_LINKS - Static variable in class student.web.WebBot
Internal constant used to specify the set of links to get from a page.
out() - Method in class student.TestCase
Get an output stream suitable for use in test cases.
out() - Static method in class student.testingsupport.SystemIOUtilities
Get a "wrapped" version of System.out that provides history recording functions.
out - Variable in class student.web.WebBot
The current output channel.
out() - Method in class student.web.WebBot
Get the output channel where this bot is sending its output.
outputIsHtml() - Method in class student.web.WebBot
Check whether this robot's output should be treated as plain text, or as HTML markup.

P

Page(URL) - Constructor for class student.web.WebBot.Page
Create a new page by reading it from the web.
Page(File) - Constructor for class student.web.WebBot.Page
Create a new page by reading it from a local file.
Page(String) - Constructor for class student.web.WebBot.Page
Create a new page by reading it from a given HTML string.
page - Variable in class student.web.WebBot.PageLocation
The page containing this location.
PageLocation(WebBot.Page) - Constructor for class student.web.WebBot.PageLocation
Create a new page location with its own list of elements of interest.
pages - Variable in class student.web.WebBot
The stack of pages in the current history trail, where the top of the stack is the current page.
paint(Graphics) - Method in class objectdraw.TestableWindowController
Paint gets called by the system whenever the application needs to be repainted.
paintIcon(Component, Graphics, int, int) - Method in class student.AnimatedIcon
Paint the icons of this compound icon at the specified location
ParameterSignature() - Constructor for class student.testingsupport.ReflectionSupport.ParameterSignature
Create an empty parameter list signature.
ParameterSignature(Method) - Constructor for class student.testingsupport.ReflectionSupport.ParameterSignature
Create a parameter list signature corresponding to the declared parameter list of a Method.
ParameterSignature(Constructor<?>) - Constructor for class student.testingsupport.ReflectionSupport.ParameterSignature
Create a parameter list signature corresponding to the declared parameter list of a Constructor.
ParameterSignature(Class<?>...) - Constructor for class student.testingsupport.ReflectionSupport.ParameterSignature
Create a parameter list signature from an array (or variable argument list) of Class values.
ParameterSignature(Object...) - Constructor for class student.testingsupport.ReflectionSupport.ParameterSignature
Create a parameter list signature from an array (or variable argument list) of actuals.
parentIs(Component) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks a component's parent
parser() - Method in class student.adventure.Game
Access this game's parser.
Parser - Class in student.adventure
This parser reads user input and tries to interpret it as an "Adventure" command.
Parser() - Constructor for class student.adventure.Parser
Create a new Parser object connected to System.in.
pause() - Method in class student.AnimatedIcon
Pause the animation.
PersistentMap<T> - Interface in student.web
This interface represents a Map that is persistent, meaning that its contents will continue to be available from one program run to the next.
play() - Method in class student.adventure.Game
Main play routine.
player() - Method in class student.adventure.Game
Access this game's player.
Player - Class in student.adventure
This class represents a player in an adventure game.
Player() - Constructor for class student.adventure.Player
Constructor for objects of class Player
pos - Variable in class student.web.WebBot.PageLocation
The position within the list of elements of interest.
prepareIO() - Method in class student.TestCase
Resets IO and output reasons, then instruments IO for next method.
println() - Method in class student.testingsupport.PrintWriterWithHistory
Terminate the current line by writing the line separator string.
printStackTrace() - Method in exception student.GUITestCase.EventDispatchException
 
printStackTrace(PrintStream) - Method in exception student.GUITestCase.EventDispatchException
 
printStackTrace(PrintWriter) - Method in exception student.GUITestCase.EventDispatchException
 
PrintStreamWithHistory - Class in student.testingsupport
An enhanced version of PrintStream that provides for a history recall function and some other features making I/O testing a bit easier to perform.
PrintStreamWithHistory(OutputStream) - Constructor for class student.testingsupport.PrintStreamWithHistory
Create a new print stream.
PrintStreamWithHistory(OutputStream, boolean) - Constructor for class student.testingsupport.PrintStreamWithHistory
Create a new print stream.
PrintStreamWithHistory(OutputStream, boolean, String) - Constructor for class student.testingsupport.PrintStreamWithHistory
Create a new print stream.
PrintStreamWithHistory(String) - Constructor for class student.testingsupport.PrintStreamWithHistory
Creates a new print stream, without automatic line flushing, with the specified file name.
PrintStreamWithHistory(String, String) - Constructor for class student.testingsupport.PrintStreamWithHistory
Creates a new print stream, without automatic line flushing, with the specified file name and charset.
PrintStreamWithHistory(File) - Constructor for class student.testingsupport.PrintStreamWithHistory
Creates a new print stream, without automatic line flushing, with the specified file.
PrintStreamWithHistory(File, String) - Constructor for class student.testingsupport.PrintStreamWithHistory
Creates a new print stream, without automatic line flushing, with the specified file and charset.
printVersion() - Static method in class student.Version
Prints out the version information on System.out.
printWelcome() - Method in class student.adventure.Game
Print out the opening message for the player.
PrintWriterWithHistory - Class in student.testingsupport
An enhanced version of PrintWriter that provides for a history recall function and some other features making I/O testing a bit easier to perform.
PrintWriterWithHistory() - Constructor for class student.testingsupport.PrintWriterWithHistory
Create a new PrintWriter with no destination--useful when you just want to record the history (for testing, for example).
PrintWriterWithHistory(Writer) - Constructor for class student.testingsupport.PrintWriterWithHistory
Create a new PrintWriter, without automatic line flushing.
PrintWriterWithHistory(Writer, boolean) - Constructor for class student.testingsupport.PrintWriterWithHistory
Create a new PrintWriter.
PrintWriterWithHistory(OutputStream) - Constructor for class student.testingsupport.PrintWriterWithHistory
Create a new PrintWriter, with automatic line flushing, from an existing OutputStream.
PrintWriterWithHistory(OutputStream, boolean) - Constructor for class student.testingsupport.PrintWriterWithHistory
Create a new PrintWriter from an existing OutputStream.
PrintWriterWithHistory(String) - Constructor for class student.testingsupport.PrintWriterWithHistory
Creates a new PrintWriter, without automatic line flushing, with the specified file name.
PrintWriterWithHistory(String, String) - Constructor for class student.testingsupport.PrintWriterWithHistory
Creates a new PrintWriter, without automatic line flushing, with the specified file name and charset.
PrintWriterWithHistory(File) - Constructor for class student.testingsupport.PrintWriterWithHistory
Creates a new PrintWriter, without automatic line flushing, with the specified file.
PrintWriterWithHistory(File, String) - Constructor for class student.testingsupport.PrintWriterWithHistory
Creates a new PrintWriter, without automatic line flushing, with the specified file and charset.
PrintWriterWithHistory.NullWriter - Class in student.testingsupport
This is an inner class that is used for "null" destinations, such as in the default constructor for PrintWriterWithHistory.
promptString() - Method in class student.adventure.Parser
Get the prompt string printed before reading each command.
put(String, T) - Method in class student.web.AbstractPersistentMap
 
put(String, T) - Method in interface student.web.PersistentMap
Stores a given object in the map by associating it with the given key.
put(String, T) - Method in class student.web.SessionPersistentMap
 
putAll(Map<? extends String, ? extends T>) - Method in class student.web.AbstractPersistentMap
 
putAll(Map<? extends String, ? extends T>) - Method in interface student.web.PersistentMap
Copies all of the mappings from the specified map into this map.
putAll(Map<? extends String, ? extends T>) - Method in class student.web.SessionPersistentMap
 

Q

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

R

read() - Method in class student.testingsupport.MutableStringBufferInputStream
 
read(byte[], int, int) - Method in class student.testingsupport.MutableStringBufferInputStream
 
readFeed(String) - Static method in class student.web.RssFeed
Create a ROME feed by reading from the given URL.
readFeed(URL) - Static method in class student.web.RssFeed
Create a ROME feed by reading from the given URL.
referrer() - Method in class student.weblog.LogEntry
Get the URL of the "referrer" containing the link used to make the request.
Reflection - Class in student.testingsupport
TODO: document.
ReflectionSupport - Class in student.testingsupport
This class provides static helper methods to use reflection to check for and invoke methods on objects.
ReflectionSupport.NonDeferringClassLoader - Class in student.testingsupport
A custom class loader used when supporting forced re-loading of classes that contain statics that should be re-evaluated/re- initialized fresh.
ReflectionSupport.ParameterAcceptanceCategory - Enum in student.testingsupport
An enumeration that represents the different categories of parameter matching possible between a method and possible parameters.
ReflectionSupport.ParameterConversionCategory - Enum in student.testingsupport
An enumeration that represents the different kinds of conversions supported for method invocation conversions (see JLS Section 5.3).
ReflectionSupport.ParameterSignature - Class in student.testingsupport
This class only represents the parameter list signature for a method as a list of Class values.
ReflectionSupport.ReflectionError - Error in student.testingsupport
A custom error class that represents any error conditions that arise in the reflection-based methods provided by this class.
ReflectionSupport.VisibilityConstraint - Enum in student.testingsupport
An enumeration that represents a set of constants for specifying constraints on the visibility of a declaration.
RegexNormalizerRule(String...) - Constructor for class student.testingsupport.StringNormalizer.RegexNormalizerRule
Create a new regular expression rule using a series of pattern/replacement pairs.
RegexNormalizerRule(boolean, String...) - Constructor for class student.testingsupport.StringNormalizer.RegexNormalizerRule
Create a new regular expression rule using a series of pattern/replacement pairs.
releaseCachedResources() - Method in class student.web.WebBot
Performs cleanup once this bot has completed all its tasks.
reloadClassForName(String...) - Static method in class student.testingsupport.ReflectionSupport
Dynamically look up a class by name using a sequence of one or more potential class names, with appropriate hints if the class cannot be found.
remapColumnNames(Map<String, String>) - Method in class student.CSVDataTable
 
remapColumnNames(Map<String, String>) - Method in interface student.DataTable
This method replaces each column name in the table with a matching key in columnMap with the value of the mapping.
remove(StringNormalizer.StandardRule) - Method in class student.testingsupport.StringNormalizer
Remove the specified standard rule, as defined in StringNormalizer.StandardRule.
remove(Object) - Method in class student.web.AbstractPersistentMap
 
remove(Object) - Method in interface student.web.PersistentMap
Remove an object from this map by specifying its key.
remove(Object) - Method in class student.web.SessionPersistentMap
 
remove() - Method in class student.weblog.LogScanner
Provided for compliance with the Iterator interface, but this method is not supported.
removePersistentObject(String) - Method in class student.web.AbstractPersistentMap
Remove a persistent object from the store.
removeRow(int) - Method in class student.CSVDataTable
 
removeRow(String) - Method in class student.CSVDataTable
 
removeRow(int) - Method in interface student.DataTable
This method removes the row identified by row number.
removeRow(String) - Method in interface student.DataTable
This method removes the row (to be determined by the key).
replaceSystemInContents(String) - Static method in class student.testingsupport.SystemIOUtilities
Replace System.in with the contents of the given string.
request() - Method in class student.weblog.LogEntry
Get the request method, URL, and protocol for this log line.
reset() - Method in class student.testingsupport.MutableStringBufferInputStream
 
resetContents(String) - Method in class student.testingsupport.MutableStringBufferInputStream
Reset this stream and replace its contents.
resetContents(InputStream) - Method in class student.testingsupport.MutableStringBufferInputStream
Reset this stream and replace its contents.
resetElementsOfInterest(String...) - Method in class student.web.TurboWebBot
Move the WebBot back to the beginning of the page and reset the set of elements that it can walk over to the given set of elements.
resetIO() - Method in class student.TestCase
An internal helper that resets all of the input/output buffering after each test case.
resetSystemIO() - Static method in class student.TestCase
An internal helper that resets the system part of the input/output buffering after each test case.
resolveURIFromPage(String) - Method in class student.web.WebBot
Get a fully-resolved URI from a (possibly relative) string URI, such as the value of an anchor's href or an img's src attribute.
restart() - Method in class student.AnimatedIcon
Restart the animation from where the animation was paused.
restoreSystemErr() - Static method in class student.testingsupport.SystemIOUtilities
"Unwrap" System.err by removing any history recording wrapper, and return it to its original state.
restoreSystemIn() - Static method in class student.testingsupport.SystemIOUtilities
Restore System.in to its original value.
restoreSystemOut() - Static method in class student.testingsupport.SystemIOUtilities
"Unwrap" System.out by removing any history recording wrapper, and return it to its original state.
resultCode() - Method in class student.weblog.LogEntry
Get the result code returned by the server.
returnToPreviousPage() - Method in class student.web.WebBot
Causes the bot to leave the current page and return to the page it was previously visiting, at the location where it left off.
returnToStartOfPage() - Method in class student.web.WebBot
Moves the robot back to the start of the current page.
RIGHT - Static variable in class student.AnimatedIcon
A constant representing alignment with the right edge of a container.
rightClick(Component) - Method in class student.GUITestCase
Right-click on the center of the component (mouse button 3 press and release).
rightClick(Component, int, int) - Method in class student.GUITestCase
Right-click at the given location on a component (mouse button 3 press and release).
Room - Class in student.adventure
Represents one location in the scenery of an adventure game.
Room(String) - Constructor for class student.adventure.Room
Create a room described "description".
rowCount() - Method in class student.CSVDataTable
 
rowCount() - Method in interface student.DataTable
This method returns the number of rows in the data table.
RssEntity - Interface in student.web
This interface defines the common features of RSS entities like RssEntry objects and RssFeed objects.
RssEntry - Class in student.web
This class represents one entry in a syndication feed, like an RssFeed.
RssEntry() - Constructor for class student.web.RssEntry
Creates a new RssEntry object that is completely blank.
RssEntry(RssEntry) - Constructor for class student.web.RssEntry
Creates a new RssEntry object as a copy of an existing entry.
RssFeed - Class in student.web
This class represents a syndication feed that contains a list of RssEntry objects.
RssFeed() - Constructor for class student.web.RssFeed
Creates a new RssFeed object that is completely empty.
RssFeed(String) - Constructor for class student.web.RssFeed
Creates a new RssFeed object by reading from the given URL.
RssFeed(URL) - Constructor for class student.web.RssFeed
Creates a new RssFeed object by reading from the given URL.
RssFeed(RssFeed) - Constructor for class student.web.RssFeed
Creates a new RssFeed object by copying from an existing one.
run() - Method in class student.AnimatedIcon
 
run() - Method in class student.web.WebBot
Execute this robot's built-in sequence of steps.
runBare() - Method in class student.GUITestCase
 
runTestMethod(Statement) - Method in class student.GUITestCase
Hook into the custom test execution machinery provided by MixRunner to ensure proper test harness setup and tear down that won't likely be accidentally overridden by a derived class.
RunWebBotTask - Class in student.web
This class represents a main program that takes a command-line argument that names a WebBotTask; it creates an instance of the named task and then runs it.
RunWebBotTask() - Constructor for class student.web.RunWebBotTask
Create a new RunRobotTask object.

S

save(String) - Method in class student.CSVDataTable
This method saves the CSVDataTable in a CSV file format with the first row the column names and the remaining rows the data in the table.
save(String) - Method in interface student.DataTable
This method saves the data table that has been generated/manipulated in the format desired for the implementation of the interface.
selectColorInChooser(Color) - Method in class student.GUITestCase
Assuming that a JColorChooser is currently open, chooses the given color and closes the JColorChooser
selectFileInChooser(String) - Method in class student.GUITestCase
Assuming that a JFileChoosers is currently open, selects the given file and closes the JFileChooser
selectFilesInChooser(String...) - Method in class student.GUITestCase
Assuming that a JFileChoosers is currently open, selects the given files and closes the JFileChooser
selectItem(JComboBox, String) - Method in class student.GUITestCase
Select a specific item in a combo box or selection list.
selectItem(JList, String) - Method in class student.GUITestCase
Select a specific item in a selection list.
selectMenuItem(JMenuItem) - Method in class student.GUITestCase
Select a given menu item.
SessionPersistentMap<T> - Class in student.web
The Session persistence layer represents all of the persisted items associated with the current web session.
SessionPersistentMap(Class<T>) - Constructor for class student.web.SessionPersistentMap
 
set(Object, Field<T>, T) - Method in class student.testingsupport.Reflection
Set the value of a field.
set(Object, String, Object) - Method in class student.testingsupport.Reflection
Set the value of a field.
set(Object, String, Object) - Static method in class student.testingsupport.ReflectionSupport
Sets value of a field.
set(Class<?>, String, Object) - Static method in class student.testingsupport.ReflectionSupport
Sets value of a field.
setAlignmentX(float) - Method in class student.AnimatedIcon
Specify the horizontal alignment of the icon.
setAlignmentY(float) - Method in class student.AnimatedIcon
Specify the vertical alignment of the Icon.
setAuthor(String) - Method in interface student.web.RssEntity
Set this entity's author.
setAuthor(String) - Method in class student.web.RssEntry
Set this entry's author.
setAuthor(String) - Method in class student.web.RssFeed
Set this feed's author.
setAuthors(List<String>) - Method in interface student.web.RssEntity
Set this entity's authors.
setAuthors(List<String>) - Method in class student.web.RssEntry
Set this entry's authors.
setAuthors(List<String>) - Method in class student.web.RssFeed
Set this feed's authors.
setCell(int, String, String) - Method in class student.CSVDataTable
 
setCell(int, String, int) - Method in class student.CSVDataTable
 
setCell(int, String, double) - Method in class student.CSVDataTable
 
setCell(int, int, String) - Method in class student.CSVDataTable
 
setCell(int, int, int) - Method in class student.CSVDataTable
 
setCell(int, int, double) - Method in class student.CSVDataTable
 
setCell(String, String, String) - Method in class student.CSVDataTable
 
setCell(String, String, int) - Method in class student.CSVDataTable
 
setCell(String, String, double) - Method in class student.CSVDataTable
 
setCell(String, int, String) - Method in class student.CSVDataTable
 
setCell(String, int, int) - Method in class student.CSVDataTable
 
setCell(String, int, double) - Method in class student.CSVDataTable
 
setCell(int, String, String) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as a String.
setCell(int, String, int) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as an int.
setCell(int, String, double) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as a double.
setCell(int, int, String) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as a String.
setCell(int, int, int) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as an int.
setCell(int, int, double) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as a double.
setCell(String, String, String) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as a String.
setCell(String, String, int) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as an int.
setCell(String, String, double) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as a double.
setCell(String, int, String) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as a String.
setCell(String, int, int) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as an int.
setCell(String, int, double) - Method in interface student.DataTable
This method allows you to update a desired row and column with new data as a double.
setColumnNames(List<String>) - Method in class student.CSVDataTable
 
setColumnNames(String...) - Method in class student.CSVDataTable
 
setColumnNames(List<String>) - Method in interface student.DataTable
This method sets an arbitrary name for each of the columns in the table.
setColumnNames(String...) - Method in interface student.DataTable
This method sets an arbitrary name for each of the columns in the table.
setCurrentIconIndex(int) - Method in class student.AnimatedIcon
Set the index of the Icon to be displayed and then repaint the Icon.
setCurrentRoom(Room) - Method in class student.adventure.Player
Set the current room for this player.
setCurrentWorkingDirectory(File) - Static method in class student.IOHelper
Changes the current working directory (for the purposes of future calls to IOHelper methods).
setCycles(int) - Method in class student.AnimatedIcon
Specify the number of times to repeat each animation sequence, or cycle.
setDate(Date) - Method in interface student.web.RssEntity
Set this entity's publication date.
setDate(Date) - Method in class student.web.RssEntry
Set this entry's publication date.
setDate(Date) - Method in class student.web.RssFeed
Set this feed's publication date.
setDelay(int) - Method in class student.AnimatedIcon
Specify the delay
setDelimiter(char) - Method in class student.CSVDataTable
Set the delimiter used by this data set, which will affect how this object will be written to a file in the future.
setDescription(String) - Method in interface student.web.RssEntity
Set this entity's description.
setDescription(String) - Method in class student.web.RssEntry
Set this entry's description.
setDescription(String) - Method in class student.web.RssFeed
Set this feed's description.
setDescriptionType(String) - Method in class student.web.RssEntry
Set the MIME type for this entry's description.
setElementXpath(String) - Method in class student.web.WebBot.PageLocation
Set the xpath expression defining the elements of interest on this page, which will reset the current position and the current lis of elements of interest.
setEntries(List<RssEntry>) - Method in class student.web.RssFeed
Set this feed's entries.
setExit(String, Room) - Method in class student.adventure.Room
Define an exit from this room.
setIconLink(URL) - Method in class student.web.RssFeed
Set the link for the site icon belonging to this feed's home site.
setImageLink(URL) - Method in class student.web.RssFeed
Set this link for this feed's image.
setIn(String...) - Method in class student.TestCase
Set the contents of this test case's input stream, which can then be retrieved using TestCase.in().
setIn(Scanner) - Method in class student.TestCase
Set the contents of this test case's input stream, which can then be retrieved using TestCase.in().
setInputDialogText(String) - Method in class student.GUITestCase
Assuming a JOptionPane is currently open and waiting for input, this method enters the given text into the pane's text field and then closes the JOptionPane.
setLink(URL) - Method in interface student.web.RssEntity
Set this entity's link.
setLink(URL) - Method in class student.web.RssEntry
Set this entry's link.
setLink(URL) - Method in class student.web.RssFeed
Set this feed's publication link.
setLoadedFromLink(URL) - Method in class student.web.RssFeed
Set the value this feed believes it was loaded from (normally set by the constructor).
setModifiers(int, boolean) - Method in class student.GUITestCase
Set any key modifiers for future events.
setName(String) - Method in class student.testingsupport.MutableStringBufferInputStream
Set the human-readable name of this input stream, for diagnostic or debugging purposes.
setNextBooleans(boolean...) - Static method in class student.TestableRandom
This method allows one to provide a predefined series of values that will override the results provided by TestableRandom.nextBoolean().
setNextBytes(byte...) - Static method in class student.TestableRandom
This method allows one to provide a predefined series of values that will override the results provided by TestableRandom.nextBytes(byte[]).
setNextDoubles(double...) - Static method in class student.TestableRandom
This method allows one to provide a predefined series of values that will override the results provided by TestableRandom.nextDouble().
setNextFloats(float...) - Static method in class student.TestableRandom
This method allows one to provide a predefined series of values that will override the results provided by Random.nextFloat().
setNextGaussians(double...) - Static method in class student.TestableRandom
This method allows one to provide a predefined series of values that will override the results provided by TestableRandom.nextGaussian().
setNextInts(int...) - Static method in class student.TestableRandom
This method allows one to provide a predefined series of values that will override the results provided by TestableRandom.nextInt() and TestableRandom.nextInt(int).
setNextLongs(long...) - Static method in class student.TestableRandom
This method allows one to provide a predefined series of values that will override the results provided by TestableRandom.nextLong().
setNormalizeLineEndings(boolean) - Static method in class student.TestCase
Control whether strings manipulated in this test case will have their line terminator sequences automatically normalized to unix-style line terminators (default is true).
setNormalizeLineEndings(boolean) - Method in class student.testingsupport.PrintStreamWithHistory
Set whether this object's history will have normalized unix-style line endings, or the raw line endings generated by printing.
setNormalizeLineEndings(boolean) - Method in class student.testingsupport.PrintWriterWithHistory
Set whether this object's history will have normalized unix-style line endings, or the raw line endings generated by printing.
setOutputChannel(PrintWriter) - Method in class student.web.WebBot
Tell this bot where to send its output.
setOutputIsHtml(boolean) - Method in class student.web.WebBot
Set whether this robot's output should be treated as plain text, or as HTML markup.
setPersistentObject(String, ObjectType) - Method in class student.web.AbstractPersistentMap
Set/store the persistent object for a given ID.
setPhraseOfInterest(String) - Method in class student.web.TurboWebBot
A key phrase of interest to look for in documents.
setPrimaryKey(String) - Method in class student.CSVDataTable
 
setPrimaryKey(String) - Method in interface student.DataTable
This method sets the column name that acts as the primary key for the table.
setSecondWord(String) - Method in class student.adventure.Command
Define the second word of this command (the word entered after the command word).
setShowFirstIcon(boolean) - Method in class student.AnimatedIcon
Display the first icon when animation is finished.
setSwitchFocus(boolean) - Method in class student.GUITestCase
 
setSystemIn(String...) - Method in class student.TestCase
Set the contents of System.in for this test case.
setTitle(String) - Method in interface student.web.RssEntity
Set this entity's title.
setTitle(String) - Method in class student.web.RssEntry
Set this entry's title.
setTitle(String) - Method in class student.web.RssFeed
Set this feed's title.
setUp() - Method in class objectdraw.TestableWindowControllerTest
Sets up the test fixture.
setUp() - Method in class student.TestCase
Sets up the fixture, for example, open a network connection.
setUseFuzzyStringComparisons(boolean) - Static method in class student.TestCase
Control whether assertEquals() on strings will use fuzzy comparisons (using the TestCase.stringNormalizer() to ignore things like punctuation differences, capitalization differences, etc.--see the StringNormalizer documentation for how to control what differences are ignored).
SharedPersistentMap<T> - Class in student.web
This class represents a PersistentMap whose contents are shared by all users/programs executing in the same context (i.e., on the same CloudSpace server, or in the same current working directory on an end-user machine).
SharedPersistentMap(Class<T>) - Constructor for class student.web.SharedPersistentMap
Create a new map that associates keys with values of the specified class.
SharedPersistentMap(Class<T>, ClassLoader) - Constructor for class student.web.SharedPersistentMap
NOT FOR STUDENT USE.
showAll() - Method in class student.adventure.CommandWords
Print all valid commands to System.out.
showInFrame(Component) - Method in class student.GUITestCase
Displays a specific component that you wish to test, such as a panel, a custom text field, or some other component, wrapping it in a Frame.
showInFrame(Component, Dimension) - Method in class student.GUITestCase
Displays a specific component that you wish to test, such as a panel, a custom text field, or some other component, wrapping it in a Frame with the size you specify.
showWebPage(String) - Static method in class student.web.WebUtilities
Cause a CloudSpace web application to show a different web page in the user's web browser.
showWindow(Window) - Method in class student.GUITestCase
Safely display a window with proper EDT synchronization.
showWindow(Window, Dimension) - Method in class student.GUITestCase
Safely display a window with proper EDT synchronization.
simpleArgumentList(Class<?>...) - Static method in class student.testingsupport.ReflectionSupport
Constructs a printable version of a method's argument list, including the parentheses, given the method's parameter type(s), if any.
simpleClassName(Class<?>) - Static method in class student.testingsupport.ReflectionSupport
Returns the name of the given class without any package prefix.
simpleClassNameUsingPrimitives(Class<?>) - Static method in class student.testingsupport.ReflectionSupport
Returns the name of the given class without any package prefix.
simpleMethodName(String, Class<?>...) - Static method in class student.testingsupport.ReflectionSupport
Constructs a printable version of a method's name, given the method name and its parameter type(s), if any.
simpleMethodName(String, ReflectionSupport.ParameterSignature) - Static method in class student.testingsupport.ReflectionSupport
Constructs a printable version of a method's name, given the method name and its parameter type(s), if any.
simpleMethodName(Method) - Static method in class student.testingsupport.ReflectionSupport
Constructs a printable version of a method's name.
size() - Method in class student.web.AbstractPersistentMap
 
size() - Method in interface student.web.PersistentMap
Returns the number of key-value mappings in this map.
size() - Method in class student.web.SessionPersistentMap
 
sizeIs(double, double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's size.
sizeIs(int, int) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks a component's size.
sizeIs(int, int) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks a shape's size.
sizeIsWithin(double, double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's size.
sizeIsWithin(int, int) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks a component's size.
sizeIsWithin(int, int) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks a shape's size.
skip(long) - Method in class student.testingsupport.MutableStringBufferInputStream
 
sleep() - Method in class student.GUITestCase
Convenience method to sleep for a UI interval (same as getRobot().sleep()).
standardRule(StringNormalizer.StandardRule) - Static method in class student.testingsupport.StringNormalizer
Retrieve a standard rule by name.
start() - Method in class student.AnimatedIcon
Start the animation from the beginning.
stop() - Method in class student.AnimatedIcon
Stop the animation.
stringNormalizer() - Static method in class student.TestCase
Access the string normalizer that this test case uses in fuzzy string comparisons.
StringNormalizer - Class in student.testingsupport
This class represents a programmable string "normalizing" engine that can be used to convert strings into a canonical form, say, before comparing strings for equality or something.
StringNormalizer() - Constructor for class student.testingsupport.StringNormalizer
Creates a new StringNormalizer object containing no rules (the "identity" normalizer).
StringNormalizer(boolean) - Constructor for class student.testingsupport.StringNormalizer
Creates a new StringNormalizer object, optionally containing the standard set of rules.
StringNormalizer(StringNormalizer.StandardRule...) - Constructor for class student.testingsupport.StringNormalizer
Creates a new StringNormalizer object containing the given set of rules.
StringNormalizer(StringNormalizer.NormalizerRule...) - Constructor for class student.testingsupport.StringNormalizer
Creates a new StringNormalizer object containing the given set of rules.
StringNormalizer(Collection<? extends StringNormalizer.NormalizerRule>) - Constructor for class student.testingsupport.StringNormalizer
Creates a new StringNormalizer object containing the given set of rules.
StringNormalizer.NormalizerRule - Interface in student.testingsupport
This interface defines what it means to be a normalizer rule: an object having an appropriate StringNormalizer.NormalizerRule.normalize(String) method.
StringNormalizer.RegexNormalizerRule - Class in student.testingsupport
A highly reusable concrete implementation of StringNormalizer.NormalizerRule that applies a series of regular expression substitutions.
StringNormalizer.StandardRule - Enum in student.testingsupport
This enumeration defines the set of predefined transformation rules.
student - package student
This package provides classes written for use in introductory computer science courses.
student.adventure - package student.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.
student.testingsupport - package student.testingsupport
 
student.web - package student.web
 
student.weblog - package student.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.
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
 
success - Variable in class student.web.WebBot.Page
Was this page read and initialized successfully?
systemErr() - Method in class student.TestCase
Get a version of System.err that records its history so you can compare against it later.
SystemIOUtilities - Class in student.testingsupport
A utility class that provides functions for replacing System I/O streams with helpful alternative implementations to make some testing jobs easier.
SystemIOUtilities() - Constructor for class student.testingsupport.SystemIOUtilities
Since this class provides only static methods, clients should not create an instance.
systemOut() - Method in class student.TestCase
Get a version of System.out that records its history so you can compare against it later.

T

targetPhrase - Variable in class student.web.WebBot
The target phrase to search for.
task() - Method in interface student.web.WebBotTask
This method encapsulates a sequence of instructions for creating and commanding one or more robots (see WebBot).
tearDown() - Method in class objectdraw.TestableWindowControllerTest
Tears down the test fixture.
tearDown() - Method in class student.TestCase
Tears down the fixture, for example, close a network connection.
test(GObject) - Method in class student.testingsupport.GObjectFilter
Evaluate whether a GObject matches this filter.
test(Component) - Method in class student.testingsupport.GUIFilter
Evaluate whether a component matches this filter.
test(DrawableInterface) - Method in class student.testingsupport.ObjectdrawFilter
Evaluate whether a DrawableInterface object matches this filter.
TestableRandom - Class in student
This subclass of Random adds extra methods useful for testing purposes.
TestableRandom() - Constructor for class student.TestableRandom
Creates a new random number generator.
TestableRandom(long) - Constructor for class student.TestableRandom
Creates a new random number generator using a single long seed.
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.
TestCase - Class in student
This class provides some customized behavior beyond the basics of TestCase to support testing of I/O driven programs and flexible/fuzzy comparison of strings.
TestCase() - Constructor for class student.TestCase
Creates a new TestCase object.
TestCase(String) - Constructor for class student.TestCase
Creates a new TestCase object.
TestCase.AssertMethodCalledIncorrectly - Error in student
A custom error class that represents a mistake in calling the wrong assert method for a given situation.
testEmptyCanvas() - Method in class objectdraw.TestableWindowControllerTest
Test empty canvas.
testLine() - Method in class objectdraw.TestableWindowControllerTest
Test line.
testMouseMove() - Method in class objectdraw.TestableWindowControllerTest
Test mouse move.
testRectangle() - Method in class objectdraw.TestableWindowControllerTest
Test rectangle.
textIs(String) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks the text of a GObject by calling the GObject's getText() method.
textIs(String) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks the text of a component by calling the component's getText() method.
textIs(String) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks the text of a shape by calling the shape's getText() method, if it has one.
TOP - Static variable in class student.AnimatedIcon
A constant representing alignment with the top edge of a container.
toString(Component) - Method in class student.GUITestCase
A shorter, simpler way to get a human-readable representation of a component.
toString(Component[]) - Method in class student.GUITestCase
Get a human-reable representation of an array of components using GUITestCase.toString(Component).
toString(List<T>) - Method in class student.GUITestCase
Get a human-readable representation of a List of components using GUITestCase.toString(Component).
toString() - Method in class student.testingsupport.GObjectFilter
Get a string representation of this filter.
toString() - Method in class student.testingsupport.GUIFilter
Get a string representation of this filter.
toString() - Method in class student.testingsupport.ObjectdrawFilter
Get a string representation of this filter.
toString() - Method in class student.testingsupport.ReflectionSupport.ParameterSignature
toString() - Method in enum student.testingsupport.ReflectionSupport.VisibilityConstraint
toString() - Method in interface student.web.HtmlElement
Generate a complete HTML rendering of this element, all its attributes, and any text that it contains.
toString() - Method in class student.web.RssEntry
Generate a printable version of this entry.
toString() - Method in class student.web.RssFeed
Generate a printable version of this feed.
toString() - Method in class student.web.WebBot
Get a printable summary of this robot.
toString() - Method in class student.weblog.LogEntry
Create a string representation of the data.
trueChannel - Variable in class student.web.WebBot
The current output channel.
TurboWebBot - Class in student.web
This advanced WebBot provides additional methods useful for extracting content from web pages basdon tag type, tag id, CSS class, or other features.
TurboWebBot() - Constructor for class student.web.TurboWebBot
Creates a new WebBot that is not yet viewing any web page.
TurboWebBot(URI) - Constructor for class student.web.TurboWebBot
Creates a new WebBot for a given URI.
TurboWebBot(URL) - Constructor for class student.web.TurboWebBot
Creates a new WebBot for a given URL.
TurboWebBot(String) - Constructor for class student.web.TurboWebBot
Creates a new WebBot for a given URL.
TurboWebBot(File) - Constructor for class student.web.TurboWebBot
Creates a new WebBot for a given file.
type - Static variable in class student.testingsupport.Reflection
A starting point for type filters where the name is unspecified.
type(String) - Static method in class student.testingsupport.Reflection
Get the type corresponding to a name.
type(Class<T>) - Static method in class student.testingsupport.Reflection
Get the type corresponding to a Class.
typeAware - Variable in class student.web.AbstractPersistentMap
The class type this map is projecting onto the persistence store.
typeIs(Class<? extends GObject>) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks the class of a GObject.
typeIs(Class<? extends Component>) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks the class of a component.
typeIs(Class<? extends DrawableInterface>) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks the class of a shape.

U

uninstall() - Static method in class student.testingsupport.ExitPreventingSecurityManager
If the current security manager is an instance of this class, uninstall it and replace it with its parent, if any.
uninstallExitHandler() - Static method in class student.TestCase
This method is for internal use only and should not be called by other code.
uri - Variable in class student.web.WebBot.Page
This page's URL as a URI.
url - Variable in class student.web.WebBot.Page
This page's URL.
urlDecode(String) - Static method in class student.web.WebUtilities
Decodes a string extracted from a URL parameter.
urlEncode(String) - Static method in class student.web.WebUtilities
Encodes a string for use in a URL.
urlFor(String) - Static method in class student.web.WebUtilities
Creates a URL object from a string, without throwing declared exceptions.
urlForString(String) - Method in class student.web.WebBot
Convert a string to a URL.

V

valueOf(String) - Static method in enum student.testingsupport.ReflectionSupport.ParameterAcceptanceCategory
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum student.testingsupport.ReflectionSupport.ParameterConversionCategory
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum student.testingsupport.ReflectionSupport.VisibilityConstraint
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum student.testingsupport.StringNormalizer.StandardRule
Returns the enum constant of this type with the specified name.
values() - Static method in enum student.testingsupport.ReflectionSupport.ParameterAcceptanceCategory
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum student.testingsupport.ReflectionSupport.ParameterConversionCategory
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum student.testingsupport.ReflectionSupport.VisibilityConstraint
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum student.testingsupport.StringNormalizer.StandardRule
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class student.web.AbstractPersistentMap
 
values() - Method in interface student.web.PersistentMap
Returns a collection representing all of the values stored in this map.
values() - Method in class student.web.SessionPersistentMap
 
Version - Class in student
This class allows access to the package version information.
Version() - Constructor for class student.Version
Create a new Version object.
version() - Static method in class student.Version
Retrieve the current version information for this class (and this class jar/library) as a string.
visibilityIs(boolean) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's visibilty.
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.
waitUnlock() - Method in class objectdraw.VTWindowControllerListener
 
walk(String) - Method in class student.adventure.Player
Try to walk in a given direction.
WebBot - Class in student.web
This class represents a robot that knows how to walk through a web page and identify headings and links.
WebBot() - Constructor for class student.web.WebBot
Creates a new WebBot that is not yet viewing any web page.
WebBot(String) - Constructor for class student.web.WebBot
Creates a new WebBot for a given URL.
WebBot.Page - Class in student.web
Represents a web page that can be visited by this bot.
WebBot.PageLocation - Class in student.web
Represents a bot location on a specific web page.
WebBotTask - Interface in student.web
This class defines the common interface for all robot task objects.
WebUtilities - Class in student.web
This class provides static utility methods that streamline some web-related operations, and also that provide useful services for CloudSpace-based programs.
welcomeMessage() - Method in class student.adventure.Game
Returns the welcome message printed when the game starts.
where - Variable in class student.GraphicTestCase
This field re-exports the where operator from GObjectFilter so that it is available in test methods without requiring a static import.
where - Variable in class student.GUITestCase
This field re-exports the where operator from GUIFilter so that it is available in test methods without requiring a static import.
where - Variable in class student.ObjectdrawTestCase
This field re-exports the where operator from ObjectdrawFilter so that it is available in test methods without requiring a static import.
where - Static variable in class student.testingsupport.GObjectFilter.ClientImports
This object represents the "where" operator that is used to begin a filter expression.
where - Static variable in class student.testingsupport.GUIFilter.ClientImports
This object represents the "where" operator that is used to begin a filter expression.
where - Static variable in class student.testingsupport.ObjectdrawFilter.ClientImports
This object represents the "where" operator that is used to begin a filter expression.
widthIs(double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's width.
widthIs(int) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks a component's width.
widthIs(int) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks a shape's width.
write(int) - Method in class student.testingsupport.PrintStreamWithHistory
Write the specified byte to this stream.
write(byte[], int, int) - Method in class student.testingsupport.PrintStreamWithHistory
Write len bytes from the specified byte array starting at offset off to this stream.
write(char[], int, int) - Method in class student.testingsupport.PrintWriterWithHistory.NullWriter
 
write(int) - Method in class student.testingsupport.PrintWriterWithHistory
Write a single character.
write(char[], int, int) - Method in class student.testingsupport.PrintWriterWithHistory
Write A Portion of an array of characters.
write(String, int, int) - Method in class student.testingsupport.PrintWriterWithHistory
Write a portion of a string.

X

xLocationIs(double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's x-coordinate.
xLocationIs(int) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks a component's x-coordinate.
xLocationIs(int) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks a shape's x-coordinate.
xPathFindAll(String) - Method in class student.web.WebBot.Page
 
xPathFindFirst(String) - Method in class student.web.WebBot.Page
 

Y

yLocationIs(double) - Method in class student.testingsupport.GObjectFilter.Operator
Create a filter that checks a GObject's y-coordinate.
yLocationIs(int) - Method in class student.testingsupport.GUIFilter.Operator
Create a filter that checks a component's y-coordinate.
yLocationIs(int) - Method in class student.testingsupport.ObjectdrawFilter.Operator
Create a filter that checks a shape's y-coordinate.
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 
Skip navigation links
Student Library
Copyright © 2010-2018 Virginia Tech.