java.lang.Object | ||
↳ | DialogFragment | |
↳ | com.pdftron.pdf.dialog.CustomColorModeDialogFragment |
A dialog fragment shows a list of preset color modes. It allows user to set PDFViewCtrl to custom color view mode.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | CustomColorModeDialogFragment.CustomColorModeSelectedListener | Listener interface for custom color mode selected event | |||||||||
class | CustomColorModeDialogFragment.CustomViewPager | A view pager for displaying custom color mode list | |||||||||
class | CustomColorModeDialogFragment.PresetRecyclerAdapter | A Recycler view adapter of preset custom color modes | |||||||||
interface | CustomColorModeDialogFragment.PresetRecyclerAdapterListener | Listener interface for preset custom color mode selected event |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CustomColorModeDialogFragment() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static CustomColorModeDialogFragment |
newInstance(int bgColor, int txtColor)
Creates a new instance of custom color mode dialog fragment
| ||||||||||
void |
onCreate(Bundle savedInstanceState)
Overload implementation of DialogFragment#onCreate(Bundle)
| ||||||||||
Dialog |
onCreateDialog(Bundle savedInstanceState)
Overload implementation of DialogFragment#onCreateDialog(Bundle)
| ||||||||||
void | onDismiss(DialogInterface dialog) | ||||||||||
void |
onStart()
Overload implementation of DialogFragment#onStart()
| ||||||||||
void |
setCustomColorModeSelectedListener(CustomColorModeDialogFragment.CustomColorModeSelectedListener listener)
Sets custom color mode selected listener
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new instance of custom color mode dialog fragment
bgColor | background color |
---|---|
txtColor | text color |
Overload implementation of DialogFragment#onCreate(Bundle)
savedInstanceState | If the fragment is being re-created from a previous saved state, this is the state. |
---|
Overload implementation of DialogFragment#onCreateDialog(Bundle)
savedInstanceState | The last saved instance state of the Fragment, or null if this is a freshly created Fragment. |
---|
Overload implementation of DialogFragment#onStart()
Sets custom color mode selected listener
listener | The selected listener |
---|