public interface HorizontalScrollbar extends HasHorizontalScrolling, HasScrollHandlers, IsWidget
Modifier and Type | Method and Description |
---|---|
int |
getScrollWidth()
Get the width in pixels of the scrollable content that the scrollbar
controls.
|
void |
setScrollWidth(int width)
Set the width in pixels of the scrollable content that the scrollbar
controls.
|
getHorizontalScrollPosition, getMaximumHorizontalScrollPosition, getMinimumHorizontalScrollPosition, setHorizontalScrollPosition
addScrollHandler
fireEvent
int getScrollWidth()
This is not the same as the maximum scroll left position. The maximum
scroll position equals the scrollWidth - offsetWidth
.
setScrollWidth(int)
void setScrollWidth(int width)
This is not the same as the maximum scroll left position. The maximum
scroll position equals the scrollWidth - offsetWidth
.
width
- the size width pixelsCopyright © 2018. All rights reserved.