public interface DockAcceptance
DockController to decide globally which
Dockable can become child of which DockStation.DockController.addAcceptance(DockAcceptance)| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(DockStation parent,
Dockable child)
Tells whether or not
child is allowed to become a
real child of parent. |
boolean |
accept(DockStation parent,
Dockable child,
Dockable next)
Tells whether
child, which may be already a child of
parent, and next are allowed to be combined. |
boolean accept(DockStation parent, Dockable child)
child is allowed to become a
real child of parent.parent - the future parentchild - the future childchild and parent
are allowed to be combinedboolean accept(DockStation parent, Dockable child, Dockable next)
child, which may be already a child of
parent, and next are allowed to be combined.
The result of this combination would replace child
on parent.parent - the future parent of the combinationchild - a Dockable which may be a child of parentnext - a new DockableCopyright © 2017 Docking Frames. All rights reserved.