toggle menu
doodle
0.10.4
common
switch theme
search in API
controls
/
io.nacular.doodle.controls.theme.range
/
AbstractRangeSliderBehavior
Abstract
Range
Slider
Behavior
abstract
class
AbstractRangeSliderBehavior
<
T
:
Comparable
<
T
>
>
(
focusManager
:
FocusManager
?
)
:
RangeSliderBehavior
<
T
>
,
PointerListener
,
PointerMotionListener
,
KeyListener
(
source
)
Members
Constructors
Abstract
Range
Slider
Behavior
Link copied to clipboard
constructor
(
focusManager
:
FocusManager
?
)
Inherited properties
fraction
Link copied to clipboard
open
var
RangeSlider
<
T
>
.
fraction
:
ClosedRange
<
Float
>
Functions
dragged
Link copied to clipboard
open
override
fun
dragged
(
event
:
PointerEvent
)
end
Handle
Position
Link copied to clipboard
protected
fun
endHandlePosition
(
slider
:
RangeSlider
<
T
>
)
:
Double
handle
Position
Link copied to clipboard
protected
fun
handlePosition
(
slider
:
RangeSlider
<
T
>
,
fraction
:
Float
)
:
Double
handle
Size
Link copied to clipboard
protected
fun
handleSize
(
slider
:
RangeSlider
<
T
>
)
:
Double
install
Link copied to clipboard
open
override
fun
install
(
view
:
RangeSlider
<
T
>
)
pressed
Link copied to clipboard
open
override
fun
pressed
(
event
:
KeyEvent
)
open
override
fun
pressed
(
event
:
PointerEvent
)
range
Size
Link copied to clipboard
protected
fun
rangeSize
(
slider
:
RangeSlider
<
T
>
)
:
Double
start
Handle
Position
Link copied to clipboard
protected
fun
startHandlePosition
(
slider
:
RangeSlider
<
T
>
)
:
Double
uninstall
Link copied to clipboard
open
override
fun
uninstall
(
view
:
RangeSlider
<
T
>
)
Inherited functions
adjust
Link copied to clipboard
open
fun
<
A
:
Comparable
<
A
>
,
Number
>
RangeSlider
<
A
>
.
adjust
(
startBy
:
Double
,
endBy
:
Double
)
children
Clip
Path
Link copied to clipboard
open
fun
childrenClipPath
(
view
:
RangeSlider
<
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
:
RangeSlider
<
T
>
)
:
Boolean
contains
Link copied to clipboard
open
fun
contains
(
view
:
RangeSlider
<
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
:
RangeSlider
<
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
:
RangeSlider
<
T
>
,
canvas
:
Canvas
)
set
Link copied to clipboard
open
fun
<
A
:
Comparable
<
A
>
,
Number
>
RangeSlider
<
A
>
.
set
(
to
:
ClosedRange
<
Double
>
)
set
Limits
Link copied to clipboard
open
fun
<
T
:
Number
,
Comparable
<
T
>
>
RangeSlider
<
T
>
.
setLimits
(
range
:
ClosedRange
<
Double
>
)