public class CPDFAnnotDefaultImpl extends CPDFAnnotImpl<CPDFAnnotation>
| Modifier and Type | Field and Description | 
|---|---|
static boolean | 
enableDragShowMagnifier  | 
static boolean | 
enableZoomShowMagnifier  | 
annotIndex, isDirty| Constructor and Description | 
|---|
CPDFAnnotDefaultImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
Request | 
getRequest()  | 
void | 
getSize(SizeReadyCallback cb)  | 
void | 
onAnnotAttrChange()
Called when annotation attribute changes 
 | 
void | 
onDestroy()  | 
void | 
onDraw(android.content.Context context,
      android.graphics.Canvas canvas,
      float scale)
Draw 
 | 
CPDFAnnotation | 
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. | 
void | 
onLoadCleared(android.graphics.drawable.Drawable placeholder)  | 
void | 
onLoadFailed(android.graphics.drawable.Drawable errorDrawable)  | 
void | 
onLoadStarted(android.graphics.drawable.Drawable placeholder)  | 
void | 
onResourceReady(android.graphics.Bitmap resource,
               <any> transition)  | 
boolean | 
onSingleTapUp(float x,
             float y)
Called when a tap occurs. 
 | 
void | 
onStart()  | 
void | 
onStop()  | 
boolean | 
onTouchEvent(android.view.MotionEvent event)
This method to handle touch screen motion events. 
 | 
void | 
removeCallback(SizeReadyCallback cb)  | 
void | 
setRequest(Request request)  | 
checkFocusable, checkFocusType, close, compare, getAnnotationRect, getAnnotAttr, getAnnotType, getId, isFocused, isVisible, onLongPress, redo, release, setFocused, setVisible, undopublic static boolean enableDragShowMagnifier
public static boolean enableZoomShowMagnifier
public 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 CPDFBaseAnnotImpl<CPDFAnnotation>readerView - 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 CPDFAnnotation onGetAnnotation()
IAnnotationAttrChangeCPDFAnnotationpublic void onAnnotAttrChange()
IAnnotationAttrChangepublic void onDraw(android.content.Context context,
                   android.graphics.Canvas canvas,
                   float scale)
IAnnotationRendercontext - Contextcanvas - The canvas on which the background will be drawnscale - Current scaling factorpublic boolean onSingleTapUp(float x,
                             float y)
IInputEventHandlerx - The x coordinate on the page.y - The y coordinate on the page.public boolean onTouchEvent(android.view.MotionEvent event)
IInputEventHandlerevent - The motion event.public void onStart()
public void onStop()
public void onDestroy()
public void onLoadStarted(android.graphics.drawable.Drawable placeholder)
public void onLoadFailed(android.graphics.drawable.Drawable errorDrawable)
public void onResourceReady(android.graphics.Bitmap resource,
                            <any> transition)
public void onLoadCleared(android.graphics.drawable.Drawable placeholder)
public void getSize(SizeReadyCallback cb)
public void removeCallback(SizeReadyCallback cb)
public void setRequest(Request request)
public Request getRequest()