public interface IScrollable
UIComponent implementer.| Modifier and Type | Method and Description |
|---|---|
int |
getBottomPadding()
Gets the padding for the bottom.
|
int |
getContentHeight()
Gets the height of the scrollable content.
|
int |
getContentWidth()
Gets the width of the scrollable content.
|
int |
getLeftPadding()
Gets the padding for the left.
|
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.
|
int |
getRightPadding()
Gets the padding for the right.
|
float |
getScrollStep()
Gets the amount of scrolling from 0 to 1, done by one step of the scroll wheel.
|
int |
getTopPadding()
Gets the padding for the top.
|
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 getTopPadding()
int getBottomPadding()
int getLeftPadding()
int getRightPadding()