net.infonode.docking.drop

Class DropInfo

public class DropInfo extends 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
DockingWindowgetDropWindow()
Returns the window that is asked (via the DropFilter if a drop of the dragged window is accepted.
PointgetPoint()
Returns the current mouse point relative to the drop window.
DockingWindowgetWindow()
Returns the window that is beeing dragged, i.e. the window that could be dropped.

Method Detail

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 Point getPoint()
Returns the current mouse point relative to the drop window.

Returns: the mouse point relative to the drop window

getWindow

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

Returns: the window beeing dragged