|
||||||||||
| 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.slider.SliderControl
Slider when accessing NiftyControls.
@Deprecated public class SliderControl
| Constructor Summary | |
|---|---|
SliderControl()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes)
Deprecated. |
void |
downClick()
Deprecated. |
float |
getButtonStepSize()
Deprecated. Get the current button step size. |
float |
getMax()
Deprecated. Get the current maximum value. |
float |
getMin()
Deprecated. Get the current minimum value for the Slider. |
float |
getStepSize()
Deprecated. Get the current StepSize. |
float |
getValue()
Deprecated. Get the current value of the Slider. |
boolean |
inputEvent(NiftyInputEvent inputEvent)
Deprecated. |
void |
layoutCallback()
Deprecated. |
void |
mouseClick(int mouseX,
int mouseY)
Deprecated. |
void |
mouseWheel(Element element,
NiftyMouseInputEvent inputEvent)
Deprecated. |
void |
onStartScreen()
Deprecated. |
void |
setButtonStepSize(float buttonStepSize)
Deprecated. Set a new Button StepSize. |
void |
setMax(float max)
Deprecated. Set a new maximum value for the Slider. |
void |
setMin(float min)
Deprecated. Set a new minimum value for the Slider. |
void |
setStepSize(float stepSize)
Deprecated. Set a new StepSize. |
void |
setup(float min,
float max,
float current,
float stepSize,
float buttonStepSize)
Deprecated. Set all attributes at once. |
void |
setValue(float value)
Deprecated. Set the Slider value to a new value. |
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 SliderControl()
| 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 mouseClick(int mouseX,
int mouseY)
public void mouseWheel(Element element,
NiftyMouseInputEvent inputEvent)
public 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 Slider
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 size
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||