Class DropInfo

java.lang.Object
net.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
  • Method Details

    • 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