ListItemGlow

class ListItemGlow


Represents the Glow of ListItem for different interaction states.

Summary

Public constructors

ListItemGlow(
    glow: Glow,
    focusedGlow: Glow,
    pressedGlow: Glow,
    selectedGlow: Glow,
    focusedSelectedGlow: Glow,
    pressedSelectedGlow: Glow
)

create an instance with arbitrary glows.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Glow

the Glow used when the ListItem is enabled and focused.

Glow

the Glow used when the ListItem is enabled, focused and selected.

Glow

the Glow used when the ListItem is enabled.

Glow

the Glow used when the ListItem is enabled and pressed.

Glow

the Glow used when the ListItem is enabled, pressed and selected.

Glow

the Glow used when the ListItem is enabled and selected.

Public constructors

ListItemGlow

Added in 1.0.0
ListItemGlow(
    glow: Glow,
    focusedGlow: Glow,
    pressedGlow: Glow,
    selectedGlow: Glow,
    focusedSelectedGlow: Glow,
    pressedSelectedGlow: Glow
)

create an instance with arbitrary glows. See ListItemDefaults.glow for the default glows used in a ListItem.

Parameters
glow: Glow

the Glow used when the ListItem is enabled.

focusedGlow: Glow

the Glow used when the ListItem is enabled and focused.

pressedGlow: Glow

the Glow used when the ListItem is enabled and pressed.

selectedGlow: Glow

the Glow used when the ListItem is enabled and selected.

focusedSelectedGlow: Glow

the Glow used when the ListItem is enabled, focused and selected.

pressedSelectedGlow: Glow

the Glow used when the ListItem is enabled, pressed and selected.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

focusedGlow

Added in 1.0.0
val focusedGlowGlow

the Glow used when the ListItem is enabled and focused.

focusedSelectedGlow

Added in 1.0.0
val focusedSelectedGlowGlow

the Glow used when the ListItem is enabled, focused and selected.

glow

Added in 1.0.0
val glowGlow

the Glow used when the ListItem is enabled.

pressedGlow

Added in 1.0.0
val pressedGlowGlow

the Glow used when the ListItem is enabled and pressed.

pressedSelectedGlow

Added in 1.0.0
val pressedSelectedGlowGlow

the Glow used when the ListItem is enabled, pressed and selected.

selectedGlow

Added in 1.0.0
val selectedGlowGlow

the Glow used when the ListItem is enabled and selected.