Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

DhStyleBase.setSize

Sets the size of the element.

Syntax

public void setSize( int w**, int** h )

public void setSize( Point pt )

Parameters

width

The new width of the element.

height

The new height of the element.

pt

The new width and height of the element.

Exceptions

WFCInvalidArgumentException thrown if either width or height is less than 0.

See Also   setWidthUnit, setHeightUnit, getSize