net.infonode.docking.drop
Class DropInfo

java.lang.Object
  extended by net.infonode.docking.drop.DropInfo
Direct Known Subclasses:
ChildDropInfo, InsertTabDropInfo, InteriorDropInfo, SplitDropInfo

public class DropInfo
extends java.lang.Object

Super class for all drop infos

A drop info is passed on to a DropFilter when a drag and drop operation is in progress. This makes it possible for the drop filter to decide if a drop is accepted or.

Since:
IDW 1.4.0
Version:
$Revision: 1.4 $
Author:
$Author: jesper $

Method Summary
 DockingWindow getDropWindow()
          Returns the window that is asked (via the DropFilter if a drop of the dragged window is accepted.
 java.awt.Point getPoint()
          Returns the current mouse point relative to the drop window.
 DockingWindow getWindow()
          Returns the window that is beeing dragged, i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWindow

public DockingWindow getWindow()
Returns the window that is beeing dragged, i.e. the window that could be dropped.

Returns:
the window beeing dragged

getDropWindow

public DockingWindow getDropWindow()
Returns the window that is asked (via the DropFilter if a drop of the dragged window is accepted.

Returns:
the window that is asked if a drop of the dragged window is accepted

getPoint

public java.awt.Point getPoint()
Returns the current mouse point relative to the drop window.

Returns:
the mouse point relative to the drop window