public static interface

ReflowWebView.ReflowWebViewCallback

com.pdftron.pdf.utils.ReflowWebView.ReflowWebViewCallback
Known Indirect Subclasses

Class Overview

Callback interface to be invoked when a gesture occurs.

Summary

Public Methods
abstract void onPageBottom(WebView webView)
Called when the bottom of this WebView is reached.
abstract void onPageTop(WebView webView)
Called when the top of this WebView is reached.
abstract boolean onReflowWebViewScale(WebView webView, ScaleGestureDetector detector)
Called when user scales.
abstract boolean onReflowWebViewScaleBegin(WebView webView, ScaleGestureDetector detector)
Called when a scale gesture begins.
abstract void onReflowWebViewScaleEnd(WebView webView, ScaleGestureDetector detector)
Called when a scale gesture ends.
abstract void onReflowWebViewSingleTapUp(WebView webView, MotionEvent event)
Called when a tap occurs with the up event.

Public Methods

public abstract void onPageBottom (WebView webView)

Called when the bottom of this WebView is reached.

public abstract void onPageTop (WebView webView)

Called when the top of this WebView is reached.

public abstract boolean onReflowWebViewScale (WebView webView, ScaleGestureDetector detector)

Called when user scales.

Parameters
detector The ScaleGestureDetector
Returns
  • True if handled

public abstract boolean onReflowWebViewScaleBegin (WebView webView, ScaleGestureDetector detector)

Called when a scale gesture begins.

Parameters
detector The ScaleGestureDetector
Returns
  • True if handled

public abstract void onReflowWebViewScaleEnd (WebView webView, ScaleGestureDetector detector)

Called when a scale gesture ends.

Parameters
detector The ScaleGestureDetector

public abstract void onReflowWebViewSingleTapUp (WebView webView, MotionEvent event)

Called when a tap occurs with the up event.

Parameters
event The MotionEvent