public interface MagnetizedOperation
ScreenDockWindows to calculate the attraction between two
ScreenDockWindows.| Modifier and Type | Method and Description |
|---|---|
Rectangle |
attract(Rectangle bounds)
To be called by a
ScreenDockWindow if the user updates the size or
location of the window. |
void |
stop()
To be called by a
ScreenDockWindow once moving or resizing is finished. |
Rectangle attract(Rectangle bounds)
ScreenDockWindow if the user updates the size or
location of the window. This method calculates then to which other windows
an attraction may exist.bounds - the boundaries the window would have if the operation would stop
right now.nullvoid stop()
ScreenDockWindow once moving or resizing is finished.Copyright © 2017 Docking Frames. All rights reserved.