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

MapWidgetImpl.java 文件源码 项目:geomajas-project-client-gwt2 阅读 26 收藏 0 点赞 0 评论 0
@Override
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
    return addDomHandler(handler, TouchMoveEvent.getType());
}
BrowserUtils.java 文件源码 项目:WebConsole 阅读 27 收藏 0 点赞 0 评论 0
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!");
    }
}
HandlerPanel.java 文件源码 项目:appinventor-extensions 阅读 22 收藏 0 点赞 0 评论 0
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
  return addDomHandler(handler, TouchMoveEvent.getType());
}
AbstractInput.java 文件源码 项目:putnami-web-toolkit 阅读 22 收藏 0 点赞 0 评论 0
@Override
public com.google.gwt.event.shared.HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
    return this.addDomHandler(handler, TouchMoveEvent.getType());
}
ListItem.java 文件源码 项目:putnami-web-toolkit 阅读 19 收藏 0 点赞 0 评论 0
@Override
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
    return this.addDomHandler(handler, TouchMoveEvent.getType());
}
Anchor.java 文件源码 项目:putnami-web-toolkit 阅读 27 收藏 0 点赞 0 评论 0
@Override
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
    return this.addDomHandler(handler, TouchMoveEvent.getType());
}
DisplayAreaView.java 文件源码 项目:rosa 阅读 25 收藏 0 点赞 0 评论 0
@Override
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) {
    return viewport.addTouchMoveHandler(handler);
}


问题


面经


文章

微信
公众号

扫码关注公众号