Пример #1
0
 @Override
 public void onTouchEnd(TouchEndEvent event) {
   if (event.getSource().equals(btnOperacion)) {
     if (modo.equalsIgnoreCase("ADD")) {
       addEquipos();
     } else if (modo.equalsIgnoreCase("REMOVE")) {
       removeEquipos();
     }
   }
 }
Пример #2
0
 public HandlerRegistration addTouchEndHandler(TouchEndHandler handler) {
   return addDomHandler(handler, TouchEndEvent.getType());
 }
Пример #3
0
 private void addDomHandlers(Widget w) {
   w.addDomHandler(this, MouseDownEvent.getType());
   w.addDomHandler(this, MouseUpEvent.getType());
   w.addDomHandler(this, TouchStartEvent.getType());
   w.addDomHandler(this, TouchEndEvent.getType());
 }