foundation
0.8.0
jvm
foundation
/
org.jetbrains.jewel.foundation.state
/
ToggleableComponentState
Toggleable
Component
State
interface
ToggleableComponentState
:
SelectableComponentState
Members
Types
Companion
Link copied to clipboard
object
Companion
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
toggleable
State
Link copied to clipboard
@
Stable
abstract
val
toggleableState
:
ToggleableState
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