SplitRadioButtonColors

class SplitRadioButtonColors


Represents the different colors used in SplitRadioButton in different states.

Summary

Public constructors

SplitRadioButtonColors(
    selectedContainerColor: Color,
    selectedContentColor: Color,
    selectedSecondaryContentColor: Color,
    selectedSplitContainerColor: Color,
    selectedControlColor: Color,
    unselectedContainerColor: Color,
    unselectedContentColor: Color,
    unselectedSecondaryContentColor: Color,
    unselectedSplitContainerColor: Color,
    unselectedControlColor: Color,
    disabledSelectedContainerColor: Color,
    disabledSelectedContentColor: Color,
    disabledSelectedSecondaryContentColor: Color,
    disabledSelectedSplitContainerColor: Color,
    disabledSelectedControlColor: Color,
    disabledUnselectedContainerColor: Color,
    disabledUnselectedContentColor: Color,
    disabledUnselectedSecondaryContentColor: Color,
    disabledUnselectedSplitContainerColor: Color,
    disabledUnselectedControlColor: Color
)

SplitRadioButtonColors constructor to be used with SplitRadioButton

Public functions

SplitRadioButtonColors
copy(
    selectedContainerColor: Color,
    selectedContentColor: Color,
    selectedSecondaryContentColor: Color,
    selectedSplitContainerColor: Color,
    selectedControlColor: Color,
    unselectedContainerColor: Color,
    unselectedContentColor: Color,
    unselectedSecondaryContentColor: Color,
    unselectedSplitContainerColor: Color,
    unselectedControlColor: Color,
    disabledSelectedContainerColor: Color,
    disabledSelectedContentColor: Color,
    disabledSelectedSecondaryContentColor: Color,
    disabledSelectedSplitContainerColor: Color,
    disabledSelectedControlColor: Color,
    disabledUnselectedContainerColor: Color,
    disabledUnselectedContentColor: Color,
    disabledUnselectedSecondaryContentColor: Color,
    disabledUnselectedSplitContainerColor: Color,
    disabledUnselectedControlColor: Color
)

Returns a copy of this SplitRadioButtonColors optionally overriding some of the values.

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

Public properties

Color

Container color when the SplitRadioButton is disabled and selected

Color

Color of the content (e.g. label) when the SplitRadioButton is disabled and selected

Color

Selection control color when the SplitRadioButton is disabled and selected

Color

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is disabled and selected

Color

Split container color when the SplitRadioButton is disabled and selected

Color

Container color when the SplitRadioButton is unselected and disabled

Color

Color of the content (e.g. label) when the split radio button is unselected and disabled

Color

Selection control color when the SplitRadioButton is unselected and disabled

Color

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is unselected and disabled

Color

Split container color when the SplitRadioButton is unselected and disabled

Color

Container or background color when the SplitRadioButton is selected

Color

Color of the content (e.g. label) when the SplitRadioButton is selected

Color

Selection control color when the SplitRadioButton is selected

Color

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is selected

Color

Split container color when the SplitRadioButton is selected

Color

Container or background color when the SplitRadioButton is unselected

Color

Color of the content (e.g. label) when the SplitRadioButton is unselected

Color

Selection control color when the SplitRadioButton is unselected

Color

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is unselected

Color

Split container color when the SplitRadioButton is unselected

Public constructors

SplitRadioButtonColors

SplitRadioButtonColors(
    selectedContainerColor: Color,
    selectedContentColor: Color,
    selectedSecondaryContentColor: Color,
    selectedSplitContainerColor: Color,
    selectedControlColor: Color,
    unselectedContainerColor: Color,
    unselectedContentColor: Color,
    unselectedSecondaryContentColor: Color,
    unselectedSplitContainerColor: Color,
    unselectedControlColor: Color,
    disabledSelectedContainerColor: Color,
    disabledSelectedContentColor: Color,
    disabledSelectedSecondaryContentColor: Color,
    disabledSelectedSplitContainerColor: Color,
    disabledSelectedControlColor: Color,
    disabledUnselectedContainerColor: Color,
    disabledUnselectedContentColor: Color,
    disabledUnselectedSecondaryContentColor: Color,
    disabledUnselectedSplitContainerColor: Color,
    disabledUnselectedControlColor: Color
)

SplitRadioButtonColors constructor to be used with SplitRadioButton

Parameters
selectedContainerColor: Color

Container or background color when the SplitRadioButton is selected

selectedContentColor: Color

Color of the content (e.g. label) when the SplitRadioButton is selected

selectedSecondaryContentColor: Color

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is selected

selectedSplitContainerColor: Color

Split container color when the SplitRadioButton is selected

selectedControlColor: Color

Selection control color when the SplitRadioButton is selected

unselectedContainerColor: Color

Container or background color when the SplitRadioButton is unselected

unselectedContentColor: Color

Color of the content (e.g. label) when the SplitRadioButton is unselected

unselectedSecondaryContentColor: Color

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is unselected

unselectedSplitContainerColor: Color

Split container color when the SplitRadioButton is unselected

unselectedControlColor: Color

Selection control color when the SplitRadioButton is unselected

disabledSelectedContainerColor: Color

Container color when the SplitRadioButton is disabled and selected

disabledSelectedContentColor: Color

Color of the content (e.g. label) when the SplitRadioButton is disabled and selected

disabledSelectedSecondaryContentColor: Color

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is disabled and selected

disabledSelectedSplitContainerColor: Color

Split container color when the SplitRadioButton is disabled and selected

disabledSelectedControlColor: Color

Selection control color when the SplitRadioButton is disabled and selected

disabledUnselectedContainerColor: Color

Container color when the SplitRadioButton is unselected and disabled

disabledUnselectedContentColor: Color

Color of the content (e.g. label) when the split radio button is unselected and disabled

disabledUnselectedSecondaryContentColor: Color

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is unselected and disabled

disabledUnselectedSplitContainerColor: Color

Split container color when the SplitRadioButton is unselected and disabled

disabledUnselectedControlColor: Color

Selection control color when the SplitRadioButton is unselected and disabled

Public functions

copy

fun copy(
    selectedContainerColor: Color = this.selectedContainerColor,
    selectedContentColor: Color = this.selectedContentColor,
    selectedSecondaryContentColor: Color = this.selectedSecondaryContentColor,
    selectedSplitContainerColor: Color = this.selectedSplitContainerColor,
    selectedControlColor: Color = this.selectedControlColor,
    unselectedContainerColor: Color = this.unselectedContainerColor,
    unselectedContentColor: Color = this.unselectedContentColor,
    unselectedSecondaryContentColor: Color = this.unselectedSecondaryContentColor,
    unselectedSplitContainerColor: Color = this.unselectedSplitContainerColor,
    unselectedControlColor: Color = this.unselectedControlColor,
    disabledSelectedContainerColor: Color = this.disabledSelectedContainerColor,
    disabledSelectedContentColor: Color = this.disabledSelectedContentColor,
    disabledSelectedSecondaryContentColor: Color = this.disabledSelectedSecondaryContentColor,
    disabledSelectedSplitContainerColor: Color = this.disabledSelectedSplitContainerColor,
    disabledSelectedControlColor: Color = this.disabledSelectedControlColor,
    disabledUnselectedContainerColor: Color = this.disabledUnselectedContainerColor,
    disabledUnselectedContentColor: Color = this.disabledUnselectedContentColor,
    disabledUnselectedSecondaryContentColor: Color = this.disabledUnselectedSecondaryContentColor,
    disabledUnselectedSplitContainerColor: Color = this.disabledUnselectedSplitContainerColor,
    disabledUnselectedControlColor: Color = this.disabledUnselectedControlColor
): SplitRadioButtonColors

Returns a copy of this SplitRadioButtonColors optionally overriding some of the values.

Parameters
selectedContainerColor: Color = this.selectedContainerColor

Container or background color when the SplitRadioButton is selected

selectedContentColor: Color = this.selectedContentColor

Color of the content (e.g. label) when the SplitRadioButton is selected

selectedSecondaryContentColor: Color = this.selectedSecondaryContentColor

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is selected

selectedSplitContainerColor: Color = this.selectedSplitContainerColor

Split container color when the SplitRadioButton is selected

selectedControlColor: Color = this.selectedControlColor

Selection control color when the SplitRadioButton is selected

unselectedContainerColor: Color = this.unselectedContainerColor

Container or background color when the SplitRadioButton is unselected

unselectedContentColor: Color = this.unselectedContentColor

Color of the content (e.g. label) when the SplitRadioButton is unselected

unselectedSecondaryContentColor: Color = this.unselectedSecondaryContentColor

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is unselected

unselectedSplitContainerColor: Color = this.unselectedSplitContainerColor

Split container color when the SplitRadioButton is unselected

unselectedControlColor: Color = this.unselectedControlColor

Selection control color when the SplitRadioButton is unselected

disabledSelectedContainerColor: Color = this.disabledSelectedContainerColor

Container color when the SplitRadioButton is disabled and selected

disabledSelectedContentColor: Color = this.disabledSelectedContentColor

Color of the content (e.g. label) when the SplitRadioButton is disabled and selected

disabledSelectedSecondaryContentColor: Color = this.disabledSelectedSecondaryContentColor

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is disabled and selected

disabledSelectedSplitContainerColor: Color = this.disabledSelectedSplitContainerColor

Split container color when the SplitRadioButton is disabled and selected

disabledSelectedControlColor: Color = this.disabledSelectedControlColor

Selection control color when the SplitRadioButton is disabled and selected

disabledUnselectedContainerColor: Color = this.disabledUnselectedContainerColor

Container color when the SplitRadioButton is unselected and disabled

disabledUnselectedContentColor: Color = this.disabledUnselectedContentColor

Color of the content (e.g. label) when the split radio button is unselected and disabled

disabledUnselectedSecondaryContentColor: Color = this.disabledUnselectedSecondaryContentColor

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is unselected and disabled

disabledUnselectedSplitContainerColor: Color = this.disabledUnselectedSplitContainerColor

Split container color when the SplitRadioButton is unselected and disabled

disabledUnselectedControlColor: Color = this.disabledUnselectedControlColor

Selection control color when the SplitRadioButton is unselected and disabled

equals

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

hashCode

open fun hashCode(): Int

Public properties

disabledSelectedContainerColor

Added in 1.0.0-alpha29
val disabledSelectedContainerColorColor

Container color when the SplitRadioButton is disabled and selected

disabledSelectedContentColor

Added in 1.0.0-alpha29
val disabledSelectedContentColorColor

Color of the content (e.g. label) when the SplitRadioButton is disabled and selected

disabledSelectedControlColor

Added in 1.0.0-alpha29
val disabledSelectedControlColorColor

Selection control color when the SplitRadioButton is disabled and selected

disabledSelectedSecondaryContentColor

Added in 1.0.0-alpha29
val disabledSelectedSecondaryContentColorColor

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is disabled and selected

disabledSelectedSplitContainerColor

Added in 1.0.0-alpha29
val disabledSelectedSplitContainerColorColor

Split container color when the SplitRadioButton is disabled and selected

disabledUnselectedContainerColor

Added in 1.0.0-alpha29
val disabledUnselectedContainerColorColor

Container color when the SplitRadioButton is unselected and disabled

disabledUnselectedContentColor

Added in 1.0.0-alpha29
val disabledUnselectedContentColorColor

Color of the content (e.g. label) when the split radio button is unselected and disabled

disabledUnselectedControlColor

Added in 1.0.0-alpha29
val disabledUnselectedControlColorColor

Selection control color when the SplitRadioButton is unselected and disabled

disabledUnselectedSecondaryContentColor

Added in 1.0.0-alpha29
val disabledUnselectedSecondaryContentColorColor

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is unselected and disabled

disabledUnselectedSplitContainerColor

Added in 1.0.0-alpha29
val disabledUnselectedSplitContainerColorColor

Split container color when the SplitRadioButton is unselected and disabled

selectedContainerColor

Added in 1.0.0-alpha29
val selectedContainerColorColor

Container or background color when the SplitRadioButton is selected

selectedContentColor

Added in 1.0.0-alpha29
val selectedContentColorColor

Color of the content (e.g. label) when the SplitRadioButton is selected

selectedControlColor

Added in 1.0.0-alpha29
val selectedControlColorColor

Selection control color when the SplitRadioButton is selected

selectedSecondaryContentColor

Added in 1.0.0-alpha29
val selectedSecondaryContentColorColor

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is selected

selectedSplitContainerColor

Added in 1.0.0-alpha29
val selectedSplitContainerColorColor

Split container color when the SplitRadioButton is selected

unselectedContainerColor

Added in 1.0.0-alpha29
val unselectedContainerColorColor

Container or background color when the SplitRadioButton is unselected

unselectedContentColor

Added in 1.0.0-alpha29
val unselectedContentColorColor

Color of the content (e.g. label) when the SplitRadioButton is unselected

unselectedControlColor

Added in 1.0.0-alpha29
val unselectedControlColorColor

Selection control color when the SplitRadioButton is unselected

unselectedSecondaryContentColor

Added in 1.0.0-alpha29
val unselectedSecondaryContentColorColor

Color of the secondary content (e.g. secondary label) when the SplitRadioButton is unselected

unselectedSplitContainerColor

Added in 1.0.0-alpha29
val unselectedSplitContainerColorColor

Split container color when the SplitRadioButton is unselected