fetchAll
Resolves every matching component and returns them as the T the query named, in depth-first pre-order, for reading or driving each component's own API (e.g. a JList's model, a JSplitPane's divider). A query that named the type does not name it again:
val labels = onAllNodesOfType<JLabel>().fetchAll()Content copied to clipboard
Resolves every matching component and returns them typed as R, in depth-first pre-order, for a query that named no type of its own - or that named a wider one than the components to be driven.
Throws
if any matched node is not an R.