|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
x, y).
GCompound.
x, y).
x, y).
x, y).
x, y).
GRectangle so that it contains
the rectangle represented by the argument.
ActionListener to every button in
the structure that does not have a listener already.
dx and dy from the last vertex.
Edit menu.
Edit items to the specified menu.
exit method in the
specified object before exiting.
File menu.
File items to the specified menu.
KeyListener to the canvas.
KeyListener to the canvas.
MouseListener and MouseMotionListener
to the canvas.
MouseListener and/or
MouseMotionListener, as appropriate, to the canvas.
x, y) relative to the polygon origin.
x, y).
x0, y0) and
(x1, y1).
Thread to provide several features that make it
easier to build animations.Animator object.
Serif,
SansSerif, and Monospaced) are available.
"call" action, as if the Call button
is pushed.
CancelledException.
Animator has been asked
to terminate.
v1 and v2
and returns -1, 0, or +1 depending on whether v1 is earlier
than, equal to, or later than v2.
Program
that installs a console in the window.true if the GRectangle contains the specified point.
true if the GRectangle contains the specified point.
angle
is expressed in degrees.
MenuBar that has the same effect as the
specified JMenuBar.
ProgramMenuBar.
Font.decode.
Font.decode.
Program
that takes its input from a IODialog object.x, y).
x0, y0)
and (x1, y1).
double value.
double value.
double value,
which is constrained to be within the specified range.
double value,
which is constrained to be within the specified range.
dx and dy.
ErrorException using an existing exception.
ErrorException with the specified message.
run method.
G3DRect class is used to represent a rectangle whose
borders are drawn to create a three-dimensional effect.true.
GArc class is a graphical object whose appearance consists
of an arc.GArc object consisting of an elliptical arc
located at the point (0, 0).
GArc object consisting of an elliptical arc
inscribed in a rectangle located at the point (x, y)
with the specified width and height.
GCanvas class is a lightweight component that also
serves as a container for graphical objects.GCanvas that contains no objects.
GCompound object with no internal components.
GObject.Dimension class
in java.awt.GDimension object from an AWT Dimension.
GDimension object from an existing one.
anchor field from the constraint.
setAutoRepaintFlag.
GRectangle whose bounds are the same as this one.
GRectangle that specifies the bounding box for the string.
null
if the polygon is empty.
setDirection.
double value associated with key
in the option table, or 0.0 if no such value exists.
double value associated with key
in the option table or the specified default value if no such binding
exists.
x, y), or null if no such
object exists.
x, y), or null if no such
object exists.
x, y), or null if no such
object exists.
x, y), or null if no such
object exists.
null if no such object exists.
null if no such object exists.
null if no such object exists.
null if no such object exists.
GCanvas.
GCanvas.
GCanvas.
GPoint object.
fill field from the constraint.
GLabel is displayed.
null if no format has been set.
null if no format has been set.
GRectangle in which this arc is inscribed.
GCanvas object used by this program.
gridheight field from the constraint.
gridwidth field from the constraint.
gridx field from the constraint.
gridy field from the constraint.
GDimension.
GDimension.
height field from the constraint.
hex,
in which the elements consist of continuous bytes of hex data.
GImage.
imageObserver.
IOModel used for program input, which will
typically be either the default IOConsole or IODialog object.
IOModel used for program input.
insets field from the constraint.
RandomGenerator instance that can
be shared among several classes.
key in the option
table, or 0 if no such value exists.
key in the option
table or the specified default value if no such binding exists.
ipadx field from the constraint.
ipady field from the constraint.
GPoint with the location of the rectangle.
GPoint.
GPoint whose coordinates are the same as this one.
setNativeArcFlag.
key in the option
table, or null if no such value exists.
key in the option
table or the specified default value if no such binding exists.
IOModel used for program output, which will
typically be either the default IOConsole or IODialog object.
IOModel used for program output.
setPenVisible has been
called.
BufferedReader object that can be used to read
from the console.
BufferedReader whose input comes from the console.
GDimension object with the size of the GRectangle.
GDimension.
GDimension.
GDimension object equal to this one.
GDimension.
GArc object.
GArc object.
double.
int.
weightx field from the constraint.
weighty field from the constraint.
GDimension.
GDimension.
width field from the constraint.
PrintWriter object that can be used to send
output to the console.
PrintWriter whose output is directed to the console.
GRectangle.
GPoint.
GRectangle.
GPoint.
GImage class is a graphical object whose appearance is
defined by an image.GImage object at the origin that displays
the specified image.
GImage object at the specified coordinates.
GImage object by looking for an image with that
name.
GImage object at the specified coordinates.
GLabel class is a graphical object whose appearance consists
of a text string.GLabel object initialized to contain the specified string.
GLabel object with its baseline origin at the
specified position.
GLine class is a graphical object whose appearance consists
of a line segment.acm.graphics package.GCanvas.GOval class is a graphical object whose appearance consists
of an oval.GPen class simulates a pen drawing on a canvas.GPen object with an empty path.
GPen object with an empty path, initially
positioned at the point (x, y).
Point class
in java.awt.GPoint at the origin (0, 0).
GPoint with the specified coordinates.
GPoint from an existing one.
GPoint from an existing AWT Point.
GPolygon class is a graphical object whose appearance consists
of a polygon.x, y).
GPoint
objects.
Program
whose principal window is used for drawing graphics.GRect class is a graphical object whose appearance consists
of a rectangular box.Rectangle class
in java.awt.GRectangle.
GRectangle at the origin with the specified width and height.
GRectangle with the specified coordinates and size.
GRectangle at the origin with the specified size.
GRectangle at the specified location.
GRectangle with the specified location and size.
GRectangle from an existing one.
setSize and setBounds methods.GRoundRect class is a graphical object whose appearance consists
of a rounded rectangle.dx and dy
offsets along each of its borders.
scale method.GTurtle class simulates a turtle moving on a canvas.GTurtle object.
GPen positioned at the point
(x, y).
TablePanel
with a single row.HPanel.
HPanel with the specified hgap
and vgap parameters, which specify the padding between
elements.
r1 and r2.
true if r1 and r2 have a nonempty
intersection.
int value.
int value.
int value,
which is constrained to be within the specified range.
int value,
which is constrained to be within the specified range.
IOConsole class makes it easier to interact with
the user using text-based input and output in the style of a
traditional console.IOConsole object.
IODialog class provides a simple, dialog-based mechanism
for interacting with the user.IOModel interface defines the input and output methods
supported by both the IOConsole
and IODialog classes.true if the supplied thread is an anonymous
one created automatically by the system.
setCachingEnabled.
true if the rectangle is empty.
setPenDown.
sun.audio package is available.
Iterator that cycles through the elements within
this container in the default direction, which is from back to front.
Iterator that cycles through the elements within
this container in the default direction, which is from back to front.
Iterator that cycles through the elements within
this container in the default direction, which is from back to front.
Iterator that cycles through the elements
within this container in the specified direction, which must be one
of the constants GContainer.FRONT_TO_BACK
or GContainer.BACK_TO_FRONT.
Iterator that cycles through the elements
within this container in the specified direction, which must be one
of the constants GContainer.FRONT_TO_BACK
or GContainer.BACK_TO_FRONT.
Iterator that cycles through the elements
within this container in the specified direction, which must be one
of the constants FRONT_TO_BACK
or BACK_TO_FRONT
from the GContainer interface.
AudioClip.
Image.
GTurtle to be run under the control
of a GraphicsProgram object.
MyClass is the name of the program class:
- markAsComplete() -
Method in class acm.graphics.GCompound
- Calling this method makes it illegal to add or remove elements from the
compound object.
- MediaTools - class acm.util.MediaTools.
- This class implements a standard mechanism for loading images and sounds.
- MediaTools() -
Constructor for class acm.util.MediaTools
-
- menuAction(String) -
Method in class acm.program.Program
- Called whenever an action event is detected in the menu bar.
- mouseClicked(MouseEvent) -
Method in class acm.program.Program
- Called when the mouse is clicked.
- mouseDragged(MouseEvent) -
Method in class acm.program.Program
- Called when the mouse is dragged with the button down.
- mouseEntered(MouseEvent) -
Method in class acm.program.Program
- Called when the mouse enters the source (which may be
either a component or a
GObject).
- mouseExited(MouseEvent) -
Method in class acm.program.Program
- Called when the mouse exits the source (which may be
either a component or a
GObject).
- mouseMoved(MouseEvent) -
Method in class acm.program.Program
- Called when the mouse is moved.
- mousePressed(MouseEvent) -
Method in class acm.program.Program
- Called when the mouse button is pressed.
- mouseReleased(MouseEvent) -
Method in class acm.program.Program
- Called when the mouse button is released.
- move(double, double) -
Method in class acm.graphics.GObject
- Moves the object on the screen using the displacements
dx and dy.
- movePolar(double, double) -
Method in class acm.graphics.GObject
- Moves the object using displacements given in polar coordinates.
boolean value with the specified probability.
Color whose components are chosen uniformly
in the 0-255 range.
OptionTable from an existing map.
OptionTable and initializes it
from the specified string.
OptionTable from the specified string,
checking to make sure that all keys exist in the string array
keys.
GObject must define a paint
method which allows the object to draw itself on the Graphics
context passed in as the parameter g.
acm.program package.ProgramMenuBar with no menus.
true or false, ignoring case.
true or false, ignoring case.
true or false, ignoring case.
true or false).
trueLabel and falseLabel
parameters.
trueLabel and falseLabel
parameters.
trueLabel and falseLabel
parameters.
GCanvas.
GCompound.
GCanvas.
GCompound.
Animator that it should stop running at the
next available opportunity, which is when the client next calls
pause or checkForTermination.
double value to the nearest int.
sf, which applies
in both dimensions.
sf, which applies
in both dimensions.
sf, which applies
in both dimensions.
sf, which applies
in both dimensions.
sf, which applies
in both dimensions.
sf, which applies
in both dimensions.
sf, which applies
in both dimensions.
sf, which applies
in both dimensions.
sx and sy.
sx and sy.
sx and sy.
sx and sy.
sx and sy.
sx and sy.
sx and sy.
sx and sy.
sx and sy.
flag
parameter.
GRectangle from the specified values.
GRectangle from the specified location and size.
GRectangle equal to that of another.
GRectangle.
GRectangle.
Rectangle.
GRectangle.
MediaTools package to indicate
whether images and audio clips are cached internally by name.
x, y).
flag
parameter.
flag
parameter.
flag
parameter.
flag
parameter.
GLabel.
GLabel as specified by
the string str, which is interpreted in the style of
Font.decode.
str, which is interpreted in the style of
Font.decode.
str, which is interpreted in the style of
Font.decode.
GRectangle.
GImage object to the new image
specified as an argument.
GImage object to the one identified
by the argument name, which is processed exactly as described
in the constructors.
GLabel object, so that
a new text string appears on the display.
GRectangle to the specified x
and y values.
x, y).
x, y) without drawing a line.
GPoint to the specified x
and y values.
x, y) without drawing a line.
GRectangle to the specified point.
GPoint to that of an existing one.
GArc and GOval should use
Java arcs.
GRectangle to the specified values.
GRectangle to the specified dimension.
GDimension
object.
GDimension object equal to that of another.
GArc object.
x, y),
leaving the end point unchanged.
GArc object.
angle
is expressed in degrees.
"start" action, as if the Start button
is pushed.
"step" action, as if the Step button
is pushed.
"stop" action, as if the Stop button
is pushed.
javax.swing.Timer and
exists only to avoid the ambiguity that arises because there is
also a Timer class in java.util.IOConsole class, but which does so using the standard
I/O streams System.in and System.out.
TableLayout or GridBagLayout.TableConstraints object with default
values for each of the fields
Usage: TableConstraints constraints = new TableConstraints();
TableConstraints object whose components
are initialized according from the specified string.
TableLayout object with no limits
on the number of rows and columns.
TableLayout object with the specified
number of rows and columns.
TableLayout object with the specified
row count, column count, alignment, horizontal gap, and vertical gap.
JPanel that uses
TableLayout as its layout manager.TablePanel whose layout manager supports the
specified number of rows and columns.
TablePanel with the specified number
of rows and columns and the supplied values for the horizontal and
vertical gap.
angle
is expressed in degrees.
GDimension to the nearest integer-based
Dimension.
GPoint to the nearest integer-based Point.
GRectangle to the nearest integer-based Rectangle.
dx and
dy offsets.
dx and
dy offsets.
U
V
W
A B C D E F G H I J K L M N O P R S T U V W
| ||||||||