DhStyleBase.setBounds

Overview | Methods | Fields | This Package | All Packages

DhStyleBase.setBounds

Sets the position and size of the element.

Syntax

final public void setBounds( int x, int y, int width, int height )

final public void setBounds( Rectangle rect )

Parameters

x

The left coordinate of the position.

y

The top coordinate of the position.

width

The new width of the element.

height

The new height of the element.

rect

The position and dimensions of the element.

See Also   setWidthUnit, setHeightUnit, setTopUnit, setLeftUnit, setSize, setLocation, getBounds