Package | Description |
---|---|
bibliothek.gui.dock.station.screen.magnet |
The magnet API allows
ScreenDockWindow s to
attract each other, or to stick together. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultMagnetOperation
The
DefaultMagnetOperation searches the nearest attracted ScreenDockWindow to a moved side
and if that other window is nearer than a given threshold then the moved window is attracted. |
Modifier and Type | Method and Description |
---|---|
MagnetOperation |
DefaultMagnetStrategy.start(MagnetController controller,
MagnetRequest request) |
MagnetOperation |
MagnetStrategy.start(MagnetController controller,
MagnetRequest request)
Called by
controller after a ScreenDockWindow moved or changed
its size (or both). |