InputRadioButtonGroup

class InputRadioButtonGroup(items: List<String>, selectedIndex: Int? = null, changeListener: (Int) -> Unit? = null, resultListener: (Int?) -> Unit? = null, key: String? = null, required: Boolean = false, header: InputHeader? = null, columns: Int? = null) : Input

Represents a group of radio buttons.

Parameters

items

A list of Strings representing the individual radio button text.

selectedIndex

The index of the item that is selected.

changeListener

The listener that returns the changed value.

resultListener

The listener that returns the final value.

key

The key of the input that is used for saving the data in the result bundle. (Alternatively the index of the input is used.)

required

If the input is required to finish the dialog.

header

The additional InputHeader to add more context information to the selection.

columns

The columns that this input spans.

Constructors

Link copied to clipboard
constructor(items: List<String>, selectedIndex: Int? = null, changeListener: (Int) -> Unit? = null, resultListener: (Int?) -> Unit? = null, key: String? = null, required: Boolean = false, header: InputHeader? = null, columns: Int? = null)