PanelComponent

Renders an element with a floating rect.

Inheritors

Constructors

Link copied to clipboard
constructor(element: GuiComponent, insets: Int, backgroundRenderer: PanelComponent.BackgroundRenderer)
constructor(element: GuiComponent)

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
open fun getHeight(): Int
Get the requested y size for this element.
Link copied to clipboard
open fun getWidth(): Int
Get the requested x size for this element.
Link copied to clipboard
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
open fun render(context: GuiImmediateContext)
Called by the parent renderer.