Slider when accessing NiftyControls.@Deprecated public class SliderControl extends AbstractController implements Slider
| Constructor and Description |
|---|
SliderControl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic 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)
Sliderpublic float getValue()
Sliderpublic void setMin(float min)
Sliderpublic float getMin()
Sliderpublic void setMax(float max)
Sliderpublic float getMax()
Sliderpublic void setStepSize(float stepSize)
SlidersetStepSize in interface SliderstepSize - the new step sizepublic float getStepSize()
SlidergetStepSize in interface Sliderpublic void setButtonStepSize(float buttonStepSize)
SlidersetButtonStepSize in interface SliderbuttonStepSize - the new button step size valuepublic float getButtonStepSize()
SlidergetButtonStepSize in interface Sliderpublic void setup(float min,
float max,
float current,
float stepSize,
float buttonStepSize)
SliderCopyright © 2013. All Rights Reserved.