CoolItem.setControl

Sets the control that is associated with the receiver to the argument.

@param control the new control that will be contained by the receiver

@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 CoolItem
void
setControl

Meta