KetraTerm
API · v0.2.2All versions

SwingShellSuggestionView

Host-pluggable visual surface for shell suggestions.

The reusable suggestion controller owns navigation, acceptance, dismissal, feedback, and popup state. A view only renders the supplied immutable items and reports pointer interaction through the listener used to create it. Implementations must update Swing component state only on the Event Dispatch Thread and must not invoke completion providers or mutate command lines.

Properties

Link copied to clipboard
abstract val component: JComponent

Component embedded and positioned by the owning Swing terminal.

Functions

Link copied to clipboard
open fun close()

Releases host-specific presentation resources.

Link copied to clipboard

Replaces the complete immutable visual viewport on the Swing Event Dispatch Thread.