public interface ResizeStrategy
|Modifier and Type||Method and Description|
Called after an user suggests a new boundary and before the suggested boundary is stored to a specified widget.
Rectangle boundsSuggested(Widget widget, Rectangle originalBounds, Rectangle suggestedBounds, ResizeProvider.ControlPoint controlPoint)
widget- the resized widget
originalBounds- the original bounds of the resizing widget
suggestedBounds- the bounds of the resizing widget suggested by an user (usually by a mouse cursor position)
controlPoint- the control point that is used by an user for resizing