Table.clear

Removes the items from the receiver which are between the given zero-relative start and end indices (inclusive). 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 start the start index of the item to clear @param end the end index of the item to clear

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_RANGE - if either the start or end are 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)
    class Table
    void
    clear
    (
    int start
    ,
    int end
    )
  3. void clear(int[] indices)

Meta