/** * Returns the item at the given x-y coordinate in the receiver * or null if no such item exists. The x-y coordinate is in the * display relative coordinates. * * @param x the x coordinate used to locate the item * @param y the y coordinate used to locate the item * @return the item at the given x-y coordinate, or null if the coordinate is not in a selectable item */ public Widget getItem(int x, int y) { if (control instanceof Table) { return getItem((Table) control, x, y); } if (control instanceof Tree) { return getItem((Tree) control, x, y); } return null; }
/** * Returns the item at the given x-y coordinate in the receiver * or null if no such item exists. The x-y coordinate is in the * display relative coordinates. * * @param x the x coordinate used to locate the item * @param y the y coordinate used to locate the item * @return the item at the given x-y coordinate, or null if the coordinate is not in a selectable item */ public Widget getItem(int x, int y) { if (control instanceof Table) { return getItem((Table) control, x, y); } if (control instanceof Tree) { return getItem((Tree) control, x, y); } return null; }
/** * Returns the item at the given x-y coordinate in the receiver * or null if no such item exists. The x-y coordinate is in the * display relative coordinates. * * @param x the x coordinate used to locate the item * @param y the y coordinate used to locate the item * @return the item at the given x-y coordinate, or null if the coordinate is not in a selectable item */ public Widget getItem(int x, int y) { if (control instanceof Table) { return getItem((Table) control, x, y); } if (control instanceof Tree) { return getItem((Tree) control, x, y); } return null; }
/** * Returns the item at the given x-y coordinate in the receiver * or null if no such item exists. The x-y coordinate is in the * display relative coordinates. * * @param x the x coordinate used to locate the item * @param y the y coordinate used to locate the item * @return the item at the given x-y coordinate, or null if the coordinate is not in a selectable item */ public Widget getItem(int x, int y) { if (control instanceof Table) { return getItem((Table) control, x, y); } if (control instanceof Tree) { return getItem((Tree) control, x, y); } return null; }
/** * Returns the item at the given x-y coordinate in the receiver * or null if no such item exists. The x-y coordinate is in the * display relative coordinates. * * @param x the x coordinate used to locate the item * @param y the y coordinate used to locate the item * @return the item at the given x-y coordinate, or null if the coordinate is not in a selectable item */ public Widget getItem(int x, int y) { if (control instanceof Table) { return getItem((Table) control, x, y); } if (control instanceof Tree) { return getItem((Tree) control, x, y); } return null; }
/** * Returns the item at the given x-y coordinate in the receiver * or null if no such item exists. The x-y coordinate is in the * display relative coordinates. * * @param x the x coordinate used to locate the item * @param y the y coordinate used to locate the item * @return the item at the given x-y coordinate, or null if the coordinate is not in a selectable item */ public Widget getItem(int x, int y) { if (control instanceof Table) { return getItem((Table) control, x, y); } if (control instanceof Tree) { return getItem((Tree) control, x, y); } return null; }
event.detail = selectedOperation; if (dropEffect != null) { event.item = dropEffect.getItem(dragOverEvent.x, dragOverEvent.y);
event.detail = selectedOperation; if (dropEffect != null) { event.item = dropEffect.getItem(dragOverEvent.x, dragOverEvent.y);
event.detail = selectedOperation; if (dropEffect != null) { event.item = dropEffect.getItem(dragOverEvent.x, dragOverEvent.y);
event.detail = operation; if (dropEffect != null) { event.item = dropEffect.getItem(coordinates.x, coordinates.y);
event.detail = operation; if (dropEffect != null) { event.item = dropEffect.getItem(coordinates.x, coordinates.y);
event.detail = operation; if (dropEffect != null) { event.item = dropEffect.getItem(coordinates.x, coordinates.y);
event.detail = operation; if (dropEffect != null) { event.item = dropEffect.getItem(event.x, event.y);
event.dataType = dataTypes[0]; if (dropEffect != null) { event.item = dropEffect.getItem(pt_x, pt_y);
event.time = OS.GetMessageTime(); if (dropEffect != null) { event.item = dropEffect.getItem(pt_x, pt_y);
NSPoint mouseLocation = sender.draggingLocation(); NSPoint globalLoc = sender.draggingDestinationWindow().convertBaseToScreen(mouseLocation); event.item = dropEffect.getItem((int)globalLoc.x, (int)globalLoc.y);