NavigationDrawerItemBorder

class NavigationDrawerItemBorder


Defines Border for all TV Indication states of a NavigationDrawerItem

Summary

Public constructors

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

create an instance with arbitrary border.

Public functions

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

Public properties

Border

the default Border used when the NavigationDrawerItem is enabled

Border

the Border used when the NavigationDrawerItem is not enabled

Border

the Border used when the NavigationDrawerItem is enabled and focused

Border

the Border used when the NavigationDrawerItem is not enabled and focused

Border

the Border used when the NavigationDrawerItem is enabled, focused and selected

Border

the Border used when the NavigationDrawerItem is enabled and pressed

Border

the Border used when the NavigationDrawerItem is enabled, pressed and selected

Border

the Border used when the NavigationDrawerItem is enabled and selected

Public constructors

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

create an instance with arbitrary border. See NavigationDrawerItemDefaults.border for the default border used in a NavigationDrawerItem

Parameters
border: Border

the default Border used when the NavigationDrawerItem is enabled

focusedBorder: Border

the Border used when the NavigationDrawerItem is enabled and focused

pressedBorder: Border

the Border used when the NavigationDrawerItem is enabled and pressed

selectedBorder: Border

the Border used when the NavigationDrawerItem is enabled and selected

disabledBorder: Border

the Border used when the NavigationDrawerItem is not enabled

focusedSelectedBorder: Border

the Border used when the NavigationDrawerItem is enabled, focused and selected

focusedDisabledBorder: Border

the Border used when the NavigationDrawerItem is not enabled and focused

pressedSelectedBorder: Border

the Border used when the NavigationDrawerItem 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 default Border used when the NavigationDrawerItem is enabled

disabledBorder

Added in 1.0.0
val disabledBorderBorder

the Border used when the NavigationDrawerItem is not enabled

focusedBorder

Added in 1.0.0
val focusedBorderBorder

the Border used when the NavigationDrawerItem is enabled and focused

focusedDisabledBorder

Added in 1.0.0
val focusedDisabledBorderBorder

the Border used when the NavigationDrawerItem is not enabled and focused

focusedSelectedBorder

Added in 1.0.0
val focusedSelectedBorderBorder

the Border used when the NavigationDrawerItem is enabled, focused and selected

pressedBorder

Added in 1.0.0
val pressedBorderBorder

the Border used when the NavigationDrawerItem is enabled and pressed

pressedSelectedBorder

Added in 1.0.0
val pressedSelectedBorderBorder

the Border used when the NavigationDrawerItem is enabled, pressed and selected

selectedBorder

Added in 1.0.0
val selectedBorderBorder

the Border used when the NavigationDrawerItem is enabled and selected