BasicSelectBoxBehavior

class BasicSelectBoxBehavior<T, M : ListModel<T>>(    display: Display,     textMetrics: TextMetrics,     backgroundColor: Color,     darkBackgroundColor: Color,     foregroundColor: Color,     cornerRadius: Double,     buttonWidth: Double = 20.0,     focusManager: FocusManager? = null,     popupManager: PopupManager? = null,     buttonA11yLabel: String? = null,     inset: Double = 4.0) : SelectBoxBehavior<T, M> , PointerListener, KeyListener(source)

Created by Nicholas Eddy on 9/9/21.

Constructors

Link copied to clipboard
constructor(    display: Display,     textMetrics: TextMetrics,     backgroundColor: Color,     darkBackgroundColor: Color,     foregroundColor: Color,     cornerRadius: Double,     buttonWidth: Double = 20.0,     focusManager: FocusManager? = null,     popupManager: PopupManager? = null,     buttonA11yLabel: String? = null,     inset: Double = 4.0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Inherited properties

Link copied to clipboard
Link copied to clipboard
open var SelectBox<T, M>.insets: Insets
Link copied to clipboard
open var SelectBox<T, M>.layout: Layout?
Link copied to clipboard
open var SelectBox<T, M>.list: List<T, M>?
Link copied to clipboard
open val SelectBox<T, M>.model: M

Functions

Link copied to clipboard
open override fun alignmentChanged(selectBox: SelectBox<T, M>)
Link copied to clipboard
open override fun changed(selectBox: SelectBox<T, M>)
Link copied to clipboard
open override fun install(view: SelectBox<T, M>)
Link copied to clipboard
open override fun pressed(event: KeyEvent)
open override fun pressed(event: PointerEvent)
Link copied to clipboard
open override fun render(view: SelectBox<T, M>, canvas: Canvas)
Link copied to clipboard
open override fun uninstall(view: SelectBox<T, M>)

Inherited functions

Link copied to clipboard
Link copied to clipboard
open fun clicked(event: PointerEvent)
Link copied to clipboard
Link copied to clipboard
open fun contains(view: SelectBox<T, M>, point: Point): Boolean
Link copied to clipboard
open fun entered(event: PointerEvent)
Link copied to clipboard
open fun exited(event: PointerEvent)
Link copied to clipboard
Link copied to clipboard
open fun released(event: KeyEvent)
open fun released(event: PointerEvent)