java.lang.Object | ||
↳ | AndroidViewModel | |
↳ | com.pdftron.pdf.viewmodel.AnnotationFilterViewModel |
A ViewModel that contains data for the annotation filter UI.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | AnnotationFilterViewModel.Factory |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnnotationFilterViewModel(Application application, AnnotationListFilterInfo filterInfo) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | addAnnotToHide(Annot annot) | ||||||||||
void | addAuthor(String author) | ||||||||||
void | addColor(String color) | ||||||||||
void | addStatus(String status) | ||||||||||
void | addType(int type) | ||||||||||
void |
clearFilters()
Removes all available filter settings from filter.
| ||||||||||
void |
deselectAllFilters()
Deselects all selected filter settings.
| ||||||||||
|
getAnnotationFilterLiveData() | ||||||||||
void | onApplyFilterPressed() | ||||||||||
void | onApplyFilterToAnnotationListPressed() | ||||||||||
void | onAuthorClicked(String author) | ||||||||||
void | onColorClicked(String color) | ||||||||||
void | onHideAllPressed() | ||||||||||
void | onShowAllPressed() | ||||||||||
void | onStatusClicked(String status) | ||||||||||
void | onTypeClicked(int type) | ||||||||||
void | removeAnnotToHide(Annot annot) | ||||||||||
void | setAnnotationFilterInfo(AnnotationListFilterInfo filterInfo) | ||||||||||
boolean | shouldHideAnnot(Annot annot) | ||||||||||
void | updateFilterOptions(HashSet<Integer> typeSet, HashSet<String> authorSet, HashSet<String> statusSet, HashSet<String> colorSet) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Removes all available filter settings from filter.
Deselects all selected filter settings.