Public Member Functions | |
boolean | onDown (MotionEvent e) |
boolean | onFling (MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) |
void | onLongPress (MotionEvent e) |
boolean | onScroll (MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) |
void | onShowPress (MotionEvent e) |
boolean | onSingleTapUp (MotionEvent e) |
The interface for gesture event listener.
boolean com.foxit.sdk.PDFViewCtrl.IGestureEventListener.onDown | ( | MotionEvent | e | ) |
Triggered when PDFViewCtrl#onDown(MotionEvent) is called.
e | The down motion event. |
true
means the event is consumed.false
means not. Implemented in com.foxit.uiextensions.UIExtensionsManager.
boolean com.foxit.sdk.PDFViewCtrl.IGestureEventListener.onFling | ( | MotionEvent | e1, |
MotionEvent | e2, | ||
float | velocityX, | ||
float | velocityY | ||
) |
Triggered when PDFViewCtrl#onFling(MotionEvent, MotionEvent, float, float) is called.
e1 | The first down motion event. |
e2 | The move motion event. |
velocityX | The velocity of this fling measured in pixels per second along the x axis. |
velocityY | The velocity of this fling measured in pixels per second along the y axis. |
true
means the event is consumed.false
means not. Implemented in com.foxit.uiextensions.UIExtensionsManager.
void com.foxit.sdk.PDFViewCtrl.IGestureEventListener.onLongPress | ( | MotionEvent | e | ) |
Triggered when PDFViewCtrl#onLongPress(MotionEvent) is called.
e | The initial on down motion event that started the longpress. |
Implemented in com.foxit.uiextensions.UIExtensionsManager.
boolean com.foxit.sdk.PDFViewCtrl.IGestureEventListener.onScroll | ( | MotionEvent | e1, |
MotionEvent | e2, | ||
float | distanceX, | ||
float | distanceY | ||
) |
Triggered when PDFViewCtrl#onScroll(MotionEvent, MotionEvent, float, float) is called.
e1 | The first down motion event that started the scrolling. |
e2 | The move motion event that triggered the current onScroll. |
distanceX | The distance along the X axis that has been scrolled since the last call to onScroll. |
distanceY | The distance along the Y axis that has been scrolled since the last call to onScroll. |
true
means the event is consumed.false
means not. Implemented in com.foxit.uiextensions.UIExtensionsManager.
void com.foxit.sdk.PDFViewCtrl.IGestureEventListener.onShowPress | ( | MotionEvent | e | ) |
Triggered when PDFViewCtrl#onShowPress(MotionEvent) is called.
e | The down motion event. |
Implemented in com.foxit.uiextensions.UIExtensionsManager.
boolean com.foxit.sdk.PDFViewCtrl.IGestureEventListener.onSingleTapUp | ( | MotionEvent | e | ) |
Triggered when PDFViewCtrl#onSingleTapUp(MotionEvent) is called.
e | The up motion event that completed the first tap |
true
means the event is consumed.false
means not. Implemented in com.foxit.uiextensions.UIExtensionsManager.