|
||||||||
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.
Edit
menu.
Edit
items to the specified menu.
exit
method in the
specified object before exiting.
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.
Animator
object and assigns it to the
specified thread group.
Animator
object with the specified runnable object.
Animator
object with the specified runnable object
and assigns it to the specified thread group.
true
if mouse listeners have ever been assigned to
this object or to any of the contained objects.
true
if mouse listeners have ever been assigned to
this object.
Serif
,
SansSerif
, and Monospaced
) are available.
"call"
action, as if the Call
button
is pushed.
CancelledException
.
Animator
has been asked
to terminate.
clone
in Object
to make sure
that the vertex list is copied rather than shared.
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.GPen
object to avoid having the
trace intercept mouse clicks.
true
if the GRectangle
contains the specified point.
true
if the GRectangle
contains the specified point.
GTurtle
object to avoid having the
trace intercept mouse clicks.
oldFile
to newFile
.
angle
is expressed in degrees.
BufferedImage
from the specified image.
ConsoleProgram
.
ConsoleProgram
.
ConsoleProgram
.
DialogProgram
class).
DialogProgram
class).
GCanvas
used by the GraphicsProgram
.
red
, green
, and blue
.
red
, green
, and blue
and the transparency value alpha
.
ProgramMenuBar
class.
Font.decode
.
Font.decode
.
IOConsole
.
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
.
GDimension
objects are equal.
GPoint
objects are equal.
GRectangle
objects are equal.
ErrorException
with the specified message.
ErrorException
using an existing exception.
.class files
in the directory, including those embedded inside jar files.
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.
e
.
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.
null
if no arguments are available.
null
if no arguments are available.
AudioInputStream
for the sound.
setAutoRepaintFlag
.
Rectangle
that specifies the bounds of this object.
Rectangle
that specifies the bounds of this object.
Rectangle
that specifies the bounds of this object.
Rectangle
that specifies the bounds of this object.
BorderLayout
(NORTH
,
SOUTH
, EAST
, WEST
).
BorderLayout
(NORTH
,
SOUTH
, EAST
, WEST
).
GRectangle
that specifies the bounding box for the string.
GRectangle
whose bounds are the same as this one.
null
if no command line is available.
null
if none exists.
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.
FontMetrics
object describing the dimensions of this string.
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.
LayoutManager2
interface.
LayoutManager2
interface.
GPoint
.
GPoint
whose coordinates are the same as this one.
GPoint
with the location of the rectangle.
HashMap
used to associate keys and options.
getMinimumSize
method to ensure that an
IOConsole
is not too large.
setNativeArcFlag
.
null
.
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.
Polygon
whose points are as close as possible
to the ones in this GPolygon
.
getPreferredSize
method to ensure that an
IOConsole
is not too large.
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.
JPanel
for the specified region.
JPanel
for the specified region.
LEFT
or RIGHT
.
GDimension
object equal to this one.
GDimension
.
GDimension
.
GDimension
.
GDimension
object with the size of the GRectangle
.
GArc
object.
Program
.
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
.GObject
and initializes its state.
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.true
if the supplied thread is an anonymous
one created automatically by the system.
true
if this program is running as an applet in a browser.
true
if this program is running as an applet in a browser.
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.
true
if this layout manager is treating multirow
cells exactly as GridBagLayout
does.
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
.
AudioClip
.
Image
.
Image
.
TableConstraints
object actually applied to the specified
component when it is laid out in the target container.
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:
FrameLayout
component
when laid out in the target
container.
FrameLayout
component
when laid out in the target
container.
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 that is true
or
false
with equal probability.
boolean
value with the specified probability.
n
-1, inclusive.
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.
paint
operation for this graphical object.
paint
operation for this graphical object.
paint
operation for this graphical object.
paint
operation for this graphical object.
paint
operation for this graphical object.
paint
operation for this graphical object.
GObject
must define a paint
method which allows the object to draw itself on the Graphics
context passed in as the parameter g
.
paint
operation for this graphical object.
paint
operation for this graphical object.
paint
operation for this graphical object.
paint
operation for this graphical object.
paint
operation for this graphical object.
paint
operation for this graphical object.
paint
procedure for this object.
FrameLayout
component
when laid out in the target
container.
print
can display a boolean
.
print
can display a char
.
print
can display a double
.
print
can display a float
.
print
can display an int
.
print
can display a long
.
print
can display an Object
.
print
can display a boolean
.
print
can display a char
.
print
can display a double
.
print
can display a float
.
print
can display an int
.
print
can display a long
.
print
can display an Object
.
print
can display a boolean
.
print
can display a char
.
print
can display a double
.
print
can display a float
.
print
can display an int
.
print
can display a long
.
print
can display an Object
.
print
can display a boolean
.
print
can display a char
.
print
can display a double
.
print
can display a float
.
print
can display an int
.
print
can display a long
.
print
can display an Object
.
print
can display a boolean
.
print
can display a char
.
print
can display a double
.
print
can display a float
.
print
can display an int
.
print
can display a long
.
print
can display an Object
.
PrintJob
object.
println
can display a boolean
.
println
can display a char
.
println
can display a double
.
println
can display a float
.
println
can display an int
.
println
can display a long
.
println
can display an Object
.
println
can display a boolean
.
println
can display a char
.
println
can display a double
.
println
can display a float
.
println
can display an int
.
println
can display a long
.
println
can display an Object
.
println
can display a boolean
.
println
can display a char
.
println
can display a double
.
println
can display a float
.
println
can display an int
.
println
can display a long
.
println
can display an Object
.
println
can display a boolean
.
println
can display a char
.
println
can display a double
.
println
can display a float
.
println
can display an int
.
println
can display a long
.
println
can display an Object
.
println
can display a boolean
.
println
can display a char
.
println
can display a double
.
println
can display a float
.
println
can display an int
.
println
can display a long
.
println
can display an Object
.
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
.
repaint
in GObject
to invalidate the
cached polygon.
requestFocus
method so that it forwards to the
console model.
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.
sendBackward
function from the GContainer
interface.
sendBackward
function from the GContainer
interface.
sendForward
function from the GContainer
interface.
sendForward
function from the GContainer
interface.
sendToBack
function from the GContainer
interface.
sendToBack
function from the GContainer
interface.
sendToFront
function from the GContainer
interface.
sendToFront
function from the GContainer
interface.
flag
parameter.
GCanvas
.
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.
GContainer
in which this is installed.
GDimension
object equal to that of another.
GDimension
.
GDimension
.
GDimension
.
GRectangle
to the specified values.
GRectangle
to the specified dimension.
GDimension
object.
GArc
object.
x
, y
),
leaving the end point unchanged.
getStartupObject
.
GridBagLayout
even when that interpretation
seems wrong.
GArc
object.
angle
is expressed in degrees.
GraphicsProgram
containing this object.
GraphicsProgram
containing this object, passing
it the specified arguments.
GraphicsProgram
containing this object.
GraphicsProgram
containing this object, passing
it the specified arguments.
"start"
action, as if the Start
button
is pushed.
GraphicsProgram
containing the specified GObject
and then starts it.
"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.
TableConstraints
object whose components
are the key/value pairs in the map.
TableConstraints
object whose fields match those
of the specified GridBagConstraints
object.
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.
debug
parameter that contains the specified string as a lexical unit in a string
delimited by +
signs.
GDimension
to the nearest integer-based
Dimension
.
GPoint
to the nearest integer-based Point
.
GRectangle
to the nearest integer-based Rectangle
.
GDimension
to its string representation.
toString
method in Object
to produce
more readable output.
GPoint
to its string representation.
GRectangle
to its string representation.
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 |