站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ResizeControlPointResolver (Visual Library API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.api.visual 2.2

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.


Method Summary
 ResizeProvider.ControlPoint resolveControlPoint(Widget widget, Point point)
          Resolves which control point is being dragged by user.
 

Method Detail

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 resizing
point - the mouse cursor location in local coordination system of the widget
Returns:
the control point; if null, then resizing action is denied

org.netbeans.api.visual 2.2

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.