public class

DialogStickyNote

extends DialogAnnotNote
java.lang.Object
   ↳ android.app.Dialog
     ↳ android.app.AlertDialog
       ↳ com.pdftron.pdf.tools.DialogAnnotNote
         ↳ com.pdftron.pdf.tools.DialogStickyNote

Class Overview

The DialogStickyNote is a subclass of DialogAnnotNote and is used for all sticky note annotations. When a user creates or taps on a sticky note, this dialog will appear and it allows the user to add or edit their note.

Summary

[Expand]
Inherited Constants
From class android.app.AlertDialog
From interface android.content.DialogInterface
[Expand]
Inherited Fields
From class com.pdftron.pdf.tools.DialogAnnotNote
Public Constructors
DialogStickyNote(PDFViewCtrl pdfViewCtrl, String note, boolean existingNote, String iconType, int iconColor, float iconOpacity)
DialogStickyNote(PDFViewCtrl pdfViewCtrl, String note, boolean existingNote, String iconType, int iconColor, float iconOpacity, boolean hasPermission)
Class constructor
Public Methods
void initTextBox(String note)
The overload implementation of initTextBox(String).
boolean isExistingNote()
void prepareDismiss()
Prepares dialog dismiss.
void setAnnotAppearanceChangeListener(AnnotStyle.OnAnnotStyleChangeListener listener)
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.DialogAnnotNote
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

Public Constructors

public DialogStickyNote (PDFViewCtrl pdfViewCtrl, String note, boolean existingNote, String iconType, int iconColor, float iconOpacity)

public DialogStickyNote (PDFViewCtrl pdfViewCtrl, String note, boolean existingNote, String iconType, int iconColor, float iconOpacity, boolean hasPermission)

Class constructor

Public Methods

public void initTextBox (String note)

The overload implementation of initTextBox(String).

Parameters
note The note

public boolean isExistingNote ()

Returns
  • True if it is an existing note

public void prepareDismiss ()

Prepares dialog dismiss.

public void setAnnotAppearanceChangeListener (AnnotStyle.OnAnnotStyleChangeListener listener)