foundation
1.0.0-SNAPSHOT
jvm
foundation
/
org.jetbrains.jewel.foundation.state
/
SelectableComponentState
Selectable
Component
State
interface
SelectableComponentState
:
FocusableComponentState
Inheritors
TreeElementState
ToggleableComponentState
Members
Properties
is
Active
Link copied to clipboard
@
Stable
abstract
val
isActive
:
Boolean
is
Enabled
Link copied to clipboard
@
Stable
abstract
val
isEnabled
:
Boolean
is
Focused
Link copied to clipboard
@
Stable
abstract
val
isFocused
:
Boolean
is
Hovered
Link copied to clipboard
@
Stable
abstract
val
isHovered
:
Boolean
is
Pressed
Link copied to clipboard
@
Stable
abstract
val
isPressed
:
Boolean
is
Selected
Link copied to clipboard
@
Stable
abstract
val
isSelected
:
Boolean
Functions
choose
Value
Link copied to clipboard
@
Composable
open
fun
<
T
>
chooseValue
(
normal
:
T
,
disabled
:
T
,
focused
:
T
,
pressed
:
T
,
hovered
:
T
,
active
:
T
)
:
T