bibliothek.gui.dock.common.group
Class SingleGroupMovement
java.lang.Object
bibliothek.gui.dock.common.group.SingleGroupMovement
- All Implemented Interfaces:
- CGroupMovement
public class SingleGroupMovement
- extends Object
- implements CGroupMovement
This CGroupMovement
is the most basic movemenet as it represents the movement of one
lonely Dockable
.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleGroupMovement
public SingleGroupMovement(Dockable dockable,
ExtendedMode target)
- Creates a new movement object.
- Parameters:
dockable
- the element whose location will be changedtarget
- the new mode for dockable
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