net.infonode.docking.drop
Class DropInfo

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

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 $

Method Summary
 DockingWindow getDropWindow()
          Returns the window that is asked (via the DropFilter if a drop of the dragged window is accepted.
 Point getPoint()
          Returns the current mouse point relative to the drop window.
 DockingWindow getWindow()
          Returns the window that is beeing dragged, i.e. the window that could be dropped.
 
Methods inherited from class java.lang.Object
equals, 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 Point getPoint()
Returns the current mouse point relative to the drop window.

Returns:
the mouse point relative to the drop window


Copyright © 2007 NNL Technology AB. All Rights Reserved.