public interface MoveProvider
Modifier and Type | Method and Description |
---|---|
Point |
getOriginalLocation(Widget widget)
Called to acquire a origin location against which the movement will be calculated.
|
void |
movementFinished(Widget widget)
Called to notify about the end of movement of a specified widget.
|
void |
movementStarted(Widget widget)
Called to nofity about the start of movement of a specified widget.
|
void |
setNewLocation(Widget widget,
Point location)
Called to set a new location of a moved widget.
|
void movementStarted(Widget widget)
widget
- the moving widgetvoid movementFinished(Widget widget)
widget
- the moved widgetPoint getOriginalLocation(Widget widget)
widget
- the moving widgetvoid setNewLocation(Widget widget, Point location)
widget
- the moved widgetlocation
- the new location