CommandButtonPresentationState

abstract class CommandButtonPresentationState(displayName: String)

Presentation state for command buttons. This class provides a number of core companion presentation states. In addition, it also allows creating additional custom states by using the constructor and implementing the relevant abstract methods.

Constructors

CommandButtonPresentationState
Link copied to clipboard
fun CommandButtonPresentationState(displayName: String)

Types

Companion
Link copied to clipboard
object Companion

Functions

createLayoutManager
Link copied to clipboard
abstract fun createLayoutManager(layoutDirection: LayoutDirection, density: Density, textStyle: TextStyle, resourceLoader: Font.ResourceLoader): CommandButtonLayoutManager
toString
Link copied to clipboard
open override fun toString(): String

Properties

displayName
Link copied to clipboard
val displayName: String