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

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

Properties

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