|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.javadocking.drag.dockretriever.DynamicDockRetriever
public class DynamicDockRetriever
This is the default dock retriever.
The dock is searched in the DockModel of the DockingManager.
First a dock is searched that has the same owner window as the dock where the dockable comes from.
If there is not such a dock under the mouse location, docks with other owner windows are tried.
The possible docks that are used in the dock model:
FloatDock.
| Constructor Summary | |
|---|---|
DynamicDockRetriever()
|
|
| Method Summary | |
|---|---|
Dock[] |
retrieveHighestPriorityDock(java.awt.Point screenLocation,
Dockable dockable)
Retrieves the dock that has the highest priority for adding the dockable, when the dockable is dragged over the given screen location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicDockRetriever()
| Method Detail |
|---|
public Dock[] retrieveHighestPriorityDock(java.awt.Point screenLocation, Dockable dockable)
DockRetriever
retrieveHighestPriorityDock in interface DockRetrieverscreenLocation - The location of the mouse on the screen.dockable - The dockable that is dragged and has to be added to a new dock.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||