Package net.infonode.docking.drop
Class DropInfo
- java.lang.Object
-
- 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DockingWindow
getDropWindow()
Returns the window that is asked (via theDropFilter
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.
-
-
-
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 theDropFilter
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
-
-