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

A

acm.graphics - package acm.graphics
This package provides a set of classes that support the creation of simple, object-oriented graphical displays.
acm.gui - package acm.gui
This package provides a set of classes that support the creation of simple, interactive programs.
acm.io - package acm.io
This package includes two classes that simplify I/O operations.
acm.program - package acm.program
This package provides a set of classes that simplify the creation of programs.
acm.util - package acm.util
This package includes several classes that are common to the ACM package suite.
actionPerformed(ActionEvent) - Method in class acm.program.Program
Called when a component (typically a button) is activated.
add(GObject) - Method in class acm.graphics.GCanvas
Adds the graphical object to this canvas.
add(GObject, double, double) - Method in class acm.graphics.GCanvas
Adds the graphical object to this canvas and sets its location to the point (xy).
add(GObject, GPoint) - Method in class acm.graphics.GCanvas
Adds the graphical object to this canvas and sets its location to the specified point.
add(Component) - Method in class acm.graphics.GCanvas
Adds the component to this canvas without changing its location.
add(Component, double, double) - Method in class acm.graphics.GCanvas
Adds the component to this canvas and sets its location to the point (xy).
add(Component, GPoint) - Method in class acm.graphics.GCanvas
Adds the component to this canvas and sets its location to the specified point.
add(GObject) - Method in class acm.graphics.GCompound
Adds a new graphical object to this GCompound.
add(GObject, double, double) - Method in class acm.graphics.GCompound
Adds the graphical object to this canvas and sets its location to the point (xy).
add(GObject, GPoint) - Method in class acm.graphics.GCompound
Adds the graphical object to this canvas and sets its location to the specified point.
add(GObject) - Method in interface acm.graphics.GContainer
Adds a new graphical object to this container.
add(GObject, double, double) - Method in interface acm.graphics.GContainer
Adds the graphical object to this canvas and sets its location to the point (xy).
add(GObject, GPoint) - Method in interface acm.graphics.GContainer
Adds the graphical object to this canvas and sets its location to the specified point.
add(GRectangle) - Method in class acm.graphics.GRectangle
Adjusts the bounds of the current GRectangle so that it contains the rectangle represented by the argument.
add(double, double) - Method in class acm.graphics.GRectangle
Adds the specified point to the rectangle.
add(GObject) - Method in class acm.program.GraphicsProgram
Adds a new graphical object to this container.
add(GObject, double, double) - Method in class acm.program.GraphicsProgram
Adds the graphical object to this canvas and sets its location to the point (xy).
add(GObject, GPoint) - Method in class acm.program.GraphicsProgram
Adds the graphical object to this canvas and sets its location to the specified point.
add(Component, String, Object) - Method in class acm.program.Program
Adds the component to the specified border region with the indicated constraints object.
addActionListener(ActionListener) - Method in class acm.graphics.GObject
Adds an action listener to this graphical object.
addActionListeners() - Method in class acm.program.Program
Adds the program as an ActionListener to every button in the structure that does not have a listener already.
addActionListeners(ActionListener) - Method in class acm.program.Program
Adds the specified listener to every button in the structure that does not have a listener already.
addArc(double, double, double, double) - Method in class acm.graphics.GPolygon
Adds a series of edges to the polygon that simulates the arc specified by the parameters.
addEdge(double, double) - Method in class acm.graphics.GPolygon
Adds an edge to the polygon whose components are given by the displacements dx and dy from the last vertex.
addEditMenu() - Method in class acm.program.ProgramMenuBar
Installs the Edit menu.
addEditMenuItems(JMenu) - Method in class acm.program.ProgramMenuBar
Adds the standard Edit items to the specified menu.
addExitHook(Object) - Method in class acm.program.Program
Requests that the program call the exit method in the specified object before exiting.
addFileMenu() - Method in class acm.program.ProgramMenuBar
Installs the File menu.
addFileMenuItems(JMenu) - Method in class acm.program.ProgramMenuBar
Adds the standard File items to the specified menu.
addKeyListeners() - Method in class acm.program.GraphicsProgram
Adds the program as a KeyListener to the canvas.
addKeyListeners(KeyListener) - Method in class acm.program.GraphicsProgram
Adds the specified listener as a KeyListener to the canvas.
addLayoutComponent(String, Component) - Method in class acm.gui.TableLayout
Adds a component to the layout.
addLayoutComponent(Component, Object) - Method in class acm.gui.TableLayout
Adds a component to the layout.
addMouseListener(MouseListener) - Method in class acm.graphics.GObject
Adds a mouse listener to this graphical object.
addMouseListeners() - Method in class acm.program.GraphicsProgram
Adds the program as both a MouseListener and MouseMotionListener to the canvas.
addMouseListeners(EventListener) - Method in class acm.program.GraphicsProgram
Adds the specified listener as a MouseListener and/or MouseMotionListener, as appropriate, to the canvas.
addMouseMotionListener(MouseMotionListener) - Method in class acm.graphics.GObject
Adds a mouse motion listener to this graphical object.
addPolarEdge(double, double) - Method in class acm.graphics.GPolygon
Adds an edge to the polygon specified in polar coordinates.
addVertex(double, double) - Method in class acm.graphics.GPolygon
Adds a vertex at (x, y) relative to the polygon origin.
angle(double, double) - Static method in class acm.graphics.GMath
Returns the angle in degrees from the origin to the point (xy).
angle(double, double, double, double) - Static method in class acm.graphics.GMath
Computes the angle in degrees formed by a line segment from the point (x0y0) and (x1y1).
Animator - Class in acm.util
This class extends Thread to provide several features that make it easier to build animations.
Animator() - Constructor for class acm.util.Animator
Creates a new Animator object.
Animator(ThreadGroup) - Constructor for class acm.util.Animator
Creates a new Animator object and assigns it to the specified thread group.
Animator(Runnable) - Constructor for class acm.util.Animator
Creates a new Animator object with the specified runnable object.
Animator(ThreadGroup, Runnable) - Constructor for class acm.util.Animator
Creates a new Animator object with the specified runnable object and assigns it to the specified thread group.
ARC_TOLERANCE - Static variable in class acm.graphics.GArc
This constant defines how close (measured in pixel units) a point has to be to an arc before that point is considered to be "contained" within the arc.
areCollectionsAvailable() - Static method in class acm.util.Platform
Checks whether the JDK 1.2 collection classes are available.
areStandardFontFamiliesAvailable() - Static method in class acm.util.Platform
Checks whether the JDK 1.2 standard font families (Serif, SansSerif, and Monospaced) are available.
A B C D E F G H I J K L M N O P R S T U V W