A node of the retained-mode UI tree.
Every element ultimately renders through a tui-core Widget — the DSL is a declarative layer over tui-widgets, never a parallel rendering path. The sealed hierarchy is plain data: construction tests can pattern-match it, and styling extensions rebuild nodes instead of mutating them.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AnimatedTextElementclass AutocompleteElementclass BadgeElementclass ButtonElementclass CheckboxElementclass CollapsibleElementclass ColumnElementclass DataTableElementclass DirectoryTreeElementclass FilePickerElementclass FilledElementclass GaugeElementclass IndeterminateElementclass InputElementclass LayersElementclass LinearSpinnerElementclass ListElementclass LogElementclass MaskedInputElementclass MenuElementclass NoticeElementclass NumberInputElementclass OrbitSpinnerElementclass PaginatorElementclass PanelElementclass PositionedElementclass ProgressBarElementclass RadioGroupElementclass ResponsiveElementclass RowElementclass ScrollViewElementclass SelectElementclass SelectionListElementclass SkeletonElementclass SliderElementclass SpacerElementclass SparklineElementclass SpinnerElementclass SpinnerGridElementclass SplitPaneElementclass TabbedContentElementclass TableElementclass TabsElementclass TextAreaElementclass TextElementclass ToggleElementclass TreeElementclass WidgetElementShow all
Members list
Value members
Concrete methods
Fluent styling — each call returns a new element.
Fluent styling — each call returns a new element.
Attributes
Fluent styling — each call returns a new element.
Fluent styling — each call returns a new element.
Attributes
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Attributes
Fluent styling — each call returns a new element.
Fluent styling — each call returns a new element.
Attributes
Fluent styling — each call returns a new element.
Fluent styling — each call returns a new element.
Attributes
Double-line borders — meaningful on panels, identity elsewhere.
Double-line borders — meaningful on panels, identity elsewhere.
Attributes
Layout constraints — how much space the element claims inside its container.
Layout constraints — how much space the element claims inside its container.
Attributes
Layout constraints — how much space the element claims inside its container.
Layout constraints — how much space the element claims inside its container.
Attributes
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Attributes
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Attributes
Opts a non-interactive element into the tab order (interactive elements are focusable by default).
Opts a non-interactive element into the tab order (interactive elements are focusable by default).
Attributes
Extra blank cells inserted between a row/column's children.
Extra blank cells inserted between a row/column's children.
Attributes
Fluent styling — each call returns a new element.
Fluent styling — each call returns a new element.
Attributes
A stable focus identity: focus follows this key across renders even when the tree changes shape (without a key, focus is positional and can jump when elements appear or disappear).
A stable focus identity: focus follows this key across renders even when the tree changes shape (without a key, focus is positional and can jump when elements appear or disappear).
Attributes
Layout constraints — how much space the element claims inside its container.
Layout constraints — how much space the element claims inside its container.
Attributes
Layout constraints — how much space the element claims inside its container.
Layout constraints — how much space the element claims inside its container.
Attributes
Layout constraints — how much space the element claims inside its container.
Layout constraints — how much space the element claims inside its container.
Attributes
Ergonomic key handlers that hide the true/false stop-propagation ceremony.
Ergonomic key handlers that hide the true/false stop-propagation ceremony.
onKey binds an action to one or more keys; it consumes the event only when a bound key matches, delegating anything else to a handler already on the element — so several .onKey(…) calls compose instead of overwriting each other. Use Element.onKeyEvent directly when a handler needs the raw event or conditional consumption.
Attributes
A handler returning true consumes the event; false lets it continue to the next candidate.
A handler returning true consumes the event; false lets it continue to the next candidate.
Attributes
Fluent styling — each call returns a new element.
Fluent styling — each call returns a new element.
Attributes
Layout constraints — how much space the element claims inside its container.
Layout constraints — how much space the element claims inside its container.
Attributes
Fluent styling — each call returns a new element.
Fluent styling — each call returns a new element.
Attributes
Rounded borders — meaningful on panels, identity elsewhere.
Rounded borders — meaningful on panels, identity elsewhere.
Attributes
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Attributes
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Attributes
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Row/Column flex alignment and inter-child spacing. flex/center/spaceBetween/… only bite on row/column containers whose children leave leftover space (no fill child); elsewhere they are the identity.
Attributes
Fluent styling — each call returns a new element.
Fluent styling — each call returns a new element.
Attributes
Fluent styling — each call returns a new element.
Fluent styling — each call returns a new element.