toggle menu
Glok
0.5.1
common
switch theme
search in API
glok-core
/
uk.co.nickthecoder.glok.control
/
ComparableSpinner
Comparable
Spinner
abstract
class
ComparableSpinner
<
V
:
Comparable
<
V
>
,
P
:
Property
<
V
>
>
:
SpinnerBase
<
V
,
P
>
The base class for
Spinners
, whose values are comparable, and have a
min
and
max
value.
Inheritors
DoubleSpinner
FloatSpinner
IntSpinner
Members
Constructors
Comparable
Spinner
Link copied to clipboard
constructor
(
)
Properties
cycle
Link copied to clipboard
var
cycle
:
Boolean
cycle
Property
Link copied to clipboard
val
cycleProperty
:
BooleanProperty
max
Link copied to clipboard
abstract
val
max
:
V
max
Property
Link copied to clipboard
abstract
val
maxProperty
:
P
min
Link copied to clipboard
abstract
val
min
:
V
min
Property
Link copied to clipboard
abstract
val
minProperty
:
P
Functions
adjust
Link copied to clipboard
open
override
fun
adjust
(
direction
:
Int
,
byLargeStep
:
Boolean
)
is
Valid
Link copied to clipboard
open
override
fun
isValid
(
newValue
:
V
)
:
Boolean