public abstract class CPDFMarkupAnnotImpl extends CPDFAnnotImpl<CPDFMarkupAnnotation> implements ISelectionHelper.ISelectCallback
annotIndex, isDirty| Constructor and Description |
|---|
CPDFMarkupAnnotImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAnnotAttrChange()
Called when annotation attribute changes
|
CPDFMarkupAnnotation |
onGetAnnotation()
Gets the currently binding annotation instance
|
void |
onInit(ReaderView readerView,
PageView pageView,
CPDFPage tpdfPage,
CPDFMarkupAnnotation annotation)
Initialization, set initial value of
CPDFReaderView in current class instance, CPDFPageView, CPDFPage, CPDFAnnotation. |
boolean |
onSingleTapUp(float x,
float y)
Called when a tap occurs.
|
boolean |
onTouchEvent(android.view.MotionEvent event)
This method to handle touch screen motion events.
|
checkFocusable, checkFocusType, close, compare, getAnnotationRect, getAnnotAttr, getAnnotType, getId, isFocused, isVisible, onLongPress, redo, release, setFocused, setVisible, undoequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendSelecting, selecting, startSelectonDrawpublic void onInit(ReaderView readerView, PageView pageView, CPDFPage tpdfPage, CPDFMarkupAnnotation annotation)
IAnnotationImplCPDFReaderView in current class instance, CPDFPageView, CPDFPage, CPDFAnnotation.onInit in interface IAnnotationImpl<CPDFMarkupAnnotation>onInit in class CPDFBaseAnnotImpl<CPDFMarkupAnnotation>readerView - Used for showing View in the whole documentpageView - Used for showing View of each page in the documenttpdfPage - Page object of document, more: CPDFPageannotation - Annotation object of document, more: CPDFAnnotationpublic CPDFMarkupAnnotation onGetAnnotation()
IAnnotationAttrChangeonGetAnnotation in interface IAnnotationAttrChange<CPDFMarkupAnnotation>CPDFAnnotationpublic void onAnnotAttrChange()
IAnnotationAttrChangeonAnnotAttrChange in interface IAnnotationAttrChange<CPDFMarkupAnnotation>public boolean onSingleTapUp(float x,
float y)
IInputEventHandleronSingleTapUp in interface IInputEventHandlerx - The x coordinate on the page.y - The y coordinate on the page.public boolean onTouchEvent(android.view.MotionEvent event)
IInputEventHandleronTouchEvent in interface IInputEventHandlerevent - The motion event.