|
||||||||
PREV NEXT | FRAMES NO FRAMES |
true
if the specified file should be accepted by
the filter.
x
, y
).
x
, y
).
GCompound
.
x
, y
).
x
, y
).
GRectangle
so that it contains
the rectangle represented by the argument.
x
, y
).
x
, y
).
ActionListener
to every button in
the structure that does not have a listener already.
ActionListener
to every button in
the structure that does not have a listener already.
dx
and dy
from the last vertex.
exit
method in the
specified object before exiting.
exit
method in the
specified object before exiting.
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.
ConsoleProgram
in an environment that lacks a graphics context.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.
oldFile
to newFile
.
angle
is expressed in degrees.
BufferedImage
from the specified image.
red
, green
, and blue
.
red
, green
, and blue
and the transparency value alpha
.
ProgramMenuBar
class.
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
with the specified message.
ErrorException
using an existing exception.
javax.swing.filechooser.FileFilter
and exists primarily to avoid the ambiguity that arises because there is
also a FileFilter
class in java.io
.FileChooserFilter
.
FileChooserFilter
that accepts filenames
matching the specified pattern.
FileChooserFilter
that accepts filenames
matching the specified pattern.
str
that exists in
the current GraphicsEnvironment
.
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 existing one.
GDimension
object from an AWT Dimension
.
anchor
field from the constraint.
setAutoRepaintFlag
.
GRectangle
that specifies the bounding box for the string.
GRectangle
whose bounds are the same as this one.
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.
null
if no such object exists.
x
, y
), or null
if no such
object exists.
null
if no such object exists.
x
, y
), or null
if no such
object exists.
null
if no such object exists.
x
, y
), or 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, which will
ordinarily be the console.
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.
compareVersion
method.
GPoint
.
GPoint
whose coordinates are the same as this one.
GPoint
with the location of the rectangle.
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, which will
ordinarily be the console.
setPenVisible
has been
called.
Program
object associated with this menu.
BufferedReader
object that can be used to read
from the console.
BufferedReader
whose input comes from the console.
BufferedReader
whose input comes from the console.
LEFT
or RIGHT
.
GDimension
object equal to this one.
GDimension
.
GDimension
.
GDimension
.
GDimension
object with the size of the GRectangle
.
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.
PrintWriter
whose output is directed to the console.
GPoint
.
GRectangle
.
GPoint
.
GRectangle
.
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 by looking for an image with that
name.
GImage
object at the origin.
GImage
object at the specified coordinates.
GImage
object at the specified coordinates.
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
with the specified coordinates and size.
GRectangle
at the origin with the specified width and height.
GRectangle
with the specified location and size.
GRectangle
at the specified location.
GRectangle
at the origin with the specified 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.
GTurtle
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.
run
method is called.
run
method is called.
run
method is called.
run
method is called.
JFrame
or Program
object enclosing the component comp
.
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.setCachingEnabled
.
true
if the item is one that the console recognizes.
true
if the QuickTime controller is enabled.
true
if the rectangle is empty.
true
if the item is a focused item.
setPenDown
.
true
if the sound is recorded in stereo.
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 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 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 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 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:
MyClass
is the name of the program class:
GObject
).
GObject
).
GObject
).
GObject
).
dx
and dy
.
MovieClip
object from the specified movie file.
MovieClip
object from the specified movie file.
MovieClip
object from the specified network URL.
boolean
value with the specified probability.
InputStream
.
InputStream
.
InputStream
.
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
.
OptionTable
from an existing map.
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
.
true
or false
, ignoring case.
trueLabel
and falseLabel
parameters.
true
or false
, ignoring case.
trueLabel
and falseLabel
parameters.
true
or false
, ignoring case.
trueLabel
and falseLabel
parameters.
true
or false
).
true
or false
).
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
.
double
between -1.0 and +1.0.
File
object.
sx
and sy
.
sf
, which applies
in both dimensions.
sx
and sy
.
sf
, which applies
in both dimensions.
sx
and sy
.
sf
, which applies
in both dimensions.
sx
and sy
.
sf
, which applies
in both dimensions.
sx
and sy
.
sf
, which applies
in both dimensions.
sx
and sy
.
sx
and sy
.
sf
, which applies
in both dimensions.
sx
and sy
.
sf
, which applies
in both dimensions.
sx
and sy
.
sf
, which applies
in both dimensions.
flag
parameter.
GRectangle
.
Rectangle
.
GRectangle
.
GRectangle
from the specified values.
GRectangle
from the specified location and size.
GRectangle
equal to that of another.
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.
x
, y
).
x
, y
) without drawing a line.
GPoint
to the specified x
and y
values.
GPoint
to that of an existing one.
GRectangle
to the specified x
and y
values.
GRectangle
to the specified point.
x
, y
) without drawing a line.
GArc
and GOval
should use
Java arcs.
GDimension
object equal to that of another.
GRectangle
to the specified values.
GRectangle
to the specified dimension.
GDimension
object.
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.
TableConstraints
object whose components
are initialized according from the specified string.
LayoutManager
that arranges
components into a two-dimensional grid.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.
r1
and r2
.
TablePanel
with a single column.VPanel
.
VPanel
with the specified hgap
and vgap
parameters, which specify the padding between
elements.
|
||||||||
PREV NEXT | FRAMES NO FRAMES |