|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.intern.ui.ExtendedModeAcceptance
@FrameworkOnly public class ExtendedModeAcceptance
A DockAcceptance ensuring that the extended mode property
of CDockable is respected on drag and drop operations.
| Constructor Summary | |
|---|---|
ExtendedModeAcceptance(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 ExtendedModeAcceptance(CControlAccess control)
control - access to the CControl| Method Detail |
|---|
public boolean accept(DockStation parent,
Dockable child)
DockAcceptancechild is allowed to become a
real child of parent.
accept in interface DockAcceptanceparent - the future parentchild - the future child
child and parent
are allowed to be combined
public boolean accept(DockStation parent,
Dockable child,
Dockable next)
DockAcceptancechild, 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 DockAcceptanceparent - 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 | |||||||||