TreeItem.setImage

Sets the receiver's image at a column.

@param index the column index @param image the new image

@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>

@since 3.1

  1. void setImage(int index, Image image)
    class TreeItem
    void
    setImage
  2. void setImage(Image[] images)

Meta