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, undo
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endSelecting, selecting, startSelect
onDraw
public void onInit(ReaderView readerView, PageView pageView, CPDFPage tpdfPage, CPDFMarkupAnnotation annotation)
IAnnotationImpl
CPDFReaderView
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: CPDFPage
annotation
- Annotation object of document, more: CPDFAnnotation
public CPDFMarkupAnnotation onGetAnnotation()
IAnnotationAttrChange
onGetAnnotation
in interface IAnnotationAttrChange<CPDFMarkupAnnotation>
CPDFAnnotation
public void onAnnotAttrChange()
IAnnotationAttrChange
onAnnotAttrChange
in interface IAnnotationAttrChange<CPDFMarkupAnnotation>
public boolean onSingleTapUp(float x, float y)
IInputEventHandler
onSingleTapUp
in interface IInputEventHandler
x
- The x coordinate on the page.y
- The y coordinate on the page.public boolean onTouchEvent(android.view.MotionEvent event)
IInputEventHandler
onTouchEvent
in interface IInputEventHandler
event
- The motion event.