Interface MoveControlPointProvider
public interface MoveControlPointProvider
This interface controls a move control point action.
-
Method Summary
Modifier and TypeMethodDescriptionlocationSuggested
(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.
-
Method Details
-
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
-