java.lang.Object | |||
↳ | android.app.Dialog | ||
↳ | android.app.AlertDialog | ||
↳ | com.pdftron.pdf.tools.DialogAnnotNote |
![]() |
The DialogAnnotNote is the super class for all annotation dialogs. Annotation dialogs are used to add free text, sticky notes or a note to an existing annotation.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | DialogAnnotNote.DialogAnnotNoteListener | Callback interface to be invoked when a button is pressed. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public TextWatcher | textWatcher |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DialogAnnotNote(PDFViewCtrl pdfViewCtrl, String note) | |||||||||||
DialogAnnotNote(PDFViewCtrl pdfViewCtrl, String note, boolean hasPermission)
Class constructor
| |||||||||||
DialogAnnotNote(Context context, String note, boolean hasPermission) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | dismiss() | ||||||||||
String | getNote() | ||||||||||
void |
initTextBox(String note)
Initializes the text box with the specified note.
| ||||||||||
boolean | isEditEnabled() | ||||||||||
void |
setAnnotNoteListener(DialogAnnotNote.DialogAnnotNoteListener listener)
Sets the
DialogAnnotNote.DialogAnnotNoteListener listener. | ||||||||||
void |
setButtonPressed(int button)
Handles when a button is pressed.
| ||||||||||
void | setNegativeButtonRes(int negativeButtonRes) | ||||||||||
void | setPositiveButtonRes(int positiveButtonRes) | ||||||||||
void |
switchToViewMode()
Switches to view mode
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Class constructor
Initializes the text box with the specified note.
note | The note |
---|
Sets the DialogAnnotNote.DialogAnnotNoteListener
listener.
listener | The listener |
---|
Handles when a button is pressed.
button | The button index |
---|
Switches to view mode