the extent of the component or not
Component.contains
bool contains(int x, int y, atk.types.CoordType coordType)Checks whether the specified point is within the extent of the component.
Toolkit implementor note: ATK provides a default implementation for this virtual method. In general there are little reason to re-implement it.
Parameters
x | x coordinate |
y | y coordinate |
coordType | 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