BasicSliderBehavior

class BasicSliderBehavior<T : Comparable<T>>(barFill: (Slider<T>) -> Paint, knobFill: (Slider<T>) -> Paint, rangeFill: (Slider<T>) -> Paint? = null, grooveThicknessRatio: Float = 0.6f, showTicks: TickPresentation? = null, focusManager: FocusManager? = null) : AbstractSliderBehavior<T> (source)

Constructors

Link copied to clipboard
constructor(barFill: Paint = Lightgray.paint, knobFill: Paint = Blue.paint, rangeFill: Paint? = null, grooveThicknessRatio: Float = 0.6f, showTicks: TickPresentation? = null, focusManager: FocusManager? = null)
constructor(barFill: (Slider<T>) -> Paint, knobFill: (Slider<T>) -> Paint, rangeFill: (Slider<T>) -> Paint? = null, grooveThicknessRatio: Float = 0.6f, showTicks: TickPresentation? = null, focusManager: FocusManager? = null)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun render(view: Slider<T>, canvas: Canvas)

Inherited functions

Link copied to clipboard
open fun <A : Comparable<A>, Number> Slider<A>.adjust(by: Double)
Link copied to clipboard
Link copied to clipboard
open fun clicked(event: PointerEvent)
Link copied to clipboard
Link copied to clipboard
open fun contains(view: Slider<T>, point: Point): Boolean
Link copied to clipboard
open override fun dragged(event: PointerEvent)
Link copied to clipboard
open fun entered(event: PointerEvent)
Link copied to clipboard
open fun exited(event: PointerEvent)
Link copied to clipboard
protected fun handlePosition(slider: Slider<T>): Double
Link copied to clipboard
protected fun handleSize(slider: Slider<T>): Double
Link copied to clipboard
open override fun install(view: Slider<T>)
Link copied to clipboard
Link copied to clipboard
open fun moved(event: PointerEvent)
Link copied to clipboard
open override fun pressed(event: KeyEvent)
open override fun pressed(event: PointerEvent)
Link copied to clipboard
open fun released(event: KeyEvent)
open fun released(event: PointerEvent)
Link copied to clipboard
open fun <A : Comparable<A>, Number> Slider<A>.set(to: Double)
open fun <T : Number, Comparable<T>> Slider<T>.set(range: ClosedRange<Double>)
Link copied to clipboard
open fun Slider<T>.setFraction(value: Float)
Link copied to clipboard
open override fun uninstall(view: Slider<T>)