public static interface AutoScroller.AutoScrollerCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onAutoScroll(int scrollDiff)
Triggered when doing automatic scrolling.
|
void |
onAutoScrollReachedMax()
Triggered when the grid scroll has reached the max scroll position.
|
void |
onAutoScrollReachedMin()
Triggered when the grid scroll has reached the minimum scroll
position.
|
void onAutoScroll(int scrollDiff)
Because the auto scroller currently only supports scrolling in one axis, this method is used for both vertical and horizontal scrolling.
scrollDiff - the amount of pixels that have been auto scrolled since
last callvoid onAutoScrollReachedMin()
void onAutoScrollReachedMax()
Copyright © 2018 Vaadin Ltd. All rights reserved.