| |
|
| org.netbeans.api.visual.action.ConnectDecorator
ConnectDecorator | public interface ConnectDecorator (Code) | | This interface decorates a connect action.
author: David Kaspar |
createConnectionWidget | ConnectionWidget createConnectionWidget(Scene scene)(Code) | | Creates a connection widget that is temporarily used for visualization of a connection while user is dragging (creating) it.
Parameters: scene - the scene where the connection widget will be used the connection widget |
createFloatAnchor | Anchor createFloatAnchor(Point location)(Code) | | Creates a floating anchor which will be used when the connection target is not attached to any widget. The anchor will be used at the temporary connection widget created by the createConnectionWidget method.
Parameters: location - the scene location of the mouse cursor the floating anchor; usually FixedAnchor |
createSourceAnchor | Anchor createSourceAnchor(Widget sourceWidget)(Code) | | Creates a source anchor for a specified source widget. The anchor will be used at the temporary connection widget created by the createConnectionWidget method.
Parameters: sourceWidget - the source widget the source anchor |
createTargetAnchor | Anchor createTargetAnchor(Widget targetWidget)(Code) | | Creates a target anchor for a specified target widget. The anchor will be used at the temporary connection widget created by the createConnectionWidget method.
Parameters: targetWidget - the source widget the target anchor |
|
|
|