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
class PasswordDialogFragment.Builder  
interface PasswordDialogFragment.PasswordDialogFragmentListener Callback interface to be invoked when an interaction is needed. 
class PasswordDialogFragment.Theme  
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)
Dialog onCreateDialog(Bundle savedInstanceState)
void onDismiss(DialogInterface dialog)
void onStart()
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)

public Dialog onCreateDialog (Bundle savedInstanceState)

public void onDismiss (DialogInterface dialog)

public void onStart ()

public void setListener (PasswordDialogFragment.PasswordDialogFragmentListener listener)

Parameters
listener The listener

public void setMessage (int messageId)

Sets the message ID

Parameters
messageId The message ID