public class ThumbView
extends View
Modifier and Type | Class and Description |
---|---|
static interface |
ThumbView.ThumbListener
Interface for Thumb View listener.
|
Constructor and Description |
---|
ThumbView(Context context) |
ThumbView(Context context,
AttributeSet attrs) |
Modifier and Type | Method and Description |
---|---|
void |
onDraw(Canvas canvas) |
boolean |
onTouchEvent(MotionEvent event) |
void |
thumbClose()
close thumb view and free all memory.
|
Document |
thumbGetDoc() |
void |
thumbGotoPage(int pageno)
goto page and display the thumb image in center.
|
void |
thumbOpen(PDFView view,
ThumbView.ThumbListener listener)
open from PDFView, must invoked after PDFView.open()
|
public ThumbView(Context context, AttributeSet attrs)
public ThumbView(Context context)
public void thumbOpen(PDFView view, ThumbView.ThumbListener listener)
view
- the view opened.listener
- listener for thumb viewpublic void thumbClose()
public void onDraw(Canvas canvas)
public void thumbGotoPage(int pageno)
pageno
- 0 based page NO.public boolean onTouchEvent(MotionEvent event)
public Document thumbGetDoc()