Scrollbar when accessing NiftyControls.@Deprecated public class ScrollbarControl extends AbstractController implements Scrollbar
| Constructor and Description |
|---|
ScrollbarControl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes)
Deprecated.
|
void |
click(int mouseX,
int mouseY)
Deprecated.
|
boolean |
consumeRelease()
Deprecated.
|
void |
downClick()
Deprecated.
|
float |
getButtonStepSize()
Deprecated.
Get the current button step size.
|
float |
getPageStepSize()
Deprecated.
Get the current page size.
|
float |
getValue()
Deprecated.
Get the current value of the scrollbar.
|
float |
getWorldMax()
Deprecated.
Get the current maximum of the scrollbar.
|
float |
getWorldPageSize()
Deprecated.
Get the current page size
|
boolean |
inputEvent(NiftyInputEvent inputEvent)
Deprecated.
|
void |
layoutCallback()
Deprecated.
|
void |
mouseMove(int mouseX,
int mouseY)
Deprecated.
|
void |
mouseMoveStart(int mouseX,
int mouseY)
Deprecated.
|
boolean |
mouseWheel(Element element,
NiftyMouseInputEvent inputEvent)
Deprecated.
|
void |
onStartScreen()
Deprecated.
|
void |
setButtonStepSize(float stepSize)
Deprecated.
Set the button step size to a new value.
|
void |
setPageStepSize(float stepSize)
Deprecated.
Set a new page size for page up/down and clicks on the background.
|
void |
setup(float value,
float worldMax,
float worldPageSize,
float buttonStepSize,
float pageStepSize)
Deprecated.
Setup all parameters of this Scrollbar.
|
void |
setValue(float value)
Deprecated.
Change the value of the scrollbar.
|
void |
setWorldMax(float worldMax)
Deprecated.
Set the new maximum of the scrollbar.
|
void |
setWorldPageSize(float worldPageSize)
Deprecated.
Set the new page size
|
void |
upClick()
Deprecated.
|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, 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 nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind in interface Controllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic void layoutCallback()
layoutCallback in interface NiftyControllayoutCallback in class AbstractControllerpublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic void upClick()
public void downClick()
public void click(int mouseX,
int mouseY)
public void mouseMoveStart(int mouseX,
int mouseY)
public void mouseMove(int mouseX,
int mouseY)
public boolean consumeRelease()
public boolean mouseWheel(Element element, NiftyMouseInputEvent inputEvent)
public void setup(float value,
float worldMax,
float worldPageSize,
float buttonStepSize,
float pageStepSize)
Scrollbarpublic void setValue(float value)
Scrollbarpublic float getValue()
Scrollbarpublic void setWorldMax(float worldMax)
ScrollbarsetWorldMax in interface ScrollbarworldMax - new maximumpublic float getWorldMax()
ScrollbargetWorldMax in interface Scrollbarpublic void setWorldPageSize(float worldPageSize)
ScrollbarsetWorldPageSize in interface ScrollbarworldPageSize - new page sizepublic float getWorldPageSize()
ScrollbargetWorldPageSize in interface Scrollbarpublic void setButtonStepSize(float stepSize)
ScrollbarsetButtonStepSize in interface ScrollbarstepSize - step sizepublic float getButtonStepSize()
ScrollbargetButtonStepSize in interface Scrollbarpublic void setPageStepSize(float stepSize)
ScrollbarsetPageStepSize in interface ScrollbarstepSize - new step sizepublic float getPageStepSize()
ScrollbargetPageStepSize in interface ScrollbarCopyright © 2013. All Rights Reserved.