class ImgLyFloatSlider : ImgLyUIRelativeContainer, OnSeekBarChangeListener
interface OnSeekBarChangeListener
A callback that notifies clients when the progress level has been changed. This includes changes that were initiated by the user through a touch gesture or arrow key/trackball as well as changes that were initiated programmatically. |
ImgLyFloatSlider(context: Context) ImgLyFloatSlider(context: Context, attrs: AttributeSet) ImgLyFloatSlider(context: Context, attrs: AttributeSet, defStyleAttr: int) |
static fun convertFromRange(value: float, minValue: float, maxValue: float, steps: int): int |
|
static fun convertToRange(value: int, minValue: float, maxValue: float, steps: int): float |
|
fun getMax(): float |
|
fun getMin(): float |
|
fun getPercentageProgress(): float
Get the Progress in percent. |
|
fun getSteps(): int |
|
fun getValue(): float |
|
fun onProgressChanged(seekBar: SeekBar, progress: int, fromUser: boolean): void |
|
fun onStartTrackingTouch(seekBar: SeekBar): void |
|
fun onStopTrackingTouch(seekBar: SeekBar): void |
|
fun onTouchEvent(event: MotionEvent): boolean |
|
fun setMax(max: float): void |
|
fun setMin(min: float): void |
|
fun setOnSeekBarChangeListener(listener: ImgLyFloatSlider.OnSeekBarChangeListener): void |
|
fun setPercentageProgress(percent: float): void
Set the Progress in percent. |
|
fun setSteps(steps: int): void |
|
fun setValue(value: float): void |