public static interface PDFView.PDFAnnotListener
Modifier and Type | Method and Description |
---|---|
void |
onAnnotComboBox(int sel,
java.lang.String[] opts,
float left,
float top,
float right,
float bottom)
fired when combo-box is clicked
|
void |
onAnnotDragStart(boolean has_act,
boolean has_popup)
fired when an annotation is selected.
|
void |
onAnnotEditBox(int type,
java.lang.String val,
float text_size,
float left,
float top,
float right,
float bottom)
fired when an edit-box is clicked.
|
void |
onAnnotEnd()
fired when an annotation is unselected.
|
void |
onAnnotUpdate()
fired when an annotation is updated in memory.
|
void onAnnotEditBox(int type, java.lang.String val, float text_size, float left, float top, float right, float bottom)
type
- val
- current value of edit-box.text_size
- text size.left
- left coordinate in viewtop
- top coordinate in viewright
- right coordinate in viewbottom
- bottom coordinate in viewvoid onAnnotComboBox(int sel, java.lang.String[] opts, float left, float top, float right, float bottom)
sel
- 0 based, current select item of combo-box.opts
- all items in combo-boxleft
- left coordinate in viewtop
- top coordinate in viewright
- right coordinate in viewbottom
- bottom coordinate in viewvoid onAnnotDragStart(boolean has_act, boolean has_popup)
has_act
- is selected annotation has action that PDF library support?has_popup
- is selected annotation has popup window to edit text note?void onAnnotEnd()
void onAnnotUpdate()