public interface MoveStrategy
Modifier and Type | Method | 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 April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.