public interface ConnectDecorator
Modifier and Type | Method and Description |
---|---|
ConnectionWidget |
createConnectionWidget(Scene scene)
Creates a connection widget that is temporarily used for visualization of a connection while user is dragging (creating) it.
|
Anchor |
createFloatAnchor(Point location)
Creates a floating anchor which will be used when the connection target is not attached to any widget.
|
Anchor |
createSourceAnchor(Widget sourceWidget)
Creates a source anchor for a specified source widget.
|
Anchor |
createTargetAnchor(Widget targetWidget)
Creates a target anchor for a specified target widget.
|
ConnectionWidget createConnectionWidget(Scene scene)
scene
- the scene where the connection widget will be usedAnchor createSourceAnchor(Widget sourceWidget)
sourceWidget
- the source widgetAnchor createTargetAnchor(Widget targetWidget)
targetWidget
- the source widgetAnchor createFloatAnchor(Point location)
location
- the scene location of the mouse cursor