Inherited Method Summary |
contains(x, y)
Checks to see whether a point is inside the object.
|
getBounds()
Returns the bounding box for this object.
|
getColor()
Returns the color used to display the text of the GLabel .
|
getHeight()
Returns the height of this object, which
is defined to be the height of the bounding box.
|
getLocation()
Returns the location of the GLabel as a GPoint
object.
|
getSize()
Returns the size of the bounding box for this object.
|
getWidth()
Returns the width of this object, which
is defined to be the width of the bounding box.
|
getX()
Returns the x-coordinate of the object.
|
getY()
Returns the y-coordinate of the object.
|
isVisible()
Checks to see whether the GLabel is visible.
|
move(dx, dy)
Moves the object on the screen using the displacements
dx and dy .
|
movePolar(r, theta)
Moves the object using displacements given in polar coordinates.
|
sendBackward()
Moves this object one step toward the back in the z dimension.
|
sendForward()
Moves this object one step toward the front in the z dimension.
|
sendToBack()
Moves this object to the back of the display in the z dimension.
|
sendToFront()
Moves this object to the front of the display in the z dimension.
|
setColor(color)
Sets the color used to display this object.
|
setLocation(x, y)
Sets the location of the GLabel to the point
(x , y ). For a GLabel , the location is the point on the text baseline at which the text starts.
|
setVisible(flag)
Sets the visibility status of the GLabel .
|