ExpandItem.setControl

Sets the control that is shown when the item is expanded.

@param control the new control (or null)

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the control has been disposed</li> <li>ERROR_INVALID_PARENT - if the control is not in the same widget tree</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>

class ExpandItem
void
setControl

Meta