Package-level declarations

Types

Link copied to clipboard
typealias Dropdown<T, M> = SelectBox<T, M>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class MutableSelectBox<T, M : MutableListModel<T>>(model: M, boxItemVisualizer: ItemVisualizer<T, IndexedItem>? = null, listItemVisualizer: ItemVisualizer<T, IndexedItem>? = boxItemVisualizer) : SelectBox<T, M> , Editable

A dropdown control that can be edited.

Link copied to clipboard

Provides presentation and behavior customization for MutableSelectBox.

Link copied to clipboard
open class SelectBox<T, M : ListModel<T>>(val model: M, val boxItemVisualizer: ItemVisualizer<T, IndexedItem>? = null, val listItemVisualizer: ItemVisualizer<T, IndexedItem>? = boxItemVisualizer) : View

Control used to select an item within a hidden list.

Link copied to clipboard

Provides presentation and behavior customization for SelectBox.

Link copied to clipboard
interface SelectBoxEditor<T>

Defines the EditOperation for a MutableSelectBox.

Functions

Link copied to clipboard
inline fun <T> dropdownEditor(crossinline block: (dropdown: MutableSelectBox<T, *>, value: T, current: View) -> EditOperation<T>): SelectBoxEditor<T>
Link copied to clipboard
inline fun <T> selectBoxEditor(crossinline block: (dropdown: MutableSelectBox<T, *>, value: T, current: View) -> EditOperation<T>): SelectBoxEditor<T>

Creates a SelectBoxEditor from the given lambda block.