Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.updateBounds

Updates the bounding rectangle of the control based on the handle the control is bound to.

Syntax

protected final void updateBounds()

protected final void updateBounds( int x**, int** y**, int** width**, int** height )

protected final void updateBounds( int x**, int** y**, int** width**, int** height**, int** clientWidth**, int** clientHeight )

Parameters

x

An integer that represents the distance, in pixels, between the left edge of the control and the left edge of its container's client area.

y

An integer that represents the distance, in pixels, between the right edge of the control and the left edge of its container's client area.

width

An integer that represents the width, in pixels, of this control.

height

An integer that represents the height, in pixels, of this control.

clientWidth

An integer that represents the width, in pixels, of the client area of this control.

clientHeight

An integer that represents the height, in pixels, of the client area of this control.