Companion

object Companion

Functions

Link copied to clipboard
fun getAllStates(): Array<ComponentState>

Returns all component states.

Link copied to clipboard
fun getState(isEnabled: Boolean, isRollover: Boolean, isSelected: Boolean, isPressed: Boolean): ComponentState

Returns the component state that matches the specified parameters.

Properties

Link copied to clipboard
val activeStates: Array<ComponentState>

Returns all active component states. Note that the result will not contain ComponentState.Enabled.

Link copied to clipboard
val DisabledSelected: ComponentState

Disabled selected.

Link copied to clipboard
val DisabledUnselected: ComponentState

Disabled and not selected.

Link copied to clipboard
val Enabled: ComponentState

Enabled state.

Link copied to clipboard
val PressedSelected: ComponentState

Pressed selected.

Link copied to clipboard
val PressedUnselected: ComponentState

Pressed and not selected.

Link copied to clipboard
val RolloverSelected: ComponentState

Selected and rolled over.

Link copied to clipboard
val RolloverUnselected: ComponentState

Not selected and rolled over.

Link copied to clipboard
val Selected: ComponentState

Selected.