set_extents


Description:

public abstract bool set_extents (int x, int y, int width, int height, CoordType coord_type)

Sets the extents of this.

Parameters:

this

an Component

x

x coordinate

y

y coordinate

width

width to set for this

height

height to set for this

coord_type

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

Returns:

true or false whether the extents were set or not