contains


Description:

public abstract bool contains (int x, int y, CoordType coord_type)

Checks whether the specified point is within the extent of the this.

Toolkit implementor note: ATK provides a default implementation for this virtual method. In general there are little reason to re-implement it.

Parameters:

this

the Component

x

x coordinate

y

y coordinate

coord_type

specifies whether the coordinates are relative to the screen or to the components top level window

Returns:

true or false indicating whether the specified point is within the extent of the this or not