ListItemBorder

class ListItemBorder


Represents the Border of ListItem for different interaction states.

Summary

Public constructors

ListItemBorder(
    border: Border,
    focusedBorder: Border,
    pressedBorder: Border,
    selectedBorder: Border,
    disabledBorder: Border,
    focusedSelectedBorder: Border,
    focusedDisabledBorder: Border,
    pressedSelectedBorder: Border
)

create an instance with arbitrary borders.

Public functions

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

Public properties

Border

the Border used when the ListItem is enabled.

Border

the Border used when the ListItem is not enabled.

Border

the Border used when the ListItem is enabled and focused.

Border

the Border used when the ListItem is not enabled and focused.

Border

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

Border

the Border used when the ListItem is enabled and pressed.

Border

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

Border

the Border used when the ListItem is enabled and selected.

Public constructors

ListItemBorder

Added in 1.0.0
ListItemBorder(
    border: Border,
    focusedBorder: Border,
    pressedBorder: Border,
    selectedBorder: Border,
    disabledBorder: Border,
    focusedSelectedBorder: Border,
    focusedDisabledBorder: Border,
    pressedSelectedBorder: Border
)

create an instance with arbitrary borders. See ListItemDefaults.border for the default borders used in a ListItem.

Parameters
border: Border

the Border used when the ListItem is enabled.

focusedBorder: Border

the Border used when the ListItem is enabled and focused.

pressedBorder: Border

the Border used when the ListItem is enabled and pressed.

selectedBorder: Border

the Border used when the ListItem is enabled and selected.

disabledBorder: Border

the Border used when the ListItem is not enabled.

focusedSelectedBorder: Border

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

focusedDisabledBorder: Border

the Border used when the ListItem is not enabled and focused.

pressedSelectedBorder: Border

the Border 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

border

Added in 1.0.0
val borderBorder

the Border used when the ListItem is enabled.

disabledBorder

Added in 1.0.0
val disabledBorderBorder

the Border used when the ListItem is not enabled.

focusedBorder

Added in 1.0.0
val focusedBorderBorder

the Border used when the ListItem is enabled and focused.

focusedDisabledBorder

Added in 1.0.0
val focusedDisabledBorderBorder

the Border used when the ListItem is not enabled and focused.

focusedSelectedBorder

Added in 1.0.0
val focusedSelectedBorderBorder

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

pressedBorder

Added in 1.0.0
val pressedBorderBorder

the Border used when the ListItem is enabled and pressed.

pressedSelectedBorder

Added in 1.0.0
val pressedSelectedBorderBorder

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

selectedBorder

Added in 1.0.0
val selectedBorderBorder

the Border used when the ListItem is enabled and selected.