Package | Description |
---|---|
acm.graphics |
This package provides a set of classes that support the creation of simple,
object-oriented graphical displays.
|
Modifier and Type | Class and Description |
---|---|
class |
GCanvas
The
GCanvas class is a lightweight component that also
serves as a container for graphical objects. |
class |
GCompound
This class defines a graphical object that consists of a collection
of other graphical objects.
|
Modifier and Type | Method and Description |
---|---|
GContainer |
GObject.getParent()
Returns the parent of this object, which is the canvas or compound object in
which it is enclosed.
|
Modifier and Type | Method and Description |
---|---|
void |
GObject.setParent(GContainer parent)
Sets the parent of this object, which should be called only by the
GContainer in which this is installed. |