net.infonode.docking.drop

Class 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. {@link net.infonode.docking.RootWindow}, {@link net.infonode.docking.SplitWindow}, {@link net.infonode.docking.TabWindow}, {@link net.infonode.docking.WindowBar} or {@link net.infonode.docking.FloatingWindow}.

Since: IDW 1.4.0

Version: $Revision: 1.4 $

Author: $Author: jesper $

Constructor Summary
ChildDropInfo(DockingWindow window, DockingWindow dropWindow, Point point, DockingWindow childWindow)
Method Summary
DockingWindowgetChildWindow()
Returns the current child window in the drop window that will be asked if it accepts any type of drops.

Constructor Detail

ChildDropInfo

public ChildDropInfo(DockingWindow window, DockingWindow dropWindow, 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