KetraTerm
API · DevelopmentAll versions

SwingTerminalSearchColors

Prepared immutable colors for optional search chrome. Defaults retain the dark appearance. Hosts resolve their theme on its owning thread and pass a snapshot to SwingTerminalSearchBar.refreshColors. Dynamic Color subclasses are sampled at build time; repainting never queries host theme state. All ARGB values, including transparency, are retained. Use create and copy for named Kotlin or Java updates. Drafts are caller-confined and callbacks run synchronously; later draft or host-color changes cannot mutate a snapshot.

Constructors

Link copied to clipboard
constructor()

Creates the default dark colors.

Types

Link copied to clipboard
class Builder

Caller-confined draft; building samples all colors without retaining this draft.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Hovered button fill.

Link copied to clipboard

Pressed button fill.

Link copied to clipboard

Selected case toggle fill.

Link copied to clipboard

Selected case toggle text.

Link copied to clipboard

Match count and search status text.

Link copied to clipboard

Query text, caret and resting button icons.

Link copied to clipboard

Rounded panel background.

Link copied to clipboard

Rounded panel outline.

Link copied to clipboard

Shadow behind the rounded panel.

Link copied to clipboard

Query field search icon.

Link copied to clipboard

Query field fill.

Link copied to clipboard

Unfocused query field outline.

Link copied to clipboard

Focused query field outline.

Link copied to clipboard

Empty query placeholder.

Functions

Link copied to clipboard

Builds a new snapshot after synchronously applying configure to a detached draft.

Link copied to clipboard

Creates a detached mutable draft.