ArrayComponent

Constructors

Link copied to clipboard
constructor(list: ObservableList<T>, render: (in T) -> out GuiComponent)
constructor(list: ObservableList<T>, render: (in T) -> out GuiComponent, oddRows: Supplier<Color>, evenRows: Supplier<Color>)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val render: (in T) -> out GuiComponent
Link copied to clipboard
open val width: Int

Functions

Link copied to clipboard
open fun <T> foldChildren(initial: T, visitor: BiFunction<GuiComponent, T, T>): T
Walk over the direct children of this element.
Link copied to clipboard
Link copied to clipboard
open fun keyboardEvent(keyboardEvent: KeyboardEvent, context: GuiImmediateContext): Boolean
Called by the parent renderer.
Link copied to clipboard
open fun mouseEvent(mouseEvent: MouseEvent, context: GuiImmediateContext): Boolean
Called by the parent renderer.
Link copied to clipboard
Link copied to clipboard
open fun render(context: GuiImmediateContext)
Called by the parent renderer.