code: boolean onKeyDown(Event event) {
      if (listener != null) {
        listener.onKeyDown(event);
        return event.flags().getPreventDefault();
      }
      return false;
    }
docs: /*
  The methods below are called from the GL render thread