org.netbeans.api.visual.action
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 March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.