List of usage examples for com.vaadin.client WidgetUtil getElementFromPoint
public static native Element getElementFromPoint(int clientX, int clientY) ;
From source file:com.haulmont.cuba.web.widgets.client.addons.dragdroplayouts.ui.VDDAbstractOrderedLayoutDropHandler.java
License:Apache License
protected Slot findSlotAtPosition(int clientX, int clientY, NativeEvent event) { com.google.gwt.dom.client.Element elementUnderMouse = WidgetUtil.getElementFromPoint(clientX, clientY); if (getLayout().getElement() != elementUnderMouse) { return getSlot(DOM.asOld(elementUnderMouse), event); }//from www . ja v a 2s. co m return null; }