public class

UserCropDialogFragment

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

Class Overview

The UserCropDialogFragment shows manual crop dialog.

Summary

Nested Classes
interface UserCropDialogFragment.OnUserCropDialogDismissListener Callback interface to be invoked when the user crop dialog is dismissed. 
class UserCropDialogFragment.Theme  
Public Constructors
UserCropDialogFragment()
Public Methods
boolean isCropped()
static UserCropDialogFragment newInstance()
Returns a new instance of the class.
void onConfigurationChanged(Configuration newConfig)
void onCreate(Bundle savedInstanceState)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDestroy()
void onDismiss(DialogInterface dialog)
void onPause()
void setOnUserCropDialogDismissListener(UserCropDialogFragment.OnUserCropDialogDismissListener listener)
Sets the OnUserCropDialogDismissListener listener
UserCropDialogFragment setPdfViewCtrl(PDFViewCtrl pdfViewCtrl)
Sets the PDFViewCtrl
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public UserCropDialogFragment ()

Public Methods

public boolean isCropped ()

public static UserCropDialogFragment newInstance ()

Returns a new instance of the class.

public void onConfigurationChanged (Configuration newConfig)

public void onCreate (Bundle savedInstanceState)

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onDestroy ()

public void onDismiss (DialogInterface dialog)

public void onPause ()

public void setOnUserCropDialogDismissListener (UserCropDialogFragment.OnUserCropDialogDismissListener listener)

Sets the OnUserCropDialogDismissListener listener

Parameters
listener The listener

public UserCropDialogFragment setPdfViewCtrl (PDFViewCtrl pdfViewCtrl)

Sets the PDFViewCtrl

Parameters
pdfViewCtrl The PDFViewCtrl
Returns
  • This class