Class TouchScroller.TemporalPoint

  • Enclosing class:
    TouchScroller

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

      • TemporalPoint

        public TemporalPoint()
    • Method Detail

      • 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