|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MagnetStrategy
The MagnetStrategy
is used by the MagnetController
to define how exactly
two ScreenDockWindow
s behave that are attracting each other.
Method Summary | |
---|---|
void |
install(MagnetController controller)
Informs this MagnetStrategy that it will be used by controller . |
MagnetOperation |
start(MagnetController controller,
MagnetRequest request)
Called by controller after a ScreenDockWindow moved or changed
its size (or both). |
void |
uninstall(MagnetController controller)
Informs this MagnetStrategy that it is no longer used by controller . |
Method Detail |
---|
void install(MagnetController controller)
MagnetStrategy
that it will be used by controller
.
controller
- the controller using this strategy, not null
void uninstall(MagnetController controller)
MagnetStrategy
that it is no longer used by controller
.
controller
- the controller which no longer uses this strategyMagnetOperation start(MagnetController controller, MagnetRequest request)
controller
after a ScreenDockWindow
moved or changed
its size (or both). This method creates a new MagnetOperation
which is tied to
request
. The MagnetOperation
will then find out which Dockable
is attracted to which other Dockable
.
controller
- the caller of this method, may be used to find other ScreenDockWindow
srequest
- detailed information about the event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |