Uses of Class
com.google.gwt.touch.client.Point
-
Uses of Point in com.google.gwt.touch.client
Modifier and TypeMethodDescription(package private) Point
TouchScroller.calculateEndVelocity
(TouchScroller.TemporalPoint from, TouchScroller.TemporalPoint to) Calculate the end velocity.Divide this pointPoint
by specified point and return the result.Momentum.State.getInitialPosition()
Get the initial position when the momentum took over.Momentum.State.getInitialVelocity()
Get the initial velocity in pixels per millisecond when the momentum took over.TouchScroller.TemporalPoint.getPoint()
Momentum.State.getPosition()
Get the current position.Momentum.State.getVelocity()
Get the current velocity in pixels per millisecond.Subtract the specifiedPoint
from this point and return the result.Multiple this pointPoint
by specified point and return the result.Add the specifiedPoint
to this point and return the result.Modifier and TypeMethodDescriptionDefaultMomentum.createState
(Point initialPosition, Point initialVelocity) Momentum.createState
(Point initialPosition, Point initialVelocity) Create aMomentum.State
instance.Divide this pointPoint
by specified point and return the result.Subtract the specifiedPoint
from this point and return the result.Multiple this pointPoint
by specified point and return the result.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.ModifierConstructorDescriptionConstruct a newMomentum.State
.TemporalPoint
(Point point, double time) Construct a newTouchScroller.TemporalPoint
for the specified point and time.