CommandButtonPreLayoutInfo

data class CommandButtonPreLayoutInfo(commandButtonKind: CommandButtonKind, showIcon: Boolean, texts: List<String>, extraTexts: List<String>, isTextInActionArea: Boolean, separatorOrientation: CommandButtonLayoutManager.CommandButtonSeparatorOrientation?, showPopupIcon: Boolean)

Pre-layout information on different visual parts of a single command button.

Parameters

commandButtonKind

Layout kind

texts

Command button texts (one per each line)

extraTexts

Command button extra texts (one per each line)

isTextInActionArea

Indication whether the command button text (texts in .texts) belongs in the action area.

separatorOrientation

Separator orientation

showPopupIcon

Indicates whether this button shows the popup icon

Constructors

Link copied to clipboard
fun CommandButtonPreLayoutInfo(commandButtonKind: CommandButtonKind, showIcon: Boolean, texts: List<String>, extraTexts: List<String>, isTextInActionArea: Boolean, separatorOrientation: CommandButtonLayoutManager.CommandButtonSeparatorOrientation?, showPopupIcon: Boolean)

Properties

Link copied to clipboard
val commandButtonKind: CommandButtonKind
Link copied to clipboard
val extraTexts: List<String>
Link copied to clipboard
val isTextInActionArea: Boolean
Link copied to clipboard
val showIcon: Boolean
Link copied to clipboard
val showPopupIcon: Boolean
Link copied to clipboard
val texts: List<String>