public class ScrollGestureRecognizer extends DragGestureRecognizer
Modifier and Type | Class and Description |
---|---|
static class |
ScrollGestureRecognizer.ScrollDirection |
static class |
ScrollGestureRecognizer.ScrollGestureCancelEvent |
static class |
ScrollGestureRecognizer.ScrollGestureEndEvent |
static class |
ScrollGestureRecognizer.ScrollGestureMoveEvent |
DragGestureRecognizer.CellDragGestureRecognizer<T>, DragGestureRecognizer.DragGestureCancelEvent, DragGestureRecognizer.DragGestureEndEvent, DragGestureRecognizer.DragGestureMoveEvent, DragGestureRecognizer.DragGestureStartEvent
AbstractGestureRecognizer.ExtraTouchBehavior
Constructor and Description |
---|
ScrollGestureRecognizer(Element scrollElement) |
ScrollGestureRecognizer(Element scrollElement,
ScrollGestureRecognizer.ScrollDirection direction) |
ScrollGestureRecognizer(Element scrollElement,
ScrollGestureRecognizer.ScrollDirection direction,
AbstractGestureRecognizer.ExtraTouchBehavior extraTouchBehavior) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Ends recognition of the gesture, and fires any cancel events that apply.
|
void |
setDelegate(HasHandlers eventDelegate)
Sets delegate to receive Gesture events
|
handle
getTouches, handleCancel, handleEnd, handleMove, handleStart, setCaptured, setInterest, start
public ScrollGestureRecognizer(Element scrollElement)
public ScrollGestureRecognizer(Element scrollElement, ScrollGestureRecognizer.ScrollDirection direction)
public ScrollGestureRecognizer(Element scrollElement, ScrollGestureRecognizer.ScrollDirection direction, AbstractGestureRecognizer.ExtraTouchBehavior extraTouchBehavior)
public void cancel()
GestureRecognizer
cancel
in interface GestureRecognizer
cancel
in class AbstractGestureRecognizer
public void setDelegate(HasHandlers eventDelegate)
GestureRecognizer
setDelegate
in interface GestureRecognizer
setDelegate
in class AbstractGestureRecognizer
eventDelegate
- the event handler delegateCopyright © 2016. All rights reserved.