|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.intern.ui.WorkingAreaAcceptance
@FrameworkOnly public class WorkingAreaAcceptance
A DockAcceptance
ensuring that the CDockable.getWorkingArea()
property is respected.
Constructor Summary | |
---|---|
WorkingAreaAcceptance(CControlAccess control)
Creates a new acceptance |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkingAreaAcceptance(CControlAccess control)
control
- access to the CControl
Method Detail |
---|
public boolean accept(DockStation parent, Dockable child, Dockable next)
DockAcceptance
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
.
accept
in interface DockAcceptance
parent
- the future parent of the combinationchild
- a Dockable which may be a child of parentnext
- a new Dockable
public boolean accept(DockStation parent, Dockable child)
DockAcceptance
child
is allowed to become a
real child of parent
.
accept
in interface DockAcceptance
parent
- the future parentchild
- the future child
child
and parent
are allowed to be combined
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |