BooleanVisualizer

open class BooleanVisualizer(defaultSize: Size = Size(16)) : ItemVisualizer<Boolean, Any> (source)

Visualizes Booleans using CheckBoxes.

Constructors

Link copied to clipboard
constructor(defaultSize: Size = Size(16))

Functions

Link copied to clipboard
open operator override fun invoke(item: Boolean, previous: View?, context: Any): CheckBox

Called whenever an item needs to be translated to a View.

Inherited functions

Link copied to clipboard
fun <T, R, C> ItemVisualizer<R, C>.after(mapper: (T) -> R): ItemVisualizer<T, C>

Creates a visualizer for T using a visualizer for R by mapping T -> R.

Link copied to clipboard
operator fun <T> ItemVisualizer<T, Any>.invoke(item: T, previous: View? = null): View