InputCheckboxGroup

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

Represents a group of checkboxes.

Parameters

items

A list of Strings representing the individual checkbox text.

enabledIndices

A list of the index of items that are enabled.

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>, enabledIndices: List<Int> = listOf(), changeListener: (List<Int>) -> Unit? = null, resultListener: (List<Int>) -> Unit? = null, key: String? = null, required: Boolean = false, header: InputHeader? = null, columns: Int? = null)