public class

PasswordDialogFragment

extends DialogFragment
java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.pdf.controls.PasswordDialogFragment

Class Overview

A Dialog fragment for entering password

Summary

Nested Classes
interface PasswordDialogFragment.PasswordDialogFragmentListener Callback interface to be invoked when an interaction is needed. 
Public Constructors
PasswordDialogFragment()
Class constructor
Public Methods
static PasswordDialogFragment newInstance(int fileType, File file, String path, String id)
Returns a new instance of the class.
static PasswordDialogFragment newInstance(int fileType, File file, String path, String id, String hint)
Returns a new instance of the class.
void onCancel(DialogInterface dialog)
The overload implementation of DialogFragment#onCancel(DialogInterface).
Dialog onCreateDialog(Bundle savedInstanceState)
The overload implementation of DialogFragment#onCreateDialog(Bundle).
void onDismiss(DialogInterface dialog)
The overload implementation of DialogFragment#onDismiss(DialogInterface).
void setListener(PasswordDialogFragment.PasswordDialogFragmentListener listener)
void setMessage(int messageId)
Sets the message ID
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PasswordDialogFragment ()

Class constructor

Public Methods

public static PasswordDialogFragment newInstance (int fileType, File file, String path, String id)

Returns a new instance of the class.

public static PasswordDialogFragment newInstance (int fileType, File file, String path, String id, String hint)

Returns a new instance of the class.

public void onCancel (DialogInterface dialog)

The overload implementation of DialogFragment#onCancel(DialogInterface).

public Dialog onCreateDialog (Bundle savedInstanceState)

The overload implementation of DialogFragment#onCreateDialog(Bundle).

public void onDismiss (DialogInterface dialog)

The overload implementation of DialogFragment#onDismiss(DialogInterface).

public void setListener (PasswordDialogFragment.PasswordDialogFragmentListener listener)

Parameters
listener The listener

public void setMessage (int messageId)

Sets the message ID

Parameters
messageId The message ID