ReorderListComponent
A list the player reorders by dragging a row's handle.
Java
Inside a PanelComponent constructor. The same call draws in every family and chroma.
Java
ReorderListComponent<Pack> packs = add(new ReorderListComponent<>(at(new Box("packs", 8, 8, 180, 120)),
config.packs, Pack::name)
.locked(Pack::required)
.deletable(true)
.onReorder((order, moved, from, to) -> config.packs = order)
.onDelete((pack, index) -> config.remove(pack)));Rows
