当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
MoveControlPointProvider (Visual Library API) - NetBeans API Javadoc (Current Development Version)
org.netbeans.api.visual.action
Interface MoveControlPointProvider
public interface MoveControlPointProvider
This interface controls a move control point action.
Method Summary |
List<Point> |
locationSuggested(ConnectionWidget connectionWidget,
int index,
Point suggestedLocation)
Called to resolve control points of a connection widget for specified suggested change of a location of a control point specified by its index. |
locationSuggested
List<Point> locationSuggested(ConnectionWidget connectionWidget,
int index,
Point suggestedLocation)
- Called to resolve control points of a connection widget for specified suggested change of a location of a control point specified by its index.
Usually used for supplying the move strategy of control points.
- Parameters:
connectionWidget
- the connection widgetindex
- the index of the control point which new location was suggested by an usersuggestedLocation
- the suggested location (by an user) of a control point specified by its index
- Returns:
- the list of new control points of the connection widget