|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lessvoid.nifty.controls.nullobjects.ScrollbarNull
public class ScrollbarNull
| Constructor Summary | |
|---|---|
ScrollbarNull()
|
|
| Method Summary | |
|---|---|
void |
disable()
|
void |
enable()
|
float |
getButtonStepSize()
Get the current button step size. |
Element |
getElement()
|
int |
getHeight()
|
String |
getId()
|
float |
getPageStepSize()
Get the current page size. |
String |
getStyle()
|
float |
getValue()
Get the current value of the scrollbar. |
int |
getWidth()
|
float |
getWorldMax()
Get the current maximum of the scrollbar. |
float |
getWorldPageSize()
Get the current page size |
boolean |
hasFocus()
|
boolean |
isBound()
|
boolean |
isEnabled()
|
void |
layoutCallback()
|
void |
setButtonStepSize(float stepSize)
Set the button step size to a new value. |
void |
setEnabled(boolean enabled)
|
void |
setFocus()
|
void |
setFocusable(boolean focusable)
|
void |
setHeight(SizeValue height)
|
void |
setId(String id)
|
void |
setPageStepSize(float stepSize)
Set a new page size for page up/down and clicks on the background. |
void |
setStyle(String style)
|
void |
setup(float value,
float worldMax,
float worldPageSize,
float buttonStepSize,
float pageStepSize)
Setup all parameters of this Scrollbar. |
void |
setValue(float value)
Change the value of the scrollbar. |
void |
setWidth(SizeValue width)
|
void |
setWorldMax(float worldMax)
Set the new maximum of the scrollbar. |
void |
setWorldPageSize(float worldPageSize)
Set the new page size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScrollbarNull()
| Method Detail |
|---|
public Element getElement()
getElement in interface NiftyControlpublic String getId()
getId in interface NiftyControlpublic void setId(String id)
setId in interface NiftyControlpublic int getWidth()
getWidth in interface NiftyControlpublic void setWidth(SizeValue width)
setWidth in interface NiftyControlpublic int getHeight()
getHeight in interface NiftyControlpublic void setHeight(SizeValue height)
setHeight in interface NiftyControlpublic String getStyle()
getStyle in interface NiftyControlpublic void setStyle(String style)
setStyle in interface NiftyControlpublic void enable()
enable in interface NiftyControlpublic void disable()
disable in interface NiftyControlpublic void setEnabled(boolean enabled)
setEnabled in interface NiftyControlpublic boolean isEnabled()
isEnabled in interface NiftyControl
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 Scrollbarpublic void setFocus()
setFocus in interface NiftyControlpublic void setFocusable(boolean focusable)
setFocusable in interface NiftyControlpublic boolean hasFocus()
hasFocus in interface NiftyControlpublic void layoutCallback()
layoutCallback in interface NiftyControlpublic boolean isBound()
isBound in interface NiftyControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||