public interface MagnetOperation
MagnetStrategy
, this operation is created once movement or resizing of a
ScreenDockWindow
started and exists until this operation stopped.Modifier and Type | Method and Description |
---|---|
void |
attract(MagnetController controller,
MagnetRequest request)
Called by
controller after a ScreenDockWindow moved or changed
its size (or both). |
void |
destroy()
Called once the operation is no longer needed.
|
void attract(MagnetController controller, MagnetRequest request)
controller
after a ScreenDockWindow
moved or changed
its size (or both). This method has to find out whether the window is attracted to another
window and if so it must call one of the attract
methods of request
.controller
- the caller of this method, may be used to find other ScreenDockWindow
srequest
- detailed information about the eventvoid destroy()