Package com.google.gwt.touch.client
Class TouchScroller.TemporalPoint
java.lang.Object
com.google.gwt.touch.client.TouchScroller.TemporalPoint
- Enclosing class:
TouchScroller
A point associated with a time.
Visible for testing.
-
Constructor Summary
ConstructorDescriptionTemporalPoint
(Point point, double time) Construct a newTouchScroller.TemporalPoint
for the specified point and time. -
Method Summary
Modifier and TypeMethodDescriptiongetPoint()
double
getTime()
void
setTemporalPoint
(Point point, double time) Update the point and time.
-
Constructor Details
-
TemporalPoint
public TemporalPoint() -
TemporalPoint
Construct a newTouchScroller.TemporalPoint
for the specified point and time.
-
-
Method Details
-
getPoint
-
getTime
public double getTime() -
setTemporalPoint
Update the point and time.- Parameters:
point
- the new pointtime
- the new time
-