public interface IModelServiceScrollManager
IModelService
Modifier and Type | Field and Description |
---|---|
static int |
ABSOLUTE_COORDINATE
Scroll type: absolute coordinate
|
static int |
INCREMENTAL
Scroll type: incremental
|
static int |
NONE
Scroll type: not supported
|
static int |
PAGE
Scroll type: page by page
|
Modifier and Type | Method and Description |
---|---|
void |
absoluteCoordinateScroll(int y,
boolean waitRendering)
Scroll to y
|
void |
absoluteCoordinateScroll(int x,
int y,
boolean waitRendering)
Scroll to (x,y)
|
int |
decrementLargeScrollX(boolean waitRendering)
Decremental large scroll (horizontal)
|
int |
decrementLargeScrollY(boolean waitRendering)
Decremental large scroll (vertical)
|
int |
decrementPageScroll(boolean waitRendering)
Decremental page scroll (Page down)
|
int |
decrementScrollX(boolean waitRendering)
Decremental scroll (horizontal)
|
int |
decrementScrollY(boolean waitRendering)
Decremental scroll (vertical)
|
int |
getCurrentPageNumber()
Get current page number of the content
|
int |
getLastPageNumber()
Get page number of the last page of the content
|
int |
getScrollType()
Get scroll type of the
IModelService |
ModelServiceSizeInfo |
getSize(boolean isWhole)
Get screen size of
IModelService |
int |
incrementLargeScrollX(boolean waitRendering)
Incremental large scroll (horizontal)
|
int |
incrementLargeScrollY(boolean waitRendering)
Incremental large scroll (vertical)
|
int |
incrementPageScroll(boolean waitRendering)
Incremental page scroll (Page up)
|
int |
incrementScrollX(boolean waitRendering)
Incremental scroll (horizontal)
|
int |
incrementScrollY(boolean waitRendering)
Incremental scroll (vertical)
|
int |
jumpToPage(int pageNumber,
boolean waitRendering)
Jump to specified page
|
static final int NONE
static final int ABSOLUTE_COORDINATE
static final int INCREMENTAL
static final int PAGE
int getScrollType()
IModelService
void absoluteCoordinateScroll(int y, boolean waitRendering)
y
- target Y coordinatewaitRendering
- if true, wait a finish of renderingvoid absoluteCoordinateScroll(int x, int y, boolean waitRendering)
x
- target X coordinatey
- target Y coordinatewaitRendering
- if true, wait a finish of renderingint incrementScrollX(boolean waitRendering)
waitRendering
- if true, wait a finish of renderingint decrementScrollX(boolean waitRendering)
waitRendering
- if true, wait a finish of renderingint incrementScrollY(boolean waitRendering)
waitRendering
- if true, wait a finish of renderingint decrementScrollY(boolean waitRendering)
waitRendering
- if true, wait a finish of renderingint incrementLargeScrollX(boolean waitRendering)
waitRendering
- if true, wait a finish of renderingint decrementLargeScrollX(boolean waitRendering)
waitRendering
- if true, wait a finish of renderingint incrementLargeScrollY(boolean waitRendering)
waitRendering
- if true, wait a finish of renderingint decrementLargeScrollY(boolean waitRendering)
waitRendering
- if true, wait a finish of renderingint incrementPageScroll(boolean waitRendering)
waitRendering
- if true, wait a finish of renderingint decrementPageScroll(boolean waitRendering)
waitRendering
- if true, wait a finish of renderingint jumpToPage(int pageNumber, boolean waitRendering)
pageNumber
- target page numberwaitRendering
- if true, wait a finish of renderingint getCurrentPageNumber()
int getLastPageNumber()
ModelServiceSizeInfo getSize(boolean isWhole)
IModelService
isWhole
- IModelService