@UiHandler("btnClearRange")
 void onClearRange(ClickEvent e) {
   range.clearErrorOrSuccess();
 }
 @UiHandler("btnErrorRange")
 void onErrorRange(ClickEvent e) {
   range.setError("This is an error message for range.");
 }
 @UiHandler("btnSuccessRange")
 void onSuccessRange(ClickEvent e) {
   range.setSuccess("This is a success message for range.");
 }