|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DockAcceptance
Used by a DockController to decide globally which
Dockable can become child of which DockStation.
The acceptance can be set through the method
DockController.addAcceptance(DockAcceptance)
| Method Summary | |
|---|---|
boolean |
accept(DockStation parent,
Dockable child)
Tells whether or not child is allowed to become a
real child of parent. |
boolean |
accept(DockStation parent,
Dockable child,
Dockable next)
Tells whether child, which may be already a child of
parent, and next are allowed to be combined. |
| Method Detail |
|---|
boolean accept(DockStation parent,
Dockable child)
child is allowed to become a
real child of parent.
parent - the future parentchild - the future child
child and parent
are allowed to be combined
boolean accept(DockStation parent,
Dockable child,
Dockable next)
child, which may be already a child of
parent, and next are allowed to be combined.
The result of this combination would replace child
on parent.
parent - the future parent of the combinationchild - a Dockable which may be a child of parentnext - a new Dockable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||