Package net.infonode.docking.drag
Class DockingWindowDragSource
- java.lang.Object
-
- net.infonode.docking.drag.DockingWindowDragSource
-
public class DockingWindowDragSource extends java.lang.ObjectHandles the drag and drop of aDockingWindowtriggered by mouse events on aJComponent.DockingWindowDragSourcehandles drag abort with the right mouse button and the key set in theRootWindowProperties.ABORT_DRAG_KEYproperty of theRootWindowwhich is the drop target.- Since:
- IDW 1.3.0
-
-
Constructor Summary
Constructors Constructor Description DockingWindowDragSource(javax.swing.JComponent component, DockingWindowDraggerProvider draggerProvider)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortDrag()Aborts the currect drag operation.
-
-
-
Constructor Detail
-
DockingWindowDragSource
public DockingWindowDragSource(javax.swing.JComponent component, DockingWindowDraggerProvider draggerProvider)Constructor.- Parameters:
component- the component on which to listen to mouse events that affects the drag and drop of aDockingWindowdraggerProvider- provides theDockingWindowDraggerwhen the drag operation begins, typically this provider gets the dragger by callingDockingWindow.startDrag(net.infonode.docking.RootWindow)on the window which should be dragged
-
-