|
||||||||||
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 NiftyControl
public String getId()
getId
in interface NiftyControl
public void setId(String id)
setId
in interface NiftyControl
public int getWidth()
getWidth
in interface NiftyControl
public void setWidth(SizeValue width)
setWidth
in interface NiftyControl
public int getHeight()
getHeight
in interface NiftyControl
public void setHeight(SizeValue height)
setHeight
in interface NiftyControl
public String getStyle()
getStyle
in interface NiftyControl
public void setStyle(String style)
setStyle
in interface NiftyControl
public void enable()
enable
in interface NiftyControl
public void disable()
disable
in interface NiftyControl
public void setEnabled(boolean enabled)
setEnabled
in interface NiftyControl
public boolean isEnabled()
isEnabled
in interface NiftyControl
public void setup(float min, float max, float current, float stepSize, float buttonStepSize)
Slider
setup
in interface Slider
min
- minimum valuemax
- maximum valuecurrent
- current valuestepSize
- step sizebuttonStepSize
- button step sizepublic void setValue(float value)
Slider
setValue
in interface Slider
value
- the new value for the sliderpublic float getValue()
Slider
getValue
in interface Slider
public void setMin(float min)
Slider
setMin
in interface Slider
min
- new minimum valuepublic float getMin()
Slider
getMin
in interface Slider
public void setMax(float max)
Slider
setMax
in interface Slider
max
- the new maximumpublic float getMax()
Slider
getMax
in interface Slider
public void setStepSize(float stepSize)
Slider
setStepSize
in interface Slider
stepSize
- the new step sizepublic float getStepSize()
Slider
getStepSize
in interface Slider
public void setButtonStepSize(float buttonStepSize)
Slider
setButtonStepSize
in interface Slider
buttonStepSize
- the new button step size valuepublic float getButtonStepSize()
Slider
getButtonStepSize
in interface Slider
public void setFocus()
setFocus
in interface NiftyControl
public void setFocusable(boolean focusable)
setFocusable
in interface NiftyControl
public boolean hasFocus()
hasFocus
in interface NiftyControl
public void layoutCallback()
layoutCallback
in interface NiftyControl
public boolean isBound()
isBound
in interface NiftyControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |