This member of Class WaveLinkWidget is supported on: Palm, CE
The SetCoordinates Method sets the type of positioning, the top-left corner, the width, and the height of the widget.
Syntax
public void SetCoordinates(int coordType, Point newPosition, Dimension newDimension)
throws IllegalArgumentException
Parameters
coordType |
The classification of the values placed in NewPoint and NewDimension. The possible coordinate types are: BYCELL - Position the widget using cell coordinates (rows and columns) BYPIXEL - Position the widget using pixel coordinates BYPERCENTAGE - Position the widget using percentage coordinates |
newPosition |
The x and y-coordinates of the widget |
newDimension |
The height and width of the widget |
Throws
IllegalArgumentException
Remarks
To assign AUTOSIZE to the widget, pass a dimension that contains a value of 0 or AUTOSIZE.
AUTOSIZE sizes a button or selector trigger widget according to the size of the text that it contains. We recommended that you use the AUTOSIZE setting for the height and width of all widget types except hotspots.
To give a hotspot widget functionality you must set its width and height to something other than AUTOSIZE.
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other