ToolBar.getItem

Returns the item at the given point in the receiver or null if no such item exists. The point is in the coordinate system of the receiver.

@param point the point used to locate the item @return the item at the given point

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the point 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>

  1. ToolItem getItem(int index)
  2. ToolItem getItem(Point point)
    class ToolBar

Meta