net.infonode.docking.drop
Class ChildDropInfo

java.lang.Object
  extended by net.infonode.docking.drop.DropInfo
      extended by net.infonode.docking.drop.ChildDropInfo

public class ChildDropInfo
extends DropInfo

Information about an ongoing child drop i.e. when a child window of the drop window is asked if it accepts the drop.

A drop is started at the root of the window tree and then passed down the tree to the appropriate child. Rejecting a child drop makes it possible to disable all types of drops in that subtree of the drop window.

A child drop can be performed on windows that can have children, i.e. RootWindow, SplitWindow, TabWindow, WindowBar or FloatingWindow.

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

Field Summary
private  DockingWindow childWindow
           
 
Constructor Summary
ChildDropInfo(DockingWindow window, DockingWindow dropWindow, java.awt.Point point, DockingWindow childWindow)
           
 
Method Summary
 DockingWindow getChildWindow()
          Returns the current child window in the drop window that will be asked if it accepts any type of drops.
 
Methods inherited from class net.infonode.docking.drop.DropInfo
getDropWindow, getPoint, getWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

childWindow

private DockingWindow childWindow
Constructor Detail

ChildDropInfo

public ChildDropInfo(DockingWindow window,
                     DockingWindow dropWindow,
                     java.awt.Point point,
                     DockingWindow childWindow)
Method Detail

getChildWindow

public DockingWindow getChildWindow()
Returns the current child window in the drop window that will be asked if it accepts any type of drops.

Returns:
the child window