public interface CGroupMovement
Dockables
by a LocationModeManager. The moved Dockables have to be somehow in a group,
and that group has to be described by one Dockable. A logical choice would be that
all Dockables are children of some DockStation and the DockStation
represents the entire group.| Modifier and Type | Method and Description |
|---|---|
void |
apply(CGroupBehaviorCallback callback)
Executes this movement.
|
boolean |
forceAccept(DockStation parent,
Dockable child)
Tells some
DockAcceptances whether a check for child becoming a child of
parent needs to be performed. |
void apply(CGroupBehaviorCallback callback)
Dockable once this method finished.apply-methods of LocationModeManager
only take one argument, more than one Dockable might be moved because of the
internal logic of some LocationModes. Implementations should assume that any
cached information about any Dockable is invalid once a Dockable has been
moved.callback - can be used by this object to freely move around any
Dockableboolean forceAccept(DockStation parent, Dockable child)
DockAcceptances whether a check for child becoming a child of
parent needs to be performed. The default result of this method should be true.
A value of true does not prevent custom DockAcceptances from preventing the
operation.parent - the future parent of childchild - the future child of parenttrue if this relation can be allowed without further checksCopyright © 2018. All rights reserved.