当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
ResizeControlPointResolver (Visual Library API) - NetBeans API Javadoc (Current Development Version)
org.netbeans.api.visual.action
Interface ResizeControlPointResolver
public interface ResizeControlPointResolver
This interface is used by ResizeAction to resolve if and which control point is being dragged for particular resizing.
resolveControlPoint
ResizeProvider.ControlPoint resolveControlPoint(Widget widget,
Point point)
- Resolves which control point is being dragged by user.
- Parameters:
widget
- the widget where the user is invoking the resizingpoint
- the mouse cursor location in local coordination system of the widget
- Returns:
- the control point; if null, then resizing action is denied