public interface IScrollable
UIComponent implementer.| Modifier and Type | Method and Description |
|---|---|
int |
getContentHeight()
Gets the height of the scrollable content.
|
int |
getContentWidth()
Gets the width of the scrollable content.
|
int |
getHorizontalPadding()
Gets the horizontal padding.
|
float |
getOffsetX()
Gets the offset from 0 to 1 of the scrollable content.
|
float |
getOffsetY()
Gets the offset from 0 to 1 of the scrollable content.
|
float |
getScrollStep()
Gets the amount of scrolling from 0 to 1, done by one step of the scroll wheel.
|
int |
getVerticalPadding()
Gets the vertical padding.
|
void |
setOffsetX(float offsetX,
int delta)
Sets the offset from 0 to 1 of the scrollable content.
|
void |
setOffsetY(float offsetY,
int delta)
Sets the offset from 0 to 1 of the scrollable content.
|
int getContentWidth()
int getContentHeight()
float getOffsetX()
UIScrollBar.Type.HORIZONTAL scrollbars.void setOffsetX(float offsetX,
int delta)
UIScrollBar.Type.HORIZONTAL scrollbars.UIScrollBar.Type.VERTICAL scrollbar if available.offsetX - the offset xdelta - the deltafloat getOffsetY()
UIScrollBar.Type.VERTICAL scrollbars.void setOffsetY(float offsetY,
int delta)
UIScrollBar.Type.VERTICAL scrollbars.UIScrollBar.Type.HORIZONTAL scrollbar if available.offsetY - the offset ydelta - the deltafloat getScrollStep()
int getVerticalPadding()
int getHorizontalPadding()