|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.controls.AbstractController
de.lessvoid.nifty.controls.scrollpanel.ScrollPanelControl
ScrollPanel
when accessing NiftyControls.
@Deprecated public class ScrollPanelControl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface de.lessvoid.nifty.controls.ScrollPanel |
---|
ScrollPanel.AutoScroll, ScrollPanel.VerticalAlign |
Constructor Summary | |
---|---|
ScrollPanelControl()
Deprecated. |
Method Summary | |
---|---|
void |
bind(Nifty niftyParam,
Screen screenParam,
Element elementParam,
Properties parameter,
Attributes controlDefinitionAttributes)
Deprecated. |
ScrollPanel.AutoScroll |
getAutoScroll()
Deprecated. Get auto scroll mode. |
float |
getHorizontalPos()
Deprecated. Get the horizontal position. |
float |
getVerticalPos()
Deprecated. Get the vertical position. |
void |
init(Properties parameter,
Attributes controlDefinitionAttributes)
Deprecated. |
boolean |
inputEvent(NiftyInputEvent inputEvent)
Deprecated. |
void |
layoutCallback()
Deprecated. |
void |
mouseWheel(Element e,
NiftyMouseInputEvent inputEvent)
Deprecated. |
void |
onStartScreen()
Deprecated. |
void |
setAutoScroll(ScrollPanel.AutoScroll auto)
Deprecated. Set auto scroll mode. |
void |
setHorizontalPos(float xPos)
Deprecated. Set horizontal position. |
void |
setPageSizeX(float pageSizeX)
Deprecated. Page size x |
void |
setPageSizeY(float pageSizeY)
Deprecated. Page size y |
void |
setStepSizeX(float stepSizeX)
Deprecated. Step size x |
void |
setStepSizeY(float stepSizeY)
Deprecated. Step size y |
void |
setUp(float stepSizeX,
float stepSizeY,
float pageSizeX,
float pageSizeY,
ScrollPanel.AutoScroll auto)
Deprecated. Setup. |
void |
setVerticalPos(float yPos)
Deprecated. Set vertical position. |
void |
showElementVertical(int elemCount)
Deprecated. Show element vertical position. |
Methods inherited from class de.lessvoid.nifty.controls.AbstractController |
---|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl |
---|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
Constructor Detail |
---|
public ScrollPanelControl()
Method Detail |
---|
public void bind(Nifty niftyParam, Screen screenParam, Element elementParam, Properties parameter, Attributes controlDefinitionAttributes)
bind
in interface Controller
public void init(Properties parameter, Attributes controlDefinitionAttributes)
init
in interface Controller
init
in class AbstractController
public void onStartScreen()
onStartScreen
in interface Controller
public void layoutCallback()
layoutCallback
in interface NiftyControl
layoutCallback
in class AbstractController
public boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent
in interface Controller
public void setHorizontalPos(float xPos)
ScrollPanel
setHorizontalPos
in interface ScrollPanel
xPos
- new positionpublic float getHorizontalPos()
ScrollPanel
getHorizontalPos
in interface ScrollPanel
public void setVerticalPos(float yPos)
ScrollPanel
setVerticalPos
in interface ScrollPanel
yPos
- new positionpublic float getVerticalPos()
ScrollPanel
getVerticalPos
in interface ScrollPanel
public void showElementVertical(int elemCount)
ScrollPanel
showElementVertical
in interface ScrollPanel
elemCount
- element indexpublic void setUp(float stepSizeX, float stepSizeY, float pageSizeX, float pageSizeY, ScrollPanel.AutoScroll auto)
ScrollPanel
setUp
in interface ScrollPanel
stepSizeX
- step size xstepSizeY
- step size ypageSizeX
- page size xpageSizeY
- page size yauto
- autopublic void setAutoScroll(ScrollPanel.AutoScroll auto)
ScrollPanel
setAutoScroll
in interface ScrollPanel
auto
- auto scroll modepublic ScrollPanel.AutoScroll getAutoScroll()
ScrollPanel
getAutoScroll
in interface ScrollPanel
public void setStepSizeX(float stepSizeX)
ScrollPanel
setStepSizeX
in interface ScrollPanel
public void setStepSizeY(float stepSizeY)
ScrollPanel
setStepSizeY
in interface ScrollPanel
stepSizeY
- step size ypublic void setPageSizeX(float pageSizeX)
ScrollPanel
setPageSizeX
in interface ScrollPanel
pageSizeX
- page size xpublic void setPageSizeY(float pageSizeY)
ScrollPanel
setPageSizeY
in interface ScrollPanel
pageSizeY
- page sze ypublic void mouseWheel(Element e, NiftyMouseInputEvent inputEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |