java.lang.Object | |||
↳ | DialogFragment | ||
↳ | com.pdftron.pdf.controls.NavigationListDialogFragment | ||
↳ | com.pdftron.pdf.controls.AnnotationDialogFragment |
Known Direct Subclasses |
The AnnotationDialogFragment shows a list of all the annotations in a
document being viewed by a PDFViewCtrl
. The list will
contain any comments that have been added to the annotations and clicking on
an annotation will show it in the PDFViewCtrl.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | AnnotationDialogFragment.AnnotationDialogListener | Callback interface to be invoked when an interaction is needed. | |||||||||
class | AnnotationDialogFragment.AnnotationInfo | Annotation Info class. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | BUNDLE_ANNOTATION_FILTER_ICON | ||||||||||
String | BUNDLE_ANNOTATION_TYPE_EXCLUDE_LIST | ||||||||||
String | BUNDLE_ENABLE_ANNOTATION_FILTER | ||||||||||
String | BUNDLE_EXPORT_BUTTON_SPANNABLE_STRING | ||||||||||
String | BUNDLE_IS_READ_ONLY | Bundle key to specify whether the document is read only or not | |||||||||
String | BUNDLE_IS_RTL | ||||||||||
String | BUNDLE_KEY_SORT_MODE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnnotationDialogFragment() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | finishSearchView() | ||||||||||
int |
getAnnotationFilterIcon()
Gets the icon for annotation filter
| ||||||||||
String | getQueryText() | ||||||||||
boolean | handleBackPress() | ||||||||||
void | initOptionsMenu(Menu menu) | ||||||||||
boolean | isAnnotationFilterEnabled() | ||||||||||
boolean | isFilterOn() | ||||||||||
static Bundle |
newBundle(boolean isReadOnly, boolean isRtl, AnnotationListSortOrder annotationListSortOrder)
Creates a bundle containing arguments for
AnnotationDialogFragment | ||||||||||
static AnnotationDialogFragment |
newInstance()
Creates a default instance of
AnnotationDialogFragment . | ||||||||||
static AnnotationDialogFragment |
newInstance(boolean isReadOnly, boolean isRtl, AnnotationListSortOrder annotationListSortOrder)
Creates an instance of
AnnotationDialogFragment , with specified settings. | ||||||||||
void | onCreate(Bundle savedInstanceState) | ||||||||||
void | onDestroyView() | ||||||||||
boolean | onOptionsItemSelected(MenuItem item) | ||||||||||
void | onPause() | ||||||||||
boolean | onQueryTextChange(String newText) | ||||||||||
boolean | onQueryTextSubmit(String query) | ||||||||||
void | prepareOptionsMenu(Menu menu) | ||||||||||
void | refreshAnnotationList() | ||||||||||
void | resetAnnotationListSearchFilter() | ||||||||||
void |
setAnnotationDialogListener(AnnotationDialogFragment.AnnotationDialogListener listener)
Sets the listener to
AnnotationDialogFragment.AnnotationDialogListener | ||||||||||
void |
setAnnotationExportButtonText(CharSequence title)
Sets the title for annotation export button
| ||||||||||
void |
setAnnotationFilterIcon(int iconRes)
Sets the icon for annotation filter
| ||||||||||
AnnotationDialogFragment |
setPdfViewCtrl(PDFViewCtrl pdfViewCtrl)
Sets the
PDFViewCtrl | ||||||||||
AnnotationDialogFragment |
setReadOnly(boolean isReadOnly)
Sets if the document is read only
| ||||||||||
AnnotationDialogFragment |
setRtlMode(boolean isRtl)
Sets if the document is right-to-left
| ||||||||||
void | updateAnnotationVisibility() | ||||||||||
void |
updateAnnotationVisibilityInfo(List<AnnotationDialogFragment.AnnotationInfo> annotationInfos)
Updates visible of annotations in PDFViewCtrl based on annotation list filter state
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class com.pdftron.pdf.controls.NavigationListDialogFragment | |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.dialog.BookmarksDialogFragment.IBookmarksDialogSearchView
|
Bundle key to specify whether the document is read only or not
Gets the icon for annotation filter
Creates a bundle containing arguments for AnnotationDialogFragment
isReadOnly | true if the annotation list should be read only (default false) |
---|---|
isRtl | true if the the annotations are displayed right-to-left (default false) |
annotationListSortOrder | sorting order of the annotations |
AnnotationDialogFragment
Creates a default instance of AnnotationDialogFragment
.
Creates an instance of AnnotationDialogFragment
, with specified settings.
isReadOnly | true if the annotation list should be read only (default false) |
---|---|
isRtl | true if the the annotations are displayed right-to-left (default false) |
annotationListSortOrder | sorting order of the annotations |
Sets the listener to AnnotationDialogFragment.AnnotationDialogListener
listener | The listener |
---|
Sets the title for annotation export button
Sets the icon for annotation filter
Sets if the document is read only
isReadOnly | True if the document is read only |
---|
Sets if the document is right-to-left
isRtl | True if the document is right-to-left |
---|
Updates visible of annotations in PDFViewCtrl based on annotation list filter state