Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Compares the argument to the receiver, and returns true
if they represent the same object using a class
specific comparison.
|
Rectangle |
getBounds()
Returns a rectangle describing the receiver's size and location
relative to its device.
|
Rectangle |
getClientArea()
Returns a rectangle which describes the area of the
receiver which is capable of displaying data.
|
int |
hashCode()
Returns an integer hash code for the receiver.
|
public boolean equals(Object object)
equals
in class Object
object
- the object to compare with this objecttrue
if the object is the same as this object and false
otherwisehashCode()
public Rectangle getBounds()
public Rectangle getClientArea()
public int hashCode()
true
when passed to
equals
must return the same value for this
method.hashCode
in class Object
equals(Object)
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.