Table.clear

Clears the items at the given zero-relative indices in the receiver. The text, icon and other attributes of the items are set to their default values. If the table was created with the <code>SWT.VIRTUAL</code> style, these attributes are requested again as needed.

@param indices the array of indices of the items

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the list minus 1 (inclusive)</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 SWT#VIRTUAL @see SWT#SetData

@since 3.0

  1. void clear(int index)
  2. void clear(int start, int end)
  3. void clear(int[] indices)
    class Table
    void
    clear
    (
    int[] indices
    )

Meta