Sets the maximum number of characters that the receiver's
text field is capable of holding to be the argument.
<p>
To reset this value to the default, use <code>setTextLimit(Spinner.LIMIT)</code>.
Specifying a limit value larger than <code>Spinner.LIMIT</code> sets the
receiver's limit to <code>Spinner.LIMIT</code>.
</p>
@param limit new text limit
@exception IllegalArgumentException <ul>
<li>ERROR_CANNOT_BE_ZERO - if the limit is zero</li>
</ul>
@exception SWTException <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
</ul>
Sets the maximum number of characters that the receiver's text field is capable of holding to be the argument. <p> To reset this value to the default, use <code>setTextLimit(Spinner.LIMIT)</code>. Specifying a limit value larger than <code>Spinner.LIMIT</code> sets the receiver's limit to <code>Spinner.LIMIT</code>. </p> @param limit new text limit
@exception IllegalArgumentException <ul> <li>ERROR_CANNOT_BE_ZERO - if the limit is zero</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>
@see #LIMIT
@since 3.4