public interface MoveStrategy
Modifier and Type | Method and Description |
---|---|
Point |
locationSuggested(Widget widget,
Point originalLocation,
Point suggestedLocation)
Called after an user suggests a new location and before the suggested location is stored to a specified widget.
|
Point locationSuggested(Widget widget, Point originalLocation, Point suggestedLocation)
widget
- the moved widgetoriginalLocation
- the original location specified by the MoveProvider.getOriginalLocation methodsuggestedLocation
- the location suggested by an user (usually by a mouse cursor position)Built on January 23 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.