java.lang.Object | |||
↳ | android.app.Dialog | ||
↳ | android.app.AlertDialog | ||
↳ | com.pdftron.pdf.tools.DialogAnnotNote |
Known Direct Subclasses |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.app.AlertDialog
| |||||||||||
From interface
android.content.DialogInterface
|
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
| ||||||||||
void | updateNegativeButton() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.app.AlertDialog
| |||||||||||
From class
android.app.Dialog
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
android.content.DialogInterface
| |||||||||||
From interface
android.view.KeyEvent.Callback
| |||||||||||
From interface
android.view.View.OnCreateContextMenuListener
| |||||||||||
From interface
android.view.Window.Callback
|
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