public HandlerRegistration addMouseMoveHandler(MouseMoveHandler handler) {
return addDomHandler(handler, MouseMoveEvent.getType());
}
public HandlerRegistration addCommonMouseHandler(CommonMouseHandler handler) {
CompoundHandlerRegistration registration = new CompoundHandlerRegistration();
registration.addRegistration(addMouseDownHandler(handler));
registration.addRegistration(addMouseUpHandler(handler));
registration.addRegistration(addMouseOverHandler(handler));
registration.addRegistration(addMouseOutHandler(handler));
registration.addRegistration(addMouseMoveHandler(handler));
return registration;
}