public class CPDFTextFieldWidgetAttachHelper
extends java.lang.Object
Constructor and Description |
---|
CPDFTextFieldWidgetAttachHelper() |
Modifier and Type | Method and Description |
---|---|
void |
onDraw(android.graphics.Canvas canvas)
Implement this to do your drawing.
|
void |
onInit(CPDFReaderView readerView,
CPDFPageView pageView)
Initialization, set initial value of
CPDFReaderView and CPDFPageView in current class instance. |
boolean |
onTouchEvent(android.view.MotionEvent event)
This method to handle touch screen motion events
|
void |
setPDFPage(CPDFPage pdfPage)
Sets page object of the document, more:
CPDFPage |
public void onInit(CPDFReaderView readerView, CPDFPageView pageView)
IAnnotAttachHelper
CPDFReaderView
and CPDFPageView
in current class instance.onInit
in interface IAnnotAttachHelper
readerView
- Used for showing View
in the whole documentpageView
- Used for showing View
of each page in the document.public void setPDFPage(CPDFPage pdfPage)
IAnnotAttachHelper
CPDFPage
setPDFPage
in interface IAnnotAttachHelper
pdfPage
- Page object of the document, more: CPDFPage
public boolean onTouchEvent(android.view.MotionEvent event)
IAnnotAttachHelper
onTouchEvent
in interface IAnnotAttachHelper
event
- The motion event.public void onDraw(android.graphics.Canvas canvas)
IAnnotAttachHelper
onDraw
in interface IAnnotAttachHelper
canvas
- The canvas on which the background will be drawn