bibliothek.gui.dock.common.group
Class StackGroupMovement
java.lang.Object
bibliothek.gui.dock.common.group.StackGroupMovement
- All Implemented Interfaces:
- CGroupMovement
public class StackGroupMovement
- extends Object
- implements CGroupMovement
This movement moves an entire StackDockStation
to the place indicated by one of its children.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackGroupMovement
public StackGroupMovement(StackDockStation dockParent,
Dockable dockable,
ExtendedMode target)
- Creates a new movement object.
- Parameters:
dockParent
- the station that should be moveddockable
- the dockable that indicates the target locationtarget
- the mode that dockable
should have after the movemenet
apply
public void apply(CGroupBehaviorCallback callback)
- Description copied from interface:
CGroupMovement
- Executes this movement. While this operation runs, focus management is disabled. The
framework will choose a new focused
Dockable
once this method finished.
Note: While the various apply
-methods of LocationModeManager
only take one argument, more than one Dockable
might be moved because of the
internal logic of some LocationMode
s. Implementations should assume that any
cached information about any Dockable
is invalid once a Dockable
has been
moved.
- Specified by:
apply
in interface CGroupMovement
- Parameters:
callback
- can be used by this object to freely move around any
Dockable