Uses of Class
com.google.gwt.touch.client.Point
-
Packages that use Point Package Description com.google.gwt.touch.client -
-
Uses of Point in com.google.gwt.touch.client
Methods in com.google.gwt.touch.client that return Point Modifier and Type Method Description (package private) PointTouchScroller. calculateEndVelocity(TouchScroller.TemporalPoint from, TouchScroller.TemporalPoint to)Calculate the end velocity.PointPoint. div(Point c)Divide this pointPointby specified point and return the result.PointMomentum.State. getInitialPosition()Get the initial position when the momentum took over.PointMomentum.State. getInitialVelocity()Get the initial velocity in pixels per millisecond when the momentum took over.PointTouchScroller.TemporalPoint. getPoint()PointMomentum.State. getPosition()Get the current position.PointMomentum.State. getVelocity()Get the current velocity in pixels per millisecond.PointPoint. minus(Point c)Subtract the specifiedPointfrom this point and return the result.PointPoint. mult(Point c)Multiple this pointPointby specified point and return the result.PointPoint. plus(Point c)Add the specifiedPointto this point and return the result.Methods in com.google.gwt.touch.client with parameters of type Point Modifier and Type Method Description Momentum.StateDefaultMomentum. createState(Point initialPosition, Point initialVelocity)Momentum.StateMomentum. createState(Point initialPosition, Point initialVelocity)Create aMomentum.Stateinstance.PointPoint. div(Point c)Divide this pointPointby specified point and return the result.PointPoint. minus(Point c)Subtract the specifiedPointfrom this point and return the result.PointPoint. mult(Point c)Multiple this pointPointby specified point and return the result.PointPoint. plus(Point c)Add the specifiedPointto this point and return the result.voidMomentum.State. setPosition(Point position)Set the current position.voidTouchScroller.TemporalPoint. setTemporalPoint(Point point, double time)Update the point and time.voidMomentum.State. setVelocity(Point velocity)Get the current velocity in pixels per millisecond.Constructors in com.google.gwt.touch.client with parameters of type Point Constructor Description Point(Point c)State(Point initialPosition, Point initialVelocity)Construct a newMomentum.State.TemporalPoint(Point point, double time)Construct a newTouchScroller.TemporalPointfor the specified point and time.
-