Package arc.scene.event
Class DragScrollListener
java.lang.Object
arc.scene.event.InputListener
arc.scene.event.DragListener
arc.scene.event.DragScrollListener
- All Implemented Interfaces:
EventListener
Causes a scroll pane to scroll when a drag goes outside the bounds of the scroll pane.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drag
(InputEvent event, float x, float y, int pointer) void
dragStop
(InputEvent event, float x, float y, int pointer) void
setup
(float minSpeedPixels, float maxSpeedPixels, float tickSecs, float rampSecs) Methods inherited from class arc.scene.event.DragListener
cancel, dragStart, getButton, getDeltaX, getDeltaY, getStageTouchDownX, getStageTouchDownY, getTapSquareSize, getTouchDownX, getTouchDownY, isDragging, setButton, setTapSquareSize, touchDown, touchDragged, touchUp
-
Constructor Details
-
DragScrollListener
-
-
Method Details
-
setup
public void setup(float minSpeedPixels, float maxSpeedPixels, float tickSecs, float rampSecs) -
drag
- Overrides:
drag
in classDragListener
-
dragStop
- Overrides:
dragStop
in classDragListener
-