Companion

object Companion

Functions

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

Returns all component states.

getState
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

activeStates
Link copied to clipboard
val activeStates: Array<ComponentState>

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

DisabledSelected
Link copied to clipboard
val DisabledSelected: ComponentState

Disabled selected.

DisabledUnselected
Link copied to clipboard
val DisabledUnselected: ComponentState

Disabled and not selected.

Enabled
Link copied to clipboard
val Enabled: ComponentState

Enabled state.

PressedSelected
Link copied to clipboard
val PressedSelected: ComponentState

Pressed selected.

PressedUnselected
Link copied to clipboard
val PressedUnselected: ComponentState

Pressed and not selected.

RolloverSelected
Link copied to clipboard
val RolloverSelected: ComponentState

Selected and rolled over.

RolloverUnselected
Link copied to clipboard
val RolloverUnselected: ComponentState

Not selected and rolled over.

Selected
Link copied to clipboard
val Selected: ComponentState

Selected.