public interface SliderView
| Modifier and Type | Method | Description |
|---|---|---|
int |
filter(int pixelX,
int pixelY) |
This translates the given x/y position into a single value.
|
int |
getSize() |
Get the size of the Slider area.
|
void |
update(int position) |
Update the Position of the slider.
|
void |
valueChanged(float value) |
That's a callback that is called when the value has been changed.
|
int getSize()
void update(int position)
position - the new position in pxint filter(int pixelX,
int pixelY)
pixelX - xpixelY - yvoid valueChanged(float value)
value - the new valueCopyright © 2018. All rights reserved.