public interface VerticalScrollbar extends HasVerticalScrolling, HasScrollHandlers, IsWidget
Modifier and Type | Method and Description |
---|---|
int |
getScrollHeight()
Get the height in pixels of the scrollable content that the scrollbar
controls.
|
void |
setScrollHeight(int height)
Set the height in pixels of the scrollable content that the scrollbar
controls.
|
getMaximumVerticalScrollPosition, getMinimumVerticalScrollPosition, getVerticalScrollPosition, setVerticalScrollPosition
addScrollHandler
fireEvent
int getScrollHeight()
This is not the same as the maximum scroll top position. The maximum scroll
position equals the scrollHeight- offsetHeight
;
setScrollHeight(int)
void setScrollHeight(int height)
This is not the same as the maximum scroll top position. The maximum scroll
position equals the scrollHeight- offsetHeight
;
height
- the size height pixelsCopyright © 2018. All rights reserved.