KetraTerm
API · v0.3.0All versions

SwingShellSuggestionViewSnapshot

Immutable viewport published to one shell-suggestion view.

The controller retains the complete ranking and sends each renderer only a bounded window. Absolute viewport metadata lets custom-painted and native list implementations expose overflow consistently without duplicating controller state.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Absolute rank of the selected suggestion, or -1 when none is selected.

Link copied to clipboard

Whether ranked suggestions follow this viewport.

Link copied to clipboard

Whether ranked suggestions precede this viewport.

Link copied to clipboard

selected index relative to visibleSuggestions, or -1 when the popup is passive or selection is outside this viewport.

Link copied to clipboard

Selected visible suggestion, or null when the viewport is passive.

Link copied to clipboard

total suggestions retained by the controller.

Link copied to clipboard

absolute rank of the first visible suggestion.

Link copied to clipboard

Defensively copied visible suggestion window.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String