public void cancelKey() {
        if (currentEvent != null) {
            currentEvent.preventDefault();
        }
    }
If a keyboard event is currently being handled on this text box, calling
this method will suppress it. This allows listeners to easily filter
keyboard input.
stroom-core-client-widget/src/main/java/com/google/gwt/user/client/ui/ValueBoxBase.java