public class CPDFDefaultTextWidgetImpl extends CPDFWidgetDefaultImpl
enableDragShowMagnifier, enableZoomShowMagnifierannotIndex, isDirty| Constructor and Description |
|---|
CPDFDefaultTextWidgetImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
onDraw(android.content.Context context,
android.graphics.Canvas canvas,
float scale)
Draw
|
CPDFTextWidget |
onGetAnnotation()
Gets the currently binding annotation instance
|
void |
onInit(ReaderView readerView,
PageView pageView,
CPDFPage tpdfPage,
CPDFAnnotation pdfAnnotation)
Initialization, set initial value of
CPDFReaderView in current class instance, CPDFPageView, CPDFPage, CPDFAnnotation. |
boolean |
onSingleTapUp(float x,
float y)
Called when a tap occurs.
|
void |
onTextWidgetFocused() |
checkFocusable, checkFocusTypegetRequest, getSize, onAnnotAttrChange, onDestroy, onLoadCleared, onLoadFailed, onLoadStarted, onResourceReady, onStart, onStop, onTouchEvent, removeCallback, setRequestclose, compare, getAnnotationRect, getAnnotAttr, getAnnotType, getId, isFocused, isVisible, onLongPress, redo, release, setFocused, setVisible, undopublic void onInit(ReaderView readerView, PageView pageView, CPDFPage tpdfPage, CPDFAnnotation pdfAnnotation)
IAnnotationImplCPDFReaderView in current class instance, CPDFPageView, CPDFPage, CPDFAnnotation.onInit in interface IAnnotationImpl<CPDFAnnotation>onInit in class CPDFWidgetDefaultImplreaderView - Used for showing View in the whole documentpageView - Used for showing View of each page in the documenttpdfPage - Page object of document, more: CPDFPagepdfAnnotation - Annotation object of document, more: CPDFAnnotationpublic void onDraw(android.content.Context context,
android.graphics.Canvas canvas,
float scale)
IAnnotationRenderonDraw in interface IAnnotationRenderonDraw in class CPDFWidgetDefaultImplcontext - Contextcanvas - The canvas on which the background will be drawnscale - Current scaling factorpublic boolean onSingleTapUp(float x,
float y)
IInputEventHandleronSingleTapUp in interface IInputEventHandleronSingleTapUp in class CPDFAnnotDefaultImplx - The x coordinate on the page.y - The y coordinate on the page.public void onTextWidgetFocused()
public CPDFTextWidget onGetAnnotation()
IAnnotationAttrChangeonGetAnnotation in interface IAnnotationAttrChange<CPDFAnnotation>onGetAnnotation in class CPDFAnnotDefaultImplCPDFAnnotation