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

R

RandomGenerator - Class in acm.util
This class implements a simple random number generator that allows clients to generate pseudorandom integers, doubles, booleans, and colors.
RandomGenerator() - Constructor for class acm.util.RandomGenerator
Creates a new random generator initialized to an unpredictable starting point.
readBoolean() - Method in class acm.io.IOConsole
Reads and returns a boolean value from the user, which must match either true or false, ignoring case.
readBoolean(String) - Method in class acm.io.IOConsole
Prompts the user to enter a boolean value, which is then returned as the value of this method.
readBoolean(String, String, String) - Method in class acm.io.IOConsole
Prompts the user to enter a value, which is interpreted as a boolean value by matching it against the trueLabel and falseLabel parameters.
readBoolean() - Method in class acm.io.IODialog
Reads and returns a boolean value from the user, which must match either true or false, ignoring case.
readBoolean(String) - Method in class acm.io.IODialog
Prompts the user to enter a boolean value, which is then returned as the value of this method.
readBoolean(String, String, String) - Method in class acm.io.IODialog
Prompts the user to enter a value, which is interpreted as a boolean value by matching it against the trueLabel and falseLabel parameters.
readBoolean() - Method in interface acm.io.IOModel
Reads and returns a boolean value from the user, which must match either true or false, ignoring case.
readBoolean(String) - Method in interface acm.io.IOModel
Prompts the user to enter a boolean value, which is then returned as the value of this method.
readBoolean(String, String, String) - Method in interface acm.io.IOModel
Prompts the user to enter a value, which is interpreted as a boolean value by matching it against the trueLabel and falseLabel parameters.
readBoolean() - Method in class acm.program.Program
Reads and returns a boolean value (true or false).
readBoolean(String) - Method in class acm.program.Program
Prompts the user to enter a boolean value, which is returned as the value of this method.
readBoolean(String, String, String) - Method in class acm.program.Program
Prompts the user to enter a boolean value, which is matched against the labels provided.
readDouble() - Method in class acm.io.IOConsole
Reads and returns a double-precision value from the user.
readDouble(double, double) - Method in class acm.io.IOConsole
Reads and returns a double-precision value from the user, which is constrained to be within the specified inclusive range.
readDouble(String) - Method in class acm.io.IOConsole
Prompts the user to enter an double-precision number, which is then returned as the value of this method.
readDouble(String, double, double) - Method in class acm.io.IOConsole
Prompts the user to enter an double-precision number, which is then returned as the value of this method.
readDouble() - Method in class acm.io.IODialog
Reads and returns a double-precision value from the user.
readDouble(double, double) - Method in class acm.io.IODialog
Reads and returns a double-precision value from the user, which is constrained to be within the specified inclusive range.
readDouble(String) - Method in class acm.io.IODialog
Prompts the user to enter an double-precision number, which is then returned as the value of this method.
readDouble(String, double, double) - Method in class acm.io.IODialog
Prompts the user to enter an double-precision number, which is then returned as the value of this method.
readDouble() - Method in interface acm.io.IOModel
Reads and returns a double-precision value from the user.
readDouble(double, double) - Method in interface acm.io.IOModel
Reads and returns a double-precision value from the user, which is constrained to be within the specified inclusive range.
readDouble(String) - Method in interface acm.io.IOModel
Prompts the user to enter an double-precision number, which is then returned as the value of this method.
readDouble(String, double, double) - Method in interface acm.io.IOModel
Prompts the user to enter an double-precision number, which is then returned as the value of this method.
readDouble() - Method in class acm.program.Program
Reads and returns a double-precision value from the user.
readDouble(double, double) - Method in class acm.program.Program
Reads and returns a double-precision value from the user, which is constrained to be within the specified inclusive range.
readDouble(String) - Method in class acm.program.Program
Prompts the user to enter an double-precision number, which is then returned as the value of this method.
readDouble(String, double, double) - Method in class acm.program.Program
Prompts the user to enter an double-precision number, which is then returned as the value of this method.
readInt() - Method in class acm.io.IOConsole
Reads and returns an integer value from the user.
readInt(int, int) - Method in class acm.io.IOConsole
Reads and returns an integer value from the user, which is constrained to be within the specified inclusive range.
readInt(String) - Method in class acm.io.IOConsole
Prompts the user to enter an integer, which is then returned as the value of this method.
readInt(String, int, int) - Method in class acm.io.IOConsole
Prompts the user to enter an integer, which is then returned as the value of this method.
readInt() - Method in class acm.io.IODialog
Reads and returns an integer value from the user.
readInt(int, int) - Method in class acm.io.IODialog
Reads and returns an integer value from the user, which is constrained to be within the specified inclusive range.
readInt(String) - Method in class acm.io.IODialog
Prompts the user to enter an integer, which is then returned as the value of this method.
readInt(String, int, int) - Method in class acm.io.IODialog
Prompts the user to enter an integer, which is then returned as the value of this method.
readInt() - Method in interface acm.io.IOModel
Reads and returns an integer value from the user.
readInt(int, int) - Method in interface acm.io.IOModel
Reads and returns an integer value from the user, which is constrained to be within the specified inclusive range.
readInt(String) - Method in interface acm.io.IOModel
Prompts the user to enter an integer, which is then returned as the value of this method.
readInt(String, int, int) - Method in interface acm.io.IOModel
Prompts the user to enter an integer, which is then returned as the value of this method.
readInt() - Method in class acm.program.Program
Reads and returns an integer value from the user.
readInt(int, int) - Method in class acm.program.Program
Reads and returns an integer value from the user, which is constrained to be within the specified inclusive range.
readInt(String) - Method in class acm.program.Program
Prompts the user to enter an integer, which is then returned as the value of this method.
readInt(String, int, int) - Method in class acm.program.Program
Prompts the user to enter an integer, which is then returned as the value of this method.
readLine() - Method in class acm.io.IOConsole
Reads and returns a line of input from the console, without including the end-of-line characters that terminate the input.
readLine(String) - Method in class acm.io.IOConsole
Prompts the user to enter a line of text, which is then returned as the value of this method.
readLine() - Method in class acm.io.IODialog
Reads and returns a line of input from the dialog, without including the end-of-line characters that terminate the input.
readLine(String) - Method in class acm.io.IODialog
Prompts the user to enter a single character, which is then returned as the value of this method.
readLine() - Method in interface acm.io.IOModel
Reads and returns a line of input, without including the end-of-line characters that terminate the input.
readLine(String) - Method in interface acm.io.IOModel
Prompts the user to enter a line of text, which is then returned as the value of this method.
readLine() - Method in class acm.program.Program
Reads and returns a line of input from the console.
readLine(String) - Method in class acm.program.Program
Prompts the user for a line of input.
recenter() - Method in class acm.graphics.GPolygon
Recalculates the vertices of the polygon so that they are positioned relative to the geometric center of the object.
registerApplet(Applet) - Static method in class acm.util.JTFTools
Adds this applet to a table indexed by the current thread.
registerApplet(Applet, Thread) - Static method in class acm.util.JTFTools
Adds this applet to a table indexed by the specified thread.
registerSpeedBar(JSlider) - Method in class acm.util.Animator
Registers the specified slider as the delay controller for the animator.
registerSpeedBar(JScrollBar) - Method in class acm.util.Animator
Registers the specified scroll bar as the delay controller for the animator.
registerSpeedBar(Object) - Method in class acm.util.Animator
Registers the specified speed bar as the delay controller for the animator.
remove(GObject) - Method in class acm.graphics.GCanvas
Removes a graphical object from this GCanvas.
remove(Component) - Method in class acm.graphics.GCanvas
Removes the component from the canvas.
remove(GObject) - Method in class acm.graphics.GCompound
Removes a graphical object from this GCompound.
remove(GObject) - Method in interface acm.graphics.GContainer
Removes a graphical object from this container.
remove(GObject) - Method in class acm.program.GraphicsProgram
Removes a graphical object from this container.
remove(int) - Method in class acm.program.Program
Removes the component at the specified index from the central region.
remove(Component) - Method in class acm.program.Program
Removes the specified component from the central region.
removeActionListener(ActionListener) - Method in class acm.graphics.GObject
Removes an action listener from this graphical object.
removeAll() - Method in class acm.graphics.GCanvas
Removes all graphical objects from this GCanvas.
removeAll() - Method in class acm.graphics.GCompound
Removes all graphical objects from this GCompound.
removeAll() - Method in interface acm.graphics.GContainer
Removes all graphical objects from this container.
removeAll() - Method in class acm.program.GraphicsProgram
Removes all graphical objects from this container.
removeAll() - Method in class acm.program.Program
Removes all components from the central region.
removeAllComponents() - Method in class acm.program.GraphicsProgram
Removes all components from this container.
removeLayoutComponent(Component) - Method in class acm.gui.TableLayout
Removes the specified component from the layout.
removeMouseListener(MouseListener) - Method in class acm.graphics.GObject
Removes a mouse listener from this graphical object.
removeMouseMotionListener(MouseMotionListener) - Method in class acm.graphics.GObject
Removes a mouse motion listener from this graphical object.
repaint() - Method in class acm.program.GraphicsProgram
Signals a need to repaint this window.
repaint() - Method in class acm.program.Program
Forwards repaint to the content pane.
requestFocus() - Method in class acm.io.IOConsole
Overrides the requestFocus method so that it forwards to the console model.
requestTermination() - Method in class acm.util.Animator
Signals the Animator that it should stop running at the next available opportunity, which is when the client next calls pause or checkForTermination.
right(double) - Method in class acm.graphics.GTurtle
Changes the direction of the turtle so that it moves the specified number of degrees to the right.
RIGHT - Static variable in class acm.gui.TableLayout
Align table horizontally at the right of its container
RIGHT - Static variable in class acm.gui.TablePanel
Align table horizontally at the right of its container
rotate(double) - Method in class acm.graphics.GPolygon
Rotates the polygon around its origin by the angle theta, measured in degrees.
round(double) - Static method in class acm.graphics.GMath
Rounds a double value to the nearest int.
run() - Method in class acm.program.ConsoleProgram
Contains the code to be executed for each specific program subclass.
run() - Method in class acm.program.DialogProgram
Contains the code to be executed for each specific program subclass.
run() - Method in class acm.program.GraphicsProgram
Contains the code to be executed for each specific program subclass.
run() - Method in class acm.program.Program
Contains the code to be executed for each specific program subclass.
run() - Method in class acm.util.Animator
Specifies the code for the animator.
RUNNING - Static variable in class acm.util.Animator
Constant indicating that the animator is running.
A B C D E F G H I J K L M N O P R S T U V W