| Modifier and Type | Member | Description |
|---|---|---|
| public | lastRenderAnsilastRenderAnsi as String = "" |
No summary. |
| public | lastRenderHeightlastRenderHeight as Int = 0 |
No summary. |
| public | lastRenderPlainlastRenderPlain as String = "" |
No summary. |
| public | lastRenderWidthlastRenderWidth as Int = 0 |
No summary. |
| public | layoutlayout as Layout = null |
No summary. |
| public | visiblevisible as Boolean = true |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | focusablefocusable as Boolean = false |
Returns true when this widget can receive keyboard focus. |
| public property | focusedfocused as Boolean: |
Focus state of this widget. |
| public readonly property | lastRenderFramelastRenderFrame as TerminalFrame: |
Last rendered logical frame, when available. |
| public property | position | Widget top-left position expressed as `(x, y)`. |
| public property | size | Widget viewport size expressed as `(width, height)`. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | addadd(child as Widget) as Void: |
No summary. |
| public static | baseAnsiStylebaseAnsiStyle() as String: |
Shared terminal base style used after ANSI fragments that locally override colors. |
| public | captureRenderFramecaptureRenderFrame(frame as TerminalFrame) as Void: |
Stores the latest rendered logical frame for debugging/validation. |
| public | childrenchildren() as ArrayList<klyn.gui.terminal.Widget>: |
No summary. |
| public | clearChildrenclearChildren() as Void: |
No summary. |
| public | configureCursor | Lets a widget place the terminal cursor inside its own frame area. |
| public | focusNext | Moves focus to the next focusable descendant. |
| public | handleEvent | Handles a keyboard/terminal event. |
| public | handleMouseEvent | Handles a mouse event in widget-local coordinates. |
| public | hasActiveTextInputhasActiveTextInput() as Boolean: |
Returns true when this widget currently owns an active text input. |
| public | idleidle() as Boolean: |
Called by the terminal event loop when no input event is pending. |
| public | paintpaint() as Void: |
No summary. |
| public | paintToFrame | Paints the widget directly into a logical terminal frame. |
| public | performLayoutperformLayout() as Void: |
No summary. |
| public | refreshrefresh() as Void: |
Refreshes widget content when the widget maintains an internal render cache. |
| public | renderAnsiSnapshotrenderAnsiSnapshot() as String: |
No summary. |
| public | renderPlainSnapshotrenderPlainSnapshot() as String: |
No summary. |
| public static | scrollbarThumbGlyphscrollbarThumbGlyph() as String: |
Shared scrollbar thumb glyph. |
| public static | scrollbarTrackGlyphscrollbarTrackGlyph() as String: |
Shared scrollbar track glyph. |
| public | terminalPromptVisibleterminalPromptVisible() as Boolean: |
Returns true when the terminal should draw its built-in prompt below this widget. |