onDeclaredNodesChanged

abstract fun onDeclaredNodesChanged(componentNode: SwingComponentNode<*>, nodes: List<SwingModifier.Node>)

Receives componentNode and the nodes SwingModifier.Node.visitDeclaredNodes visits on the event dispatch thread, after a modifier pass in which one of them attached, detached, changed place, or was written with a new element whose node automatically invalidates, or after a composition-local refresh that rewrote such a node; an empty list once none stands. Every node handed over is attached.