public interface ScrollPanel extends NiftyControl
| Modifier and Type | Interface and Description |
|---|---|
static class |
ScrollPanel.AutoScroll
Autoscrollmode
|
static class |
ScrollPanel.VerticalAlign
VerticalAlign
|
| Modifier and Type | Method and Description |
|---|---|
ScrollPanel.AutoScroll |
getAutoScroll()
Get auto scroll mode.
|
float |
getHorizontalPos()
Get the horizontal position.
|
float |
getVerticalPos()
Get the vertical position.
|
void |
setAutoScroll(ScrollPanel.AutoScroll auto)
Set auto scroll mode.
|
void |
setHorizontalPos(float xPos)
Set horizontal position.
|
void |
setPageSizeX(float pageSizeX)
Page size x
|
void |
setPageSizeY(float pageSizeY)
Page size y
|
void |
setStepSizeX(float stepSizeX)
Step size x
|
void |
setStepSizeY(float stepSizeY)
Step size y
|
void |
setUp(float stepSizeX,
float stepSizeY,
float pageSizeX,
float pageSizeY,
ScrollPanel.AutoScroll auto)
Setup.
|
void |
setVerticalPos(float yPos)
Set vertical position.
|
void |
showElementVertical(int elemCount)
Show element vertical position.
|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthvoid setHorizontalPos(float xPos)
xPos - new positionfloat getHorizontalPos()
void setVerticalPos(float yPos)
yPos - new positionfloat getVerticalPos()
void showElementVertical(int elemCount)
elemCount - element indexvoid setUp(float stepSizeX,
float stepSizeY,
float pageSizeX,
float pageSizeY,
ScrollPanel.AutoScroll auto)
stepSizeX - step size xstepSizeY - step size ypageSizeX - page size xpageSizeY - page size yauto - autovoid setAutoScroll(ScrollPanel.AutoScroll auto)
auto - auto scroll modeScrollPanel.AutoScroll getAutoScroll()
void setStepSizeX(float stepSizeX)
void setStepSizeY(float stepSizeY)
stepSizeY - step size yvoid setPageSizeX(float pageSizeX)
pageSizeX - page size xvoid setPageSizeY(float pageSizeY)
pageSizeY - page sze yCopyright © 2013. All Rights Reserved.