ScrollPanel when accessing NiftyControls.@Deprecated public class ScrollPanelControl extends AbstractController implements ScrollPanel
ScrollPanel.AutoScroll, ScrollPanel.VerticalAlign| Constructor and Description |
|---|
ScrollPanelControl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic void bind(Nifty niftyParam, Screen screenParam, Element elementParam, Properties parameter, Attributes controlDefinitionAttributes)
bind in interface Controllerpublic void init(Properties parameter, Attributes controlDefinitionAttributes)
init in interface Controllerinit in class AbstractControllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic void layoutCallback()
layoutCallback in interface NiftyControllayoutCallback in class AbstractControllerpublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic void setHorizontalPos(float xPos)
ScrollPanelsetHorizontalPos in interface ScrollPanelxPos - new positionpublic float getHorizontalPos()
ScrollPanelgetHorizontalPos in interface ScrollPanelpublic void setVerticalPos(float yPos)
ScrollPanelsetVerticalPos in interface ScrollPanelyPos - new positionpublic float getVerticalPos()
ScrollPanelgetVerticalPos in interface ScrollPanelpublic void showElementVertical(int elemCount)
ScrollPanelshowElementVertical in interface ScrollPanelelemCount - element indexpublic void setUp(float stepSizeX,
float stepSizeY,
float pageSizeX,
float pageSizeY,
ScrollPanel.AutoScroll auto)
ScrollPanelsetUp in interface ScrollPanelstepSizeX - step size xstepSizeY - step size ypageSizeX - page size xpageSizeY - page size yauto - autopublic void setAutoScroll(ScrollPanel.AutoScroll auto)
ScrollPanelsetAutoScroll in interface ScrollPanelauto - auto scroll modepublic ScrollPanel.AutoScroll getAutoScroll()
ScrollPanelgetAutoScroll in interface ScrollPanelpublic void setStepSizeX(float stepSizeX)
ScrollPanelsetStepSizeX in interface ScrollPanelpublic void setStepSizeY(float stepSizeY)
ScrollPanelsetStepSizeY in interface ScrollPanelstepSizeY - step size ypublic void setPageSizeX(float pageSizeX)
ScrollPanelsetPageSizeX in interface ScrollPanelpageSizeX - page size xpublic void setPageSizeY(float pageSizeY)
ScrollPanelsetPageSizeY in interface ScrollPanelpageSizeY - page sze ypublic void mouseWheel(Element e, NiftyMouseInputEvent inputEvent)
Copyright © 2013. All Rights Reserved.