org.netbeans.api.visual 2.21.1

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.21.1

Built on March 26 2010.  |  Portions Copyright 1997-2010 Sun Microsystems, Inc. All rights reserved.