public interface ResizeStrategy
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.Rectangle |
boundsSuggested(Widget widget,
java.awt.Rectangle originalBounds,
java.awt.Rectangle suggestedBounds,
ResizeProvider.ControlPoint controlPoint) |
Called after an user suggests a new boundary and before the suggested boundary is stored to a specified widget.
|
java.awt.Rectangle boundsSuggested(Widget widget, java.awt.Rectangle originalBounds, java.awt.Rectangle suggestedBounds, ResizeProvider.ControlPoint controlPoint)
widget - the resized widgetoriginalBounds - the original bounds of the resizing widgetsuggestedBounds - 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 resizingBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.