code: @Override
      public void handle(final MouseEvent mouseEvent) {
  
          final EventType<?> type = mouseEvent.getEventType();
  
          if (MouseEvent.DRAG_DETECTED == type) {
              adapter().mouseDragDetected(mouseEvent);
          } else if (MouseEvent.MOUSE_CLICKED == type) {
              adapter().mouseClicked(mouseEvent);
          } else if (MouseEvent.MOUSE_DRAGGED == type) {
              adapter().mouseDragged(mouseEvent);
          } else if (MouseEvent.MOUSE_ENTERED == type) {
              adapter().mouseEntered(mouseEvent);
          } else if (MouseEvent.MOUSE_ENTERED_TARGET == type) {
              adapter().mouseEnteredTarget(mouseEvent);
          } else if (MouseEvent.MOUSE_EXITED == type) {
              adapter().mouseExited(mouseEvent);
          } else if (MouseEvent.MOUSE_EXITED_TARGET == type) {
              adapter().mouseExitedTarget(mouseEvent);
          } else if (MouseEvent.MOUSE_MOVED == type) {
              adapter().mouseMoved(mouseEvent);
          } else if (MouseEvent.MOUSE_PRESSED == type) {
              adapter().mousePressed(mouseEvent);
          } else if (MouseEvent.MOUSE_RELEASED == type) {
              adapter().mouseReleased(mouseEvent);
          } else {
              adapter().mouse(mouseEvent);
          }
  
      }
docs: {@inheritDoc}