|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Scrollable
This interface is implemented by all visual objects that can be scrolled programmatically from the server-side. The unit of scrolling is pixel.
Method Summary | |
---|---|
int |
getScrollLeft()
Gets scroll left offset. |
int |
getScrollTop()
Gets scroll top offset. |
void |
setScrollLeft(int scrollLeft)
Sets scroll left offset. |
void |
setScrollTop(int scrollTop)
Sets scroll top offset. |
Method Detail |
---|
int getScrollLeft()
Scrolling offset is the number of pixels this scrollable has been scrolled right.
void setScrollLeft(int scrollLeft)
Scrolling offset is the number of pixels this scrollable has been scrolled right.
scrollLeft
- the xOffset.int getScrollTop()
Scrolling offset is the number of pixels this scrollable has been scrolled down.
void setScrollTop(int scrollTop)
Scrolling offset is the number of pixels this scrollable has been scrolled down.
The scrolling position is limited by the current height of the content area. If the position is below the height, it is scrolled to the bottom. However, if the same response also adds height to the content area, scrolling to bottom only scrolls to the bottom of the previous content area.
scrollTop
- the yOffset.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |