Package com.gwtmobile.ui.client.utils

Examples of com.gwtmobile.ui.client.utils.Point


        if (preventDefault) {
            e.preventDefault();   //prevent default action of selecting text           
            e.stopPropagation();
        }
        //FIXME: for multi-touch platforms.
    onStart(e, new Point(e.touches().get(0).getClientX(), e.touches().get(0).getClientY()));
  }
View Full Code Here


  public void onTouchMove(TouchEvent e) {
    e.preventDefault();
    e.stopPropagation();
        _touchMoving = true;
    onMove(e, new Point(e.touches().get(0).getClientX(), e.touches().get(0).getClientY()));
  }
View Full Code Here

        if (!_touchMoving) {           
            Utils.Console("fireclick ");
            fireClick(e);
        }
        _touchMoving = false;
    onEnd(e, new Point(e.changedTouches().get(0).getClientX(), e.changedTouches().get(0).getClientY()));
  }
View Full Code Here

            }
        }
        if (preventDefault) {
            e.preventDefault();   //prevent default action of selecting text           
            e.stopPropagation();
        onStart(e, new Point(e.getClientX(), e.getClientY()));
        }
  }
View Full Code Here

  }
 
    public void onMouseMove(Event e) {
    e.preventDefault();
    e.stopPropagation();
        onMove(e, new Point(e.getClientX(), e.getClientY()));
  }
View Full Code Here

  }
 
  public void onMouseUp(Event e) {
    e.preventDefault();
    e.stopPropagation();
        onEnd(e, new Point(e.getClientX(), e.getClientY()));
  }
View Full Code Here

        if (preventDefault && _stopPropagation) {
            e.preventDefault();   //prevent default action of selecting text           
            e.stopPropagation();
        }
        //FIXME: for multi-touch platforms.
    onStart(e, new Point(e.touches().get(0).getClientX(), e.touches().get(0).getClientY()));
  }
View Full Code Here

    if (_stopPropagation) {
      e.preventDefault();
      e.stopPropagation();
    }
        _touchMoving = true;
    onMove(e, new Point(e.touches().get(0).getClientX(), e.touches().get(0).getClientY()));
  }
View Full Code Here

            if (_touchTarget != null) {
              fireClick(_touchTarget);
            }
        }
        _touchMoving = false;
    onEnd(e, new Point(e.changedTouches().get(0).getClientX(), e.changedTouches().get(0).getClientY()));
  }
View Full Code Here

TOP

Related Classes of com.gwtmobile.ui.client.utils.Point

Copyright © 2018 www.massapicom. 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.