MenuBar
class in package klyn.gui.terminal

    public class MenuBar extends Widget:

Object
└ Widget
└ MenuBar

Function-key menu bar.

This widget owns both menu metadata and menu rendering so the terminal does not have to duplicate ordering, compact-title selection and hit-testing.

Fields

Modifier and Type | Member | Description
--- | --- | ---
public | activeKey `activeKey as String = ""` | No summary.

Inherited Attributes
attribute Inherited Attributes from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Inherited Properties
property Inherited Properties from Widget: focusable, focused, lastRenderFrame, position, size
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | MenuBar `MenuBar():` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | compactTitleOf `compactTitleOf(key as Object) as String:` | No summary.
public | hasKey `hasKey(key as Object) as Boolean:` | No summary.
public | keyAt `keyAt(col as Int, width as Int) as String:` | No summary.
public | keys `keys() as ArrayList<String>:` | No summary.
public override | paintToFrame `paintToFrame(frame as TerminalFrame, row as Int, col as Int, width as Int, height as Int) as Boolean:` | No summary.
public | setMenu `setMenu(key as Object, title as String, compactTitle as String = "", action as Object = null) as Void:` | No summary.
public | titleOf `titleOf(key as Object) as String:` | No summary.
public | trigger `trigger(key as Object) as Boolean:` | No summary.

Inherited Methods
method Inherited Methods from Widget: add, baseAnsiStyle, captureRenderFrame, children, clearChildren, configureCursor, focusNext, handleEvent, handleMouseEvent, hasActiveTextInput, idle, paint, paintToFrame, performLayout, refresh, renderAnsiSnapshot, renderPlainSnapshot, scrollbarThumbGlyph, scrollbarTrackGlyph, terminalPromptVisible
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml