onKeyEvent method

void onKeyEvent(
  1. KeyEvent event
)

called from the KeyBoard listener to indicate a key was pressed during the drag drop operation

Implementation

void onKeyEvent(KeyEvent event) {
  setDragMode();
  notifyListeners();
}