Package-level declarations
Types
One Swing property of one or more component types. Define it once, in a top-level val, and pass it to org.jetbrains.compose.swing.style.stylePropertyOf for a style setter, or org.jetbrains.compose.swing.style.styleLocalOf for a property descendants inherit. A component's own parameter that no style setter covers can declare it through SwingModifier.property.
A component that is handed the modifier nodes it carries, in the order its modifier declares them - what a component that paints or lays out through its nodes implements.
Identifies one installed modifier or style property declaration.
What a modifier element puts back when its declaration leaves, declared through SwingModifier.NodeElement.restores.
An ordered, immutable collection of Elements applied to a Swing component - the Swing analogue of androidx.compose.ui.Modifier. Most are a NodeElement, which carries the node that writes onto the component; the rest declare something the node holder reads itself, such as where the component is attached in its parent.
The diff state for one node's modifier: the elements applied last, and the buffers the modifier being applied is partitioned into.
Functions
Declares a modifier built by calling composables. factory runs in the composition of each component the modifier reaches, before the modifier is applied, and what it returns is applied in place of this entry, so a remember inside it keeps one value per component.
Ties this modifier's application to keys. While they stand the modifier is diffed as usual; a key that does not compare equal to the one applied last rebuilds from scratch what the modifier writes onto the component.
Declares descriptor on the component, value for as long as this declaration stands. A style declares a property through org.jetbrains.compose.swing.style.stylePropertyOf or org.jetbrains.compose.swing.style.styleLocalOf, with the same rules. The property is read as the declaration arrives and written back when the declaration leaves, so a widget that outlives it carries what it did before.
Declares descriptor as property does, optionally providing it to descendants as a component default.