bibliothek.gui.dock.facile.mode
Class DefaultExternalizedModeBehavior
java.lang.Object
bibliothek.gui.dock.facile.mode.DefaultExternalizedModeBehavior
- All Implemented Interfaces:
- ExternalizedModeBehavior
public class DefaultExternalizedModeBehavior
- extends Object
- implements ExternalizedModeBehavior
The default implementation of ExternalizedMode
.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExternalizedModeBehavior
public DefaultExternalizedModeBehavior()
findLocation
public ScreenDockProperty findLocation(ExternalizedModeArea target,
Dockable dockable)
- Description copied from interface:
ExternalizedModeBehavior
- Finds a good location for
dockable
which was
never in the ExternalizedMode
.
- Specified by:
findLocation
in interface ExternalizedModeBehavior
- Parameters:
target
- the area on which dockable
will be droppeddockable
- some element
- Returns:
- a good location for
dockable
, must not be null