public static class

CustomColorModeDialogFragment.CustomViewPager

extends ViewPager
java.lang.Object
   ↳ ViewPager
     ↳ com.pdftron.pdf.dialog.CustomColorModeDialogFragment.CustomViewPager

Class Overview

A view pager for displaying custom color mode list

Summary

Public Constructors
CustomViewPager(Context context)
Class constructor
CustomViewPager(Context context, AttributeSet attributeSet)
Class constructor
Public Methods
boolean onInterceptTouchEvent(MotionEvent event)
Overload implementation of ViewPager
boolean onTouchEvent(MotionEvent event)
Override implementation of ViewPager
void setDimens(boolean isPortrait, int heightPortrait, int heightLandscape)
Sets view pager dimensions
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CustomViewPager (Context context)

Class constructor

public CustomViewPager (Context context, AttributeSet attributeSet)

Class constructor

Public Methods

public boolean onInterceptTouchEvent (MotionEvent event)

Overload implementation of ViewPager

Parameters
event The motion event
Returns
  • false

public boolean onTouchEvent (MotionEvent event)

Override implementation of ViewPager

Parameters
event The motion event
Returns
  • false

public void setDimens (boolean isPortrait, int heightPortrait, int heightLandscape)

Sets view pager dimensions

Parameters
isPortrait whether it is in portrait mode
heightPortrait portrait mode height
heightLandscape landscape mode height