- callAction() - Method in class acm.util.Animator
-
Triggers a "call"
action, as if the Call
button
is pushed.
- CALLING - Static variable in class acm.util.Animator
-
Constant indicating that the animator is running until the end of the current call.
- CancelledException - Exception in acm.util
-
This class allows a dialog to signal clients that it has been
cancelled.
- CancelledException() - Constructor for exception acm.util.CancelledException
-
Creates an CancelledException
.
- CENTER - Static variable in class acm.gui.TableLayout
-
Center table in the container
- CENTER - Static variable in class acm.gui.TablePanel
-
Center table in the container
- CENTER - Static variable in class acm.program.Program
-
Constant specifying the center of the container
- checkForTermination() - Method in class acm.util.Animator
-
Checks to see whether this Animator
has been asked
to terminate.
- clear() - Method in class acm.io.IOConsole
-
Clears the console display.
- clone() - Method in class acm.graphics.GPolygon
-
Overrides clone
in Object
to make sure
that the vertex list is copied rather than shared.
- compareVersion(String) - Static method in class acm.util.Platform
-
This method compares the Java version given in the system properties
with the specified version and returns -1, 0, or +1 depending on whether
the system version is earlier than, equal to, or later than the specified
one.
- compareVersion(String, String) - Static method in class acm.util.Platform
-
This method compares the version strings v1
and v2
and returns -1, 0, or +1 depending on whether v1
is earlier
than, equal to, or later than v2
.
- ConsoleProgram - Class in acm.program
-
This class is a standard subclass of
Program
that installs a console in the window.
- ConsoleProgram() - Constructor for class acm.program.ConsoleProgram
-
Creates a new console program.
- contains(double, double) - Method in class acm.graphics.GArc
-
Checks to see whether a point is inside the object.
- contains(double, double) - Method in class acm.graphics.GCompound
-
Checks to see whether a point is "inside" the compound, which means that it is
inside one of the components.
- contains(double, double) - Method in class acm.graphics.GLine
-
Checks to see whether a point is inside the object.
- contains(double, double) - Method in class acm.graphics.GObject
-
Checks to see whether a point is inside the object.
- contains(GPoint) - Method in class acm.graphics.GObject
-
Checks to see whether a point is inside the object.
- contains(double, double) - Method in class acm.graphics.GOval
-
Checks to see whether a point is inside the object.
- contains(double, double) - Method in class acm.graphics.GPen
-
Contains is defined to be false for the GPen
object to avoid having the
trace intercept mouse clicks.
- contains(double, double) - Method in class acm.graphics.GPolygon
-
Checks to see whether a point is inside the object.
- contains(double, double) - Method in class acm.graphics.GRectangle
-
Returns true
if the GRectangle
contains the specified point.
- contains(GPoint) - Method in class acm.graphics.GRectangle
-
Returns true
if the GRectangle
contains the specified point.
- contains(double, double) - Method in class acm.graphics.GTurtle
-
Contains is defined to be false for the GPen
object to avoid having the
trace intercept mouse clicks.
- copy() - Method in class acm.io.IOConsole
-
Implements the "Copy" menu operation.
- cosDegrees(double) - Static method in class acm.graphics.GMath
-
Returns the trigonometric sine of its argument where angle
is expressed in degrees.
- createAudioClip(InputStream) - Static method in class acm.util.MediaTools
-
Generates an audio clip from an input stream containing the data bytes for the
audio clip.
- createAudioClip(String[]) - Static method in class acm.util.MediaTools
-
Generates an audio clip from a string array that provides the pixel values.
- createEmptyContainer() - Static method in class acm.util.JTFTools
-
Returns an empty lightweight container.
- createImage(int[], int, int) - Static method in class acm.util.MediaTools
-
Generates an image from an array of pixel values.
- createImage(InputStream) - Static method in class acm.util.MediaTools
-
Generates an image from an input stream containing the data bytes for the
image formatted in image/gif format.
- createImage(String[]) - Static method in class acm.util.MediaTools
-
Generates an image from a string array that provides the pixel values.
- createOldStyleMenuBar() - Method in class acm.program.ProgramMenuBar
-
Creates a MenuBar
that has the same effect as the
specified JMenuBar
.
- createStandardMenuItem(String) - Method in class acm.program.ProgramMenuBar
-
Creates one of the standard menu items implemented by the ProgramMenuBar
.
- cut() - Method in class acm.io.IOConsole
-
Implements the "Cut" menu operation.