|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.docking.drag.DockingWindowDragSource
public class DockingWindowDragSource
Handles the drag and drop of a DockingWindow
triggered by mouse events on a
JComponent
. DockingWindowDragSource
handles drag abort with the right mouse button and
the key set in the RootWindowProperties.ABORT_DRAG_KEY
property of the
RootWindow
which is the drop target.
Constructor Summary | |
---|---|
DockingWindowDragSource(javax.swing.JComponent component,
DockingWindowDraggerProvider draggerProvider)
Constructor. |
Method Summary | |
---|---|
void |
abortDrag()
Aborts the currect drag operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DockingWindowDragSource(javax.swing.JComponent component, DockingWindowDraggerProvider draggerProvider)
component
- the component on which to listen to mouse events that affects the drag and drop of a
DockingWindow
draggerProvider
- provides the DockingWindowDragger
when the drag operation begins, typically
this provider gets the dragger by calling
DockingWindow.startDrag(net.infonode.docking.RootWindow)
on the window which should be draggedMethod Detail |
---|
public void abortDrag()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |