|
||||||||||
| 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.scrollbar.ScrollbarControl
Scrollbar when accessing NiftyControls.
@Deprecated public class ScrollbarControl
| Constructor Summary | |
|---|---|
ScrollbarControl()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
void |
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. |
| Methods inherited from class de.lessvoid.nifty.controls.AbstractController |
|---|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, 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 ScrollbarControl()
| Method Detail |
|---|
public 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 void mouseWheel(Element element,
NiftyMouseInputEvent inputEvent)
public void setup(float value,
float worldMax,
float worldPageSize,
float buttonStepSize,
float pageStepSize)
Scrollbar
setup in interface Scrollbarvalue - the initial valueworldMax - the maximum valueworldPageSize - the page sizebuttonStepSize - the step size for button clickspageStepSize - the step size for page up/down or clicks on the scrollbar backgroundpublic void setValue(float value)
Scrollbar
setValue in interface Scrollbarvalue - the new valuepublic float getValue()
Scrollbar
getValue in interface Scrollbarpublic void setWorldMax(float worldMax)
Scrollbar
setWorldMax in interface ScrollbarworldMax - new maximumpublic float getWorldMax()
Scrollbar
getWorldMax in interface Scrollbarpublic void setWorldPageSize(float worldPageSize)
Scrollbar
setWorldPageSize in interface ScrollbarworldPageSize - new page sizepublic float getWorldPageSize()
Scrollbar
getWorldPageSize in interface Scrollbarpublic void setButtonStepSize(float stepSize)
Scrollbar
setButtonStepSize in interface ScrollbarstepSize - step sizepublic float getButtonStepSize()
Scrollbar
getButtonStepSize in interface Scrollbarpublic void setPageStepSize(float stepSize)
Scrollbar
setPageStepSize in interface ScrollbarstepSize - new step sizepublic float getPageStepSize()
Scrollbar
getPageStepSize in interface Scrollbar
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||