TabFolder.setSelection

Sets the receiver's selection to the given item. The current selected is first cleared, then the new item is selected.

@param item the item to select

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the item is null</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>

@since 3.2

  1. void setSelection(int index)
  2. void setSelection(TabItem item)
    class TabFolder
    void
    setSelection
  3. void setSelection(TabItem[] items)

Meta