|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectDecorator
This interface decorates a connect action.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
ConnectionWidget createConnectionWidget(Scene scene)
scene - the scene where the connection widget will be used
Anchor createSourceAnchor(Widget sourceWidget)
sourceWidget - the source widget
Anchor createTargetAnchor(Widget targetWidget)
targetWidget - the source widget
Anchor createFloatAnchor(Point location)
location - the scene location of the mouse cursor
|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||