Controller, NiftyControl, ScrollPanelScrollPanel when accessing NiftyControls.@Deprecated public class ScrollPanelControl extends AbstractController implements ScrollPanel
ScrollPanel.AutoScroll, ScrollPanel.VerticalAlign| Constructor | Description |
|---|---|
ScrollPanelControl() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Parameters parameter) |
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(Parameters parameter) |
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, onEndScreen, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic void bind(@Nonnull
Nifty nifty,
@Nonnull
Screen screen,
@Nonnull
Element element,
@Nonnull
Parameters parameter)
bind in interface Controllerpublic void init(@Nonnull
Parameters parameter)
init in interface Controllerinit in class AbstractControllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic void layoutCallback()
layoutCallback in interface NiftyControllayoutCallback in class AbstractControllerpublic boolean inputEvent(@Nonnull
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,
@Nonnull
ScrollPanel.AutoScroll auto)
ScrollPanelsetUp in interface ScrollPanelstepSizeX - step size xstepSizeY - step size ypageSizeX - page size xpageSizeY - page size yauto - autopublic void setAutoScroll(@Nonnull
ScrollPanel.AutoScroll auto)
ScrollPanelsetAutoScroll in interface ScrollPanelauto - auto scroll mode@Nonnull public 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, @Nonnull NiftyMouseInputEvent inputEvent)
Copyright © 2018. All rights reserved.