- decodeColor(String) - Static method in class acm.util.JTFTools
-
Decodes a color name.
- decodeFont(String) - Static method in class acm.util.JTFTools
-
Decodes a font in the style of Font.decode
.
- decodeFont(String, Font) - Static method in class acm.util.JTFTools
-
Decodes a font in the style of Font.decode
.
- DEFAULT_ARC - Static variable in class acm.graphics.GRoundRect
-
The default arc diameter used for the corners of a rounded rectangle.
- DEFAULT_AUDIO_PATH - Static variable in class acm.util.MediaTools
-
The list of directories scanned for audio clips, separated by colons.
- DEFAULT_FONT - Static variable in class acm.graphics.GLabel
-
The default font used to display strings.
- DEFAULT_IMAGE_PATH - Static variable in class acm.util.MediaTools
-
The list of directories scanned for images, separated by colons.
- defineAudioClip(String, AudioClip) - Static method in class acm.util.MediaTools
-
Inserts the given clip into the audio clip table under the specified name.
- defineImage(String, Image) - Static method in class acm.util.MediaTools
-
Inserts the given image into the image table under the specified name.
- delay() - Method in class acm.util.Animator
-
Delays the calling thread according to the speed.
- destroy() - Method in class acm.program.Program
-
Called when the program has been told to destroy itself.
- DialogProgram - Class in acm.program
-
This class is a standard subclass of
Program
that takes its input from a
IODialog
object.
- DialogProgram() - Constructor for class acm.program.DialogProgram
-
Creates a new dialog program.
- distance(double, double) - Static method in class acm.graphics.GMath
-
Computes the distance between the origin and the point
(x
, y
).
- distance(double, double, double, double) - Static method in class acm.graphics.GMath
-
Computes the distance between the points (x0
, y0
)
and (x1
, y1
).
- DoubleField - Class in acm.gui
-
- DoubleField() - Constructor for class acm.gui.DoubleField
-
Creates a new field object for entering a double
value.
- DoubleField(double) - Constructor for class acm.gui.DoubleField
-
Creates a new field object for entering a double
value.
- DoubleField(double, double) - Constructor for class acm.gui.DoubleField
-
Creates a new field object for entering a double
value,
which is constrained to be within the specified range.
- DoubleField(double, double, double) - Constructor for class acm.gui.DoubleField
-
Creates a new field object for entering a double
value,
which is constrained to be within the specified range.
- drawLine(double, double) - Method in class acm.graphics.GPen
-
Draws a line segment with displacements dx
and dy
.
- drawPolarLine(double, double) - Method in class acm.graphics.GPen
-
Draws a line segment using displacements given in polar coordinates.