org.grinvin.gui.dnd
Class SelectionDragHandler
- DragHandler
public class SelectionDragHandler
Simple drag handler that allows dragging from any standard component which
satisfies the
HasSelectableValues
interface and
exports objects of a single type.
Exports the current selection but does
not remove it.
void | exportDone(JComponent source, JComponent target, Object[] objects, Class> type, int action)
|
SelectionDragHandler
public SelectionDragHandler(Class type)
Create a simple drag handler for objects of the given type.
SelectionDragHandler
public SelectionDragHandler(Class type,
int sourceActions)
exportDone
public void exportDone(JComponent source,
JComponent target,
Object[] objects,
Class> type,
int action)
- exportDone in interface AbstractDragHandler