Java 类com.google.gwt.event.dom.client.TouchMoveHandler 实例源码

项目:geomajas-project-client-gwt2    文件:MapWidgetImpl.java   
@Override
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
    return addDomHandler(handler, TouchMoveEvent.getType());
}
项目:WebConsole    文件:BrowserUtils.java   
private static void initMobile() {
    // Prevent window scrolling
    RootPanel.get().addDomHandler(new TouchMoveHandler() {
        public void onTouchMove(TouchMoveEvent e) {
                e.preventDefault();
        }
    }, TouchMoveEvent.getType());

    Window.scrollTo(0, 1);
    new Timer() {
        public void run() {
            Window.scrollTo(0, 1);
        }
    }.schedule(1000);

    // Determine current window orientation
    if (getWindowHeight() < getWindowWidth()) {
        windowOrientation = "landscape";
    }

    // Create a native orientation change handler as resize handler isn't reliable on iOS 3.x
    addNativeOrientationHandler();

   // If Apple device then check if loaded from bookmark
    if (!isBookmarked()) {
        Window.alert("Please add this page to your Home Screen to view in fullscreen!");
    }
}
项目:appinventor-extensions    文件:HandlerPanel.java   
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
  return addDomHandler(handler, TouchMoveEvent.getType());
}
项目:putnami-web-toolkit    文件:AbstractInput.java   
@Override
public com.google.gwt.event.shared.HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
    return this.addDomHandler(handler, TouchMoveEvent.getType());
}
项目:putnami-web-toolkit    文件:ListItem.java   
@Override
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
    return this.addDomHandler(handler, TouchMoveEvent.getType());
}
项目:putnami-web-toolkit    文件:Anchor.java   
@Override
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
    return this.addDomHandler(handler, TouchMoveEvent.getType());
}
项目:rosa    文件:DisplayAreaView.java   
@Override
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
    return viewport.addTouchMoveHandler(handler);
}