Package-level declarations

Types

Link copied to clipboard
class CheckboxGroupControl<T : Any>(label: String?, val options: List<SelectionOption<T>>, val orientation: ControlOrientation = ControlOrientation.VERTICAL, required: Boolean? = false, dependencies: Map<String, ControlDependency<*>>? = null, actions: List<ControlAction<List<T>>>? = null) : Control<List<T>>

A control for choosing several options from a group with checkboxes.

Link copied to clipboard
class DatabaseControl(label: String?, val query: QueryFragment, val displayColumn: String, val idColumn: String = "id", val orderBy: String = displayColumn, val searchFilter: (String) -> QueryFragment?? = null, val pageSize: Long = 10, required: Boolean? = false, dependencies: Map<String, ControlDependency<*>>? = null, actions: List<ControlAction<Int>>? = null) : AsyncPaginatedDropdownControl<Int> , KoinComponent

A control for choosing a database record from a dropdown list.

Link copied to clipboard
class EnumControl<T : Enum<T>, EnumWithFormatter<T>>(label: String?, val enumClass: KClass<T>, required: Boolean? = false, dependencies: Map<String, ControlDependency<*>>? = null, actions: List<ControlAction<T>>? = null) : DropdownControlBase<T>

A control for choosing an enum value from a dropdown list.

Link copied to clipboard
class RadioGroupControl<T : Any>(label: String?, val options: List<SelectionOption<T>>, val orientation: ControlOrientation = ControlOrientation.VERTICAL, required: Boolean? = false, dependencies: Map<String, ControlDependency<*>>? = null, actions: List<ControlAction<T>>? = null) : Control<T>

A control for choosing one option from a group with radio buttons.

Link copied to clipboard
data class SelectionOption<T>(val value: T, val displayText: String)

A single option of a grouping control.