code: @Override
      public void handle(final DragEvent dragEvent) {
  
          final EventType<?> type = dragEvent.getEventType();
  
          if (DragEvent.DRAG_DONE == type) {
              adapter().dragDone(dragEvent);
          } else if (DragEvent.DRAG_DROPPED == type) {
              adapter().dragDropped(dragEvent);
          } else if (DragEvent.DRAG_ENTERED == type) {
              adapter().dragEntered(dragEvent);
          } else if (DragEvent.DRAG_ENTERED_TARGET == type) {
              adapter().dragEnteredTarget(dragEvent);
          } else if (DragEvent.DRAG_EXITED == type) {
              adapter().dragExited(dragEvent);
          } else if (DragEvent.DRAG_EXITED_TARGET == type) {
              adapter().dragExitedTarget(dragEvent);
          } else if (DragEvent.DRAG_OVER == type) {
              adapter().dragOver(dragEvent);
          } else {
              adapter().drag(dragEvent);
          }
  
      }
docs: {@inheritDoc}