public class SliderImpl extends Object
Constructor and Description |
---|
SliderImpl() |
Modifier and Type | Method and Description |
---|---|
void |
bindToView(SliderView view,
float min,
float max,
float stepSize,
float buttonStepSize) |
float |
getButtonStepSize() |
float |
getMax() |
float |
getMin() |
float |
getStepSize() |
float |
getValue() |
void |
setButtonStepSize(float buttonStepSize) |
void |
setMax(float max) |
void |
setMin(float min) |
void |
setStepSize(float stepSize) |
void |
setup(float min,
float max,
float current,
float stepSize,
float buttonStepSize) |
void |
setValue(float value) |
void |
setValueFromPosition(int pixelX,
int pixelY) |
void |
stepDown() |
void |
stepUp() |
void |
updateView() |
public void bindToView(SliderView view, float min, float max, float stepSize, float buttonStepSize)
public void setValue(float value)
public float getValue()
public void stepUp()
public void stepDown()
public void setValueFromPosition(int pixelX, int pixelY)
public float getMin()
public void setMin(float min)
public float getMax()
public void setMax(float max)
public float getStepSize()
public void setStepSize(float stepSize)
public float getButtonStepSize()
public void setButtonStepSize(float buttonStepSize)
public void setup(float min, float max, float current, float stepSize, float buttonStepSize)
public void updateView()
Copyright © 2013. All Rights Reserved.