Returns the number of rows in the receiver. When
the receiver has the <code>WRAP</code> style, the
number of rows can be greater than one. Otherwise,
the number of rows is always one.
@return the number of items
@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>
Returns the number of rows in the receiver. When the receiver has the <code>WRAP</code> style, the number of rows can be greater than one. Otherwise, the number of rows is always one.
@return the number of items
@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>