getState

fun getState(isEnabled: Boolean, isRollover: Boolean, isSelected: Boolean, isPressed: Boolean): ComponentState

Returns the component state that matches the specified parameters.

Return

The component state that matches the specified parameters.

Parameters

isEnabled

Enabled flag.

isRollover

Rollover flag.

isSelected

Selected flag.