public class

DialogFreeTextNote

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

Class Overview

The DialogFreeTextNote is used for adding and editing free text.

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
DialogFreeTextNote(PDFViewCtrl pdfViewCtrl, String note, boolean enablePositiveButton)
Class constructor
Public Methods
void addTextWatcher(TextWatcher textWatcherListener)
Adds a text watcher.
void disableToggleButton()
Disables the toggle button.
void initTextBox(String note)
The overload implementation of initTextBox(String).
void setHorizontalTextAlignment(int gravity)
void setVerticalTextAlignment(int gravity)
[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 DialogFreeTextNote (PDFViewCtrl pdfViewCtrl, String note, boolean enablePositiveButton)

Class constructor

Public Methods

public void addTextWatcher (TextWatcher textWatcherListener)

Adds a text watcher.

Parameters
textWatcherListener The text watcher

public void disableToggleButton ()

Disables the toggle button.

public void initTextBox (String note)

The overload implementation of initTextBox(String).

Parameters
note The note

public void setHorizontalTextAlignment (int gravity)

public void setVerticalTextAlignment (int gravity)