public interface IScrollPanel
| Modifier and Type | Method and Description |
|---|---|
int |
getScrollPosition()
Returns the current scroll position.
|
int |
getScrollToPosition()
Returns the next scroll position
|
void |
setOffsetHeight(int offsetHeight)
A value greater zero will set the offset height of the panel manually.
|
void |
setPositionToBottom()
Scrolls to the button.
|
void |
setPostionToTop()
Scrolls to the top.
|
void |
setScrollMonitor(IScrollMonitor scrollMonitor)
A scroll monitor provides callback when the scrolling is done.
|
void |
setScrollPosition(int pos)
Sets the croll position
|
void setScrollMonitor(IScrollMonitor scrollMonitor)
scrollMonitor - void setPostionToTop()
void setPositionToBottom()
void setScrollPosition(int pos)
pos - the x axis posint getScrollPosition()
int getScrollToPosition()
void setOffsetHeight(int offsetHeight)
offsetHeight - the offset height.Copyright © 2011–2015 SWM. All rights reserved.