| java.lang.Object | ||
| ↳ | DialogFragment | |
| ↳ | com.pdftron.pdf.controls.UserCropSelectionDialogFragment | |
The UserCropSelectionDialogFragment shows three crop mode options.
Activities that contain this fragment must implement the
UserCropSelectionDialogFragment.UserCropSelectionDialogFragmentListener interface
to handle interaction events.
Use the newInstance() factory method to
create an instance of this fragment.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | UserCropSelectionDialogFragment.UserCropSelectionDialogFragmentListener | Callback interface to be invoked when an interaction is needed. | |||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | MODE_AUTO_CROP | Auto crop mode | |||||||||
| int | MODE_MANUAL_CROP | Manual crop mode | |||||||||
| int | MODE_RESET_CROP | Reset crop mode | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| UserCropSelectionDialogFragment() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static UserCropSelectionDialogFragment | newInstance() | ||||||||||
| Dialog | onCreateDialog(Bundle savedInstanceState) | ||||||||||
| void | onDismiss(DialogInterface dialog) | ||||||||||
| void |
setUserCropSelectionDialogFragmentListener(UserCropSelectionDialogFragment.UserCropSelectionDialogFragmentListener listener)
Sets the UserCropSelectionDialogFragmentListener listener
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Auto crop mode
Manual crop mode
Reset crop mode
Sets the UserCropSelectionDialogFragmentListener listener
| listener | The listener |
|---|