Class DragScrollListener

All Implemented Interfaces:
EventListener

public class DragScrollListener extends DragListener
Causes a scroll pane to scroll when a drag goes outside the bounds of the scroll pane.
  • Constructor Details

    • DragScrollListener

      public DragScrollListener(ScrollPane scroll)
  • Method Details

    • setup

      public void setup(float minSpeedPixels, float maxSpeedPixels, float tickSecs, float rampSecs)
    • drag

      public void drag(InputEvent event, float x, float y, int pointer)
      Overrides:
      drag in class DragListener
    • dragStop

      public void dragStop(InputEvent event, float x, float y, int pointer)
      Overrides:
      dragStop in class DragListener