Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.setBoundsCore

Performs the work of setting the bounds of this control.

Syntax

protected void setBoundsCore( int x**, int** y**, int** width**, int** height )

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.

Remarks

Derived classes can override this function to add size restrictions. Derived classes must call super.setBoundsCore to actually cause the bounds of the control to change.