public abstract class CPDFScrollHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CPDFScrollHelper.ScrollState |
Constructor and Description |
---|
CPDFScrollHelper(ReaderView readerView) |
Modifier and Type | Method and Description |
---|---|
void |
abortScroll() |
boolean |
canScrollX() |
boolean |
canScrollY() |
abstract void |
changeOffsetXY(float offsetHorizontal,
float offsetVertical) |
abstract void |
computeScroll() |
float |
getSpeedRate() |
void |
onConfigurationChanged(android.content.res.Configuration newConfig) |
abstract boolean |
onTouchEvent(android.view.MotionEvent event) |
abstract void |
setDisplayIndex(int pageNum) |
abstract void |
setDisplayIndex(int pageNum,
android.graphics.Point point) |
abstract void |
setOffsetXY(float offsetHorizontal,
float offsetVertical) |
void |
setOnScrollListener(com.compdfkit.ui.reader.CPDFScrollHelper.OnScrollListener onScrollListener) |
public CPDFScrollHelper(ReaderView readerView)
public void onConfigurationChanged(android.content.res.Configuration newConfig)
public void setOnScrollListener(com.compdfkit.ui.reader.CPDFScrollHelper.OnScrollListener onScrollListener)
public abstract boolean onTouchEvent(android.view.MotionEvent event)
public abstract void computeScroll()
public abstract void setDisplayIndex(int pageNum)
public abstract void setDisplayIndex(int pageNum, android.graphics.Point point)
public abstract void setOffsetXY(float offsetHorizontal, float offsetVertical)
public abstract void changeOffsetXY(float offsetHorizontal, float offsetVertical)
public boolean canScrollX()
public boolean canScrollY()
public float getSpeedRate()
public void abortScroll()