java.lang.Object | ||
↳ | DialogFragment | |
↳ | com.pdftron.pdf.dialog.RotateDialogFragment |
A rotate dialog fragment allows users to rotate pages of the document by 90, 180 and 270 degree with ease while they see the thumbnail of the current page as they rotate pages.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | RotateDialogFragment.OnRotationListener |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | FRAGMENT_TAG |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RotateDialogFragment() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static RotateDialogFragment |
newInstance()
Use this factory method to create a new instance of this fragment.
| ||||||||||
Dialog |
onCreateDialog(Bundle savedInstanceState)
The overloaded implementation of DialogFragment#onCreateDialog(Bundle).
| ||||||||||
void |
onDestroy()
The overloaded implementation of DialogFragment#onDestroy().
| ||||||||||
void |
onThumbReceived(int page, int[] buf, int width, int height)
The overloaded implementation of
onThumbReceived(int, int[], int, int) . | ||||||||||
void | setOnRotationListener(RotateDialogFragment.OnRotationListener listener) | ||||||||||
RotateDialogFragment |
setPdfViewCtrl(PDFViewCtrl pdfViewCtrl)
Sets the
PDFViewCtrl |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.PDFViewCtrl.ThumbAsyncListener
|
Use this factory method to create a new instance of this fragment.
The overloaded implementation of DialogFragment#onCreateDialog(Bundle).
The overloaded implementation of DialogFragment#onDestroy().
The overloaded implementation of onThumbReceived(int, int[], int, int)
.
page | the page number which this thumbnail refers to |
---|---|
buf | the image data buffer |
width | the width of the bitmap |
height | the height of the bitmap |