Class TouchScroller.TemporalPoint

java.lang.Object
com.google.gwt.touch.client.TouchScroller.TemporalPoint
Enclosing class:
TouchScroller

static class TouchScroller.TemporalPoint extends Object
A point associated with a time. Visible for testing.
  • Constructor Details

    • TemporalPoint

      public TemporalPoint()
    • TemporalPoint

      public TemporalPoint(Point point, double time)
      Construct a new TouchScroller.TemporalPoint for the specified point and time.
  • Method Details

    • getPoint

      public Point getPoint()
    • getTime

      public double getTime()
    • setTemporalPoint

      public void setTemporalPoint(Point point, double time)
      Update the point and time.
      Parameters:
      point - the new point
      time - the new time