Package qupath.lib.gui.viewer
Interface DragDropImportListener.DropHandler<T>
- Type Parameters:
- T-
- Enclosing class:
- DragDropImportListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to define a new drop handler.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanhandleDrop(QuPathViewer viewer, List<T> list) Handle drop onto a viewer.
- 
Method Details- 
handleDropHandle drop onto a viewer. This makes it possible to drop images (for example) onto a specific viewer to open them in that viewer, irrespective of whether the viewer is active currently.- Parameters:
- viewer- the active viewer, or the viewer only which the object were dropped
- list- the dropped objects
- Returns:
- true if the handler processed the drop event
 
 
-