Examples of stopPropagation()


Examples of com.google.gwt.dom.client.NativeEvent.stopPropagation()

                    targetElement = Util.getElementFromPoint(x, y);
                    if (targetElement == null) {
                        // ApplicationConnection.getConsole().log(
                        // "Event on dragImage, ignored");
                        event.cancel();
                        nativeEvent.stopPropagation();
                        return;

                    } else {
                        // ApplicationConnection.getConsole().log(
                        // "Event on dragImage, target changed");
View Full Code Here

Examples of com.google.gwt.dom.client.NativeEvent.stopPropagation()

         switch (nativeEvent.getKeyCode())
         {
            case KeyCodes.KEY_ENTER:
              
               nativeEvent.preventDefault();
               nativeEvent.stopPropagation();
               reloadApplication();   
               break;
         }
      }
   }
View Full Code Here

Examples of com.google.gwt.dom.client.NativeEvent.stopPropagation()

         NativeEvent nativeEvent = event.getNativeEvent();
         switch (nativeEvent.getKeyCode())
         {
            case KeyCodes.KEY_ESCAPE:
               nativeEvent.preventDefault();
               nativeEvent.stopPropagation();
               event.cancel();
               hideMiniDialog();
               break;
         }
      }
View Full Code Here

Examples of com.google.gwt.dom.client.NativeEvent.stopPropagation()

                    targetElement = Util.getElementFromPoint(x, y);
                    if (targetElement == null) {
                        // ApplicationConnection.getConsole().log(
                        // "Event on dragImage, ignored");
                        event.cancel();
                        nativeEvent.stopPropagation();
                        return;

                    } else {
                        // ApplicationConnection.getConsole().log(
                        // "Event on dragImage, target changed");
View Full Code Here

Examples of com.google.gwt.dom.client.NativeEvent.stopPropagation()

        if (pe.getTypeInt() == KeyNav.getKeyEvent() && expanded) {
          if (e.getKeyCode() == KeyCodes.KEY_ENTER) {
            if (pagingToolBar != null && pagingToolBar.getElement().isOrHasChild(target)) {
              return true;
            }
            e.stopPropagation();
            e.preventDefault();

            if (GXT.isIE()) {
              ignoreNextEnter = true;
            }
View Full Code Here

Examples of com.google.gwt.dom.client.NativeEvent.stopPropagation()

        if (pe.getTypeInt() == KeyNav.getKeyEvent() && expanded) {
          if (e.getKeyCode() == KeyCodes.KEY_ENTER) {
            if (pagingToolBar != null && pagingToolBar.getElement().isOrHasChild(target)) {
              return true;
            }
            e.stopPropagation();
            e.preventDefault();

            if (GXT.isIE()) {
              ignoreNextEnter = true;
            }
View Full Code Here

Examples of com.google.gwt.dom.client.NativeEvent.stopPropagation()

                    targetElement = Util.getElementFromPoint(x, y);
                    if (targetElement == null) {
                        // ApplicationConnection.getConsole().log(
                        // "Event on dragImage, ignored");
                        event.cancel();
                        nativeEvent.stopPropagation();
                        return;

                    } else {
                        // ApplicationConnection.getConsole().log(
                        // "Event on dragImage, target changed");
View Full Code Here

Examples of com.google.gwt.dom.client.NativeEvent.stopPropagation()

                    targetElement = Util.getElementFromPoint(x, y);
                    if (targetElement == null) {
                        // ApplicationConnection.getConsole().log(
                        // "Event on dragImage, ignored");
                        event.cancel();
                        nativeEvent.stopPropagation();
                        return;

                    } else {
                        // ApplicationConnection.getConsole().log(
                        // "Event on dragImage, target changed");
View Full Code Here

Examples of com.google.gwt.dom.client.NativeEvent.stopPropagation()

               if ((mod == KeyboardShortcut.META ||
                   (mod == KeyboardShortcut.CTRL && !BrowseCap.hasMetaKey()))
                   && ne.getKeyCode() == 'R')
               {
                  ne.preventDefault();
                  ne.stopPropagation();
                  commands.refreshHtmlPreview().execute();
               }
            }
         }
      });
View Full Code Here

Examples of com.google.gwt.dom.client.NativeEvent.stopPropagation()

                                            ? okButton_
                                            : defaultOverrideButton_;
               if ((defaultButton != null) && defaultButton.isEnabled())
               {
                  nativeEvent.preventDefault();
                  nativeEvent.stopPropagation();
                  event.cancel();
                  defaultButton.click();
               }
               break;
            case KeyCodes.KEY_ESCAPE:
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.