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. 
Public Constructors
UserCropDialogFragment()
Public Methods
static UserCropDialogFragment newInstance()
Returns a new instance of the class.
static UserCropDialogFragment newInstance(boolean removeCropHelperMode, boolean imageCropMode)
Returns a new instance of the class.
void onConfigurationChanged(Configuration newConfig)
The overload implementation of DialogFragment#onConfigurationChanged(Configuration).
void onCreate(Bundle savedInstanceState)
The overload implementation of DialogFragment#onCreate(Bundle).
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
The overload implementation of DialogFragment#onCreateView(LayoutInflater, ViewGroup, Bundle).
void onDestroy()
The overload implementation of DialogFragment#onDestroy().
void onDismiss(DialogInterface dialog)
The overload implementation of DialogFragment#onDismiss(DialogInterface).
void onPause()
The overload implementation of DialogFragment#onPause().
void setImageToCropBitmap(Bitmap bitmap)
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 static UserCropDialogFragment newInstance ()

Returns a new instance of the class.

public static UserCropDialogFragment newInstance (boolean removeCropHelperMode, boolean imageCropMode)

Returns a new instance of the class.

public void onConfigurationChanged (Configuration newConfig)

The overload implementation of DialogFragment#onConfigurationChanged(Configuration).

public void onCreate (Bundle savedInstanceState)

The overload implementation of DialogFragment#onCreate(Bundle).

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

The overload implementation of DialogFragment#onCreateView(LayoutInflater, ViewGroup, Bundle).

public void onDestroy ()

The overload implementation of DialogFragment#onDestroy().

public void onDismiss (DialogInterface dialog)

The overload implementation of DialogFragment#onDismiss(DialogInterface).

public void onPause ()

The overload implementation of DialogFragment#onPause().

public void setImageToCropBitmap (Bitmap bitmap)

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