ToolItem.setDisabledImage

Sets the receiver's disabled image to the argument, which may be null indicating that no disabled image should be displayed. <p> The disabled image is displayed when the receiver is disabled. </p>

@param image the disabled image to display on the receiver (may be null)

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the image has been disposed</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 ToolItem
void
setDisabledImage

Meta