Package swingtree

Class UIForScrollPanels<P extends JScrollPanels>

Type Parameters:
P - The type of the component which this builder node wraps.

public class UIForScrollPanels<P extends JScrollPanels> extends UIForAnyScrollPane<UIForScrollPanels<P>,P>
A builder node for JScrollPanels, a custom SwingTree component, which is similar to a JList but with the ability to interact with the individual components in the list.

Prefer binding the entries through a Var<Tuple<M extends HasId<ID>>> property (see UIForAnySwing.addAll(sprouts.Var, swingtree.api.mvvm.BoundViewSupplier)), which is fully thread safe in the decoupled threading mode. The older EntryViewModel based binding is deprecated — see the EntryViewModel javadoc for the migration pattern.