/** * This method return the widget associated to the dragged DOM element if it exist. It returns * null otherwise. */ public DraggableWidget<?> getDraggableWidget() { assert dragAndDropContext != null : "DragAndDropContext cannot be null"; return dragAndDropContext.getDraggableWidget(); }
/** @return the droppable DOM element */ public Element getDroppable() { assert dragAndDropContext != null : "DragAndDropContext cannot be null"; return dragAndDropContext.getDroppable(); }
/** @return the list of selected draggables. */ public List<Element> getSelectedDraggables() { assert dragAndDropContext != null : "DragAndDropContext cannot be null"; return dragAndDropContext.getSelectedDraggables(); }