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) Point
TouchScroller. calculateEndVelocity(TouchScroller.TemporalPoint from, TouchScroller.TemporalPoint to)
Calculate the end velocity.Point
Point. div(Point c)
Divide this pointPoint
by specified point and return the result.Point
Momentum.State. getInitialPosition()
Get the initial position when the momentum took over.Point
Momentum.State. getInitialVelocity()
Get the initial velocity in pixels per millisecond when the momentum took over.Point
TouchScroller.TemporalPoint. getPoint()
Point
Momentum.State. getPosition()
Get the current position.Point
Momentum.State. getVelocity()
Get the current velocity in pixels per millisecond.Point
Point. minus(Point c)
Subtract the specifiedPoint
from this point and return the result.Point
Point. mult(Point c)
Multiple this pointPoint
by specified point and return the result.Point
Point. plus(Point c)
Add the specifiedPoint
to this point and return the result.Methods in com.google.gwt.touch.client with parameters of type Point Modifier and Type Method Description Momentum.State
DefaultMomentum. createState(Point initialPosition, Point initialVelocity)
Momentum.State
Momentum. createState(Point initialPosition, Point initialVelocity)
Create aMomentum.State
instance.Point
Point. div(Point c)
Divide this pointPoint
by specified point and return the result.Point
Point. minus(Point c)
Subtract the specifiedPoint
from this point and return the result.Point
Point. mult(Point c)
Multiple this pointPoint
by specified point and return the result.Point
Point. plus(Point c)
Add the specifiedPoint
to this point and return the result.void
Momentum.State. setPosition(Point position)
Set the current position.void
TouchScroller.TemporalPoint. setTemporalPoint(Point point, double time)
Update the point and time.void
Momentum.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.TemporalPoint
for the specified point and time.
-