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

R

RandNumGenerator - class edu.kzoo.util.RandNumGenerator.
Kalamazoo College Utility Classes:
The RandNumGenerator class provides a singleton object for random number generation.
RANDOM - Static variable in class edu.kzoo.grid.gui.ColorChoiceDDMenu
 
RANDOM_COLOR - Static variable in class edu.kzoo.grid.gui.ColorChoiceDDMenu
Unique constant object representing a random color (to compare == to)
randomDirection() - Method in class edu.kzoo.grid.Grid
Generates a random direction.
randomDirection() - Static method in class edu.kzoo.grid.Direction
Returns a random direction.
reactToNewGrid(Grid) - Method in interface edu.kzoo.grid.gui.GridChangeListener
Reacts to a change in grids being used.
reactToNewGrid(Grid) - Method in class edu.kzoo.grid.gui.nuggets.BasicGridFileMenu
Sets the enabled status of those GUI items that need a grid to be valid.
reactToNewGrid(Grid) - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
 
readGrid(File) - Method in interface edu.kzoo.grid.gui.GridDataFileHandler
Reads information about a grid from an initial configuration data file and creates the grid.
recalculateCellSize() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Calculates the cell size to use given the current viewable region and the number of rows and columns in the grid.
recenterOnOrigin() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Pans the display back to the origin, so that 0, 0 is at the the upper left of the visible viewport.
RED - Static variable in class edu.kzoo.grid.gui.ColorChoiceDDMenu
 
RED - Static variable in class edu.kzoo.util.NamedColor
NamedColor version of java.awt.Color constant
remove(GridObject) - Method in class edu.kzoo.grid.Grid
Removes the specified object from this grid.
remove(GridObject) - Method in interface edu.kzoo.grid.Grid.InternalRepresentation
Removes the object from this environment.
remove(GridObject) - Method in class edu.kzoo.grid.BoundedGrid.Array2DGridRep
Removes the object from this internal grid representation.
remove(GridObject) - Method in class edu.kzoo.grid.ArrayListGrid.ArrayListGridRep
Removes the object from this internal grid representation.
remove(Location) - Method in class edu.kzoo.grid.Grid
Removes whatever object is at the specified location in this grid.
removeAll() - Method in class edu.kzoo.grid.Grid
Removes all objects from this grid.
removeDecorator(DisplayDecorator) - Method in class edu.kzoo.grid.display.ScaledDisplay
Remove a Decorator from the display
removeFromGrid() - Method in class edu.kzoo.grid.GridObject
Removes this object from the grid in which it was located.
reportConstructionError(Class, Exception, String) - Method in class edu.kzoo.grid.gui.GridEditor
Reports an error from attempting to construct an object.
resetButtonLabel(String, String) - Method in class edu.kzoo.grid.gui.GeneratedButtonList
Resets the specified button label associated with a method in the target object.
resetDelay() - Method in class edu.kzoo.grid.gui.GridAppFrame
Resets the current delay value to the initial delay value and adjusts the speed slider, if there is one.
restoreState() - Static method in class edu.kzoo.util.Debug
Restores the previous debugging state.
reverse() - Method in class edu.kzoo.grid.Direction
Returns the direction that is the reverse of this Direction object.
ROSE - Static variable in class edu.kzoo.util.NamedColor
Less salmon-colored than PINK
RotatedDecorator - class edu.kzoo.grid.display.RotatedDecorator.
Grid Display Package:
A RotatedDecorator will allow a display to change as the object it is associated with changes direction.
RotatedDecorator(Direction) - Constructor for class edu.kzoo.grid.display.RotatedDecorator
Construct a new RotatedDecorator that can be added to a ScaledDisplay.
roundedDir(int, Direction) - Method in class edu.kzoo.grid.Direction
Rounds this direction to the nearest "cardinal" direction (will not be tested on the Advanced Placement exam).
row() - Method in class edu.kzoo.grid.Location
Returns the row coordinate of this location.
rowToYCoord(int) - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Returns Y-coordinate of top of given row.
run() - Method in class edu.kzoo.grid.gui.SteppedGridAppFrame
Starts a timer to repeatedly step the application at the speed currently indicated by the speed slider.
runningNSteps - Variable in class edu.kzoo.grid.gui.SteppedGridAppFrame
 

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