|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CGroupMovement
A group movement describes the movement of an undefined number of Dockable
s
by a LocationModeManager
. The moved Dockable
s have to be somehow in a group,
and that group has to be described by one Dockable
. A logical choice would be that
all Dockable
s are children of some DockStation
and the DockStation
represents the entire group.
Method Summary | |
---|---|
void |
apply(CGroupBehaviorCallback callback)
Executes this movement. |
boolean |
forceAccept(DockStation parent,
Dockable child)
Tells some DockAcceptance s whether a check for child becoming a child of
parent needs to be performed. |
Method Detail |
---|
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 LocationMode
s. 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
Dockable
boolean forceAccept(DockStation parent, Dockable child)
DockAcceptance
s 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 DockAcceptance
s from preventing the
operation.
parent
- the future parent of child
child
- 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 |