|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.group.SingleGroupMovement
public class SingleGroupMovement
This CGroupMovement is the most basic movemenet as it represents the movement of one
lonely Dockable.
| Constructor Summary | |
|---|---|
SingleGroupMovement(Dockable dockable,
ExtendedMode target)
Creates a new movement object. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleGroupMovement(Dockable dockable,
ExtendedMode target)
dockable - the element whose location will be changedtarget - the new mode for dockable| Method Detail |
|---|
public void apply(CGroupBehaviorCallback callback)
CGroupMovementDockable 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.
apply in interface CGroupMovementcallback - can be used by this object to freely move around any
Dockable
public boolean forceAccept(DockStation parent,
Dockable child)
CGroupMovementDockAcceptances 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.
forceAccept in interface CGroupMovementparent - the future parent of childchild - the future child of parent
true if this relation can be allowed without further checks
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||