|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lessvoid.nifty.controls.nullobjects.SliderNull
public class SliderNull
| Constructor Summary | |
|---|---|
SliderNull()
|
|
| Method Summary | |
|---|---|
void |
disable()
|
void |
enable()
|
float |
getButtonStepSize()
Get the current button step size. |
Element |
getElement()
|
int |
getHeight()
|
String |
getId()
|
float |
getMax()
Get the current maximum value. |
float |
getMin()
Get the current minimum value for the Slider. |
float |
getStepSize()
Get the current StepSize. |
String |
getStyle()
|
float |
getValue()
Get the current value of the Slider. |
int |
getWidth()
|
boolean |
hasFocus()
|
boolean |
isBound()
|
boolean |
isEnabled()
|
void |
layoutCallback()
|
void |
setButtonStepSize(float buttonStepSize)
Set a new Button StepSize. |
void |
setEnabled(boolean enabled)
|
void |
setFocus()
|
void |
setFocusable(boolean focusable)
|
void |
setHeight(SizeValue height)
|
void |
setId(String id)
|
void |
setMax(float max)
Set a new maximum value for the Slider. |
void |
setMin(float min)
Set a new minimum value for the Slider. |
void |
setStepSize(float stepSize)
Set a new StepSize. |
void |
setStyle(String style)
|
void |
setup(float min,
float max,
float current,
float stepSize,
float buttonStepSize)
Set all attributes at once. |
void |
setValue(float value)
Set the Slider value to a new value. |
void |
setWidth(SizeValue width)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SliderNull()
| 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 min,
float max,
float current,
float stepSize,
float buttonStepSize)
Slider
setup in interface Slidermin - minimum valuemax - maximum valuecurrent - current valuestepSize - step sizebuttonStepSize - button step sizepublic void setValue(float value)
Slider
setValue in interface Slidervalue - the new value for the sliderpublic float getValue()
Slider
getValue in interface Sliderpublic void setMin(float min)
Slider
setMin in interface Slidermin - new minimum valuepublic float getMin()
Slider
getMin in interface Sliderpublic void setMax(float max)
Slider
setMax in interface Slidermax - the new maximumpublic float getMax()
Slider
getMax in interface Sliderpublic void setStepSize(float stepSize)
Slider
setStepSize in interface SliderstepSize - the new step sizepublic float getStepSize()
Slider
getStepSize in interface Sliderpublic void setButtonStepSize(float buttonStepSize)
Slider
setButtonStepSize in interface SliderbuttonStepSize - the new button step size valuepublic float getButtonStepSize()
Slider
getButtonStepSize in interface Sliderpublic 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 | |||||||||