Package limn.components
Interface ListView.DropHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Something was dropped between two rows of this list.
-
Method Summary
Modifier and TypeMethodDescriptionvoidTakes what was dropped: reads it fromevent.offer(), adds it to the items and callsListView.refresh().
-
Method Details
-
drop
Takes what was dropped: reads it fromevent.offer(), adds it to the items and callsListView.refresh().event.action()says whether it is a copy or a move, andevent.reject()refuses it after all.- Parameters:
event- the dropindex- the row it was dropped before, or the row count for after the last
-