toggle menu
doodle
0.10.3
common
switch theme
search in API
controls
/
io.nacular.doodle.controls.theme.range
/
AbstractSliderBehavior
Abstract
Slider
Behavior
abstract
class
AbstractSliderBehavior
<
T
:
Comparable
<
T
>
>
(
focusManager
:
FocusManager
?
)
:
SliderBehavior
<
T
>
,
PointerListener
,
PointerMotionListener
,
KeyListener
(
source
)
Members
Constructors
Abstract
Slider
Behavior
Link copied to clipboard
constructor
(
focusManager
:
FocusManager
?
)
Functions
dragged
Link copied to clipboard
open
override
fun
dragged
(
event
:
PointerEvent
)
handle
Position
Link copied to clipboard
protected
fun
handlePosition
(
slider
:
Slider
<
T
>
)
:
Double
handle
Size
Link copied to clipboard
protected
fun
handleSize
(
slider
:
Slider
<
T
>
)
:
Double
install
Link copied to clipboard
open
override
fun
install
(
view
:
Slider
<
T
>
)
pressed
Link copied to clipboard
open
override
fun
pressed
(
event
:
KeyEvent
)
open
override
fun
pressed
(
event
:
PointerEvent
)
uninstall
Link copied to clipboard
open
override
fun
uninstall
(
view
:
Slider
<
T
>
)
Inherited functions
adjust
Link copied to clipboard
open
fun
<
A
:
Comparable
<
A
>
,
Number
>
Slider
<
A
>
.
adjust
(
by
:
Double
)
children
Clip
Path
Link copied to clipboard
open
fun
childrenClipPath
(
view
:
Slider
<
T
>
)
:
View.ClipPath
?
clicked
Link copied to clipboard
open
fun
clicked
(
event
:
PointerEvent
)
clip
Canvas
To
Bounds
Link copied to clipboard
open
fun
clipCanvasToBounds
(
view
:
Slider
<
T
>
)
:
Boolean
contains
Link copied to clipboard
open
fun
contains
(
view
:
Slider
<
T
>
,
point
:
Point
)
:
Boolean
entered
Link copied to clipboard
open
fun
entered
(
event
:
PointerEvent
)
exited
Link copied to clipboard
open
fun
exited
(
event
:
PointerEvent
)
mirror
When
Right
To
Left
Link copied to clipboard
open
fun
mirrorWhenRightToLeft
(
view
:
Slider
<
T
>
)
:
Boolean
moved
Link copied to clipboard
open
fun
moved
(
event
:
PointerEvent
)
released
Link copied to clipboard
open
fun
released
(
event
:
KeyEvent
)
open
fun
released
(
event
:
PointerEvent
)
render
Link copied to clipboard
open
fun
render
(
view
:
Slider
<
T
>
,
canvas
:
Canvas
)
set
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
>
)
set
Fraction
Link copied to clipboard
open
fun
Slider
<
T
>
.
setFraction
(
value
:
Float
)