public class

PortfolioDialogFragment

extends DialogFragment
java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.pdf.dialog.PortfolioDialogFragment

Class Overview

A dialog that lists all files included in a PDF portfolio.

Summary

Nested Classes
interface PortfolioDialogFragment.PortfolioDialogFragmentListener  
Constants
int FILE_TYPE_FILE
int FILE_TYPE_FILE_URI
int FILE_TYPE_PDFDOC
Public Constructors
PortfolioDialogFragment()
Public Methods
File getPortfolioFile()
Uri getPortfolioFileUri()
void initParams(PDFDoc pdfDoc)
static PortfolioDialogFragment newInstance(Uri fileUri, String password)
static PortfolioDialogFragment newInstance(Uri fileUri, String password, int dialogTitleRes)
static PortfolioDialogFragment newInstance(int fileType, int dialogTitleRes)
static PortfolioDialogFragment newInstance(File file, String password, int dialogTitleRes)
static PortfolioDialogFragment newInstance(File file, String password)
static PortfolioDialogFragment newInstance(int fileType)
void onAttach(Context context)
Dialog onCreateDialog(Bundle savedInstanceState)
void setListener(PortfolioDialogFragment.PortfolioDialogFragmentListener listener)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int FILE_TYPE_FILE

Constant Value: 0 (0x00000000)

public static final int FILE_TYPE_FILE_URI

Constant Value: 1 (0x00000001)

public static final int FILE_TYPE_PDFDOC

Constant Value: 2 (0x00000002)

Public Constructors

public PortfolioDialogFragment ()

Public Methods

public File getPortfolioFile ()

public Uri getPortfolioFileUri ()

public void initParams (PDFDoc pdfDoc)

public static PortfolioDialogFragment newInstance (Uri fileUri, String password)

public static PortfolioDialogFragment newInstance (Uri fileUri, String password, int dialogTitleRes)

public static PortfolioDialogFragment newInstance (int fileType, int dialogTitleRes)

public static PortfolioDialogFragment newInstance (File file, String password, int dialogTitleRes)

public static PortfolioDialogFragment newInstance (File file, String password)

public static PortfolioDialogFragment newInstance (int fileType)

public void onAttach (Context context)

public Dialog onCreateDialog (Bundle savedInstanceState)

public void setListener (PortfolioDialogFragment.PortfolioDialogFragmentListener listener)