- init() - Method in class acm.program.GraphicsProgram
-
The init method is called at startup time before the run method is
called.
- init() - Method in class acm.program.Program
-
The init method is called at startup time before the run method is
called.
- init() - Method in class acm.program.ProgramMenuBar
-
Initializes the menu bar.
- INITIAL - Static variable in class acm.util.Animator
-
Constant indicating that the animator has not yet started.
- intersection(GRectangle) - Method in class acm.graphics.GRectangle
-
Returns the largest rectangle that is contained in both
r1
and r2
.
- intersects(GRectangle) - Method in class acm.graphics.GRectangle
-
Returns true
if r1
and r2
have a nonempty
intersection.
- IntField - Class in acm.gui
-
- IntField() - Constructor for class acm.gui.IntField
-
Creates a new field object for entering a int
value.
- IntField(int) - Constructor for class acm.gui.IntField
-
Creates a new field object for entering a int
value.
- IntField(int, int) - Constructor for class acm.gui.IntField
-
Creates a new field object for entering a int
value,
which is constrained to be within the specified range.
- IntField(int, int, int) - Constructor for class acm.gui.IntField
-
Creates a new field object for entering a int
value,
which is constrained to be within the specified range.
- invalidateLayout(Container) - Method in class acm.gui.TableLayout
-
Indicates that the layout is no longer valid.
- IOConsole - Class in acm.io
-
The IOConsole
class makes it easier to interact with
the user using text-based input and output in the style of a
traditional console.
- IOConsole() - Constructor for class acm.io.IOConsole
-
Creates a new IOConsole
object.
- IODialog - Class in acm.io
-
The IODialog
class provides a simple, dialog-based mechanism
for interacting with the user.
- IODialog() - Constructor for class acm.io.IODialog
-
Instantiates a new IODialog object that can then be used for dialog-based
input and output.
- IODialog(Component) - Constructor for class acm.io.IODialog
-
Instantiates a new IODialog object that can then be used for dialog-based
input and output.
- IOModel - Interface in acm.io
-
- isAnonymous(Thread) - Static method in class acm.util.JTFTools
-
Returns true
if the supplied thread is an anonymous
one created automatically by the system.
- isAppletMode() - Method in class acm.program.Program
-
Returns true
if this program is running as an applet in a browser.
- isCachingEnabled() - Static method in class acm.util.MediaTools
-
This method returns the status of the flag that determins whether images and audio
clips are cached internally by name, as described in
setCachingEnabled
.
- isEmpty() - Method in class acm.graphics.GRectangle
-
Returns true
if the rectangle is empty.
- isFilled() - Method in class acm.graphics.GArc
-
Returns whether this object is filled.
- isFilled() - Method in interface acm.graphics.GFillable
-
Returns whether this object is filled.
- isFilled() - Method in class acm.graphics.GOval
-
Returns whether this object is filled.
- isFilled() - Method in class acm.graphics.GPolygon
-
Returns whether this object is filled.
- isFilled() - Method in class acm.graphics.GRect
-
Returns whether this object is filled.
- isJMFAvailable() - Static method in class acm.util.Platform
-
Checks whether the Java Media Framework is available.
- isMac() - Static method in class acm.util.Platform
-
Checks whether the platform is a Macintosh.
- isOpaque() - Method in class acm.graphics.GCanvas
-
Returns a boolean value indicating whether this canvas is opaque.
- isPenDown() - Method in class acm.graphics.GTurtle
-
Returns whether the pen is down, as described in
setPenDown
.
- isPenVisible() - Method in class acm.graphics.GPen
-
Returns whether the pen is visible.
- isRaised() - Method in class acm.graphics.G3DRect
-
Tests whether this object appears raised.
- isSpecified(String) - Method in class acm.util.OptionTable
-
Returns true if the key has been specified in the option table.
- isStrictGridBagModel() - Method in class acm.gui.TableLayout
-
Returns true
if this layout manager is treating multirow
cells exactly as GridBagLayout
does.
- isSunAudioAvailable() - Static method in class acm.util.Platform
-
Checks whether the sun.audio
package is available.
- isSwingAvailable() - Static method in class acm.util.Platform
-
Checks whether Swing is available.
- isTurtleVisible() - Method in class acm.graphics.GTurtle
-
Returns whether the turtle is visible.
- isUnix() - Static method in class acm.util.Platform
-
Checks whether the platform is Unix.
- isVisible() - Method in class acm.graphics.GObject
-
Checks to see whether this object is visible.
- isWindows() - Static method in class acm.util.Platform
-
Checks whether the platform is a Windows machine.
- iterator() - Method in class acm.graphics.GCanvas
-
Returns an Iterator
that cycles through the elements within
this container in the default direction, which is from back to front.
- iterator(int) - Method in class acm.graphics.GCanvas
-
- iterator() - Method in class acm.graphics.GCompound
-
Returns an Iterator
that cycles through the elements within
this container in the default direction, which is from back to front.
- iterator(int) - Method in class acm.graphics.GCompound
-
- iterator() - Method in class acm.program.GraphicsProgram
-
Returns an Iterator
that cycles through the elements within
this container in the default direction, which is from back to front.
- iterator(int) - Method in class acm.program.GraphicsProgram
-
Returns an
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.