SelectionOption

data class SelectionOption<T>(val value: T, val displayText: String)

A single option of a grouping control.

Type Parameters

T

type of the value held by the option

Constructors

Link copied to clipboard
constructor(value: T, displayText: String)

Properties

Link copied to clipboard

text shown to the user in the interface

Link copied to clipboard
val value: T

the option's actual value, used in application logic