Package | Description |
---|---|
org.netbeans.api.visual.anchor |
This package contains
Anchor interface which is used by ConnectionWidget for defining its source and target point. |
org.netbeans.api.visual.vmd |
This package contains a VMD visualization style.
|
org.netbeans.api.visual.widget |
This package contains
Widget class. |
Modifier and Type | Method and Description |
---|---|
void |
Anchor.addEntry(Anchor.Entry entry)
Called by ConnectionWidget to register the usage of the anchor.
|
abstract Anchor.Result |
Anchor.compute(Anchor.Entry entry)
Computes a result (position and direction) for a specific entry.
|
Point |
Anchor.getOppositeSceneLocation(Anchor.Entry entry)
Returns a scene location of a related widget of an opposite anchor.
|
protected void |
Anchor.notifyEntryAdded(Anchor.Entry entry)
Notifies when an entry is registered
|
protected void |
Anchor.notifyEntryRemoved(Anchor.Entry entry)
Notifies when an entry is unregistered
|
void |
Anchor.removeEntry(Anchor.Entry entry)
Called by ConnectionWidget to unregister the usage of the anchor.
|
Modifier and Type | Method and Description |
---|---|
Anchor.Result |
VMDNodeAnchor.compute(Anchor.Entry entry)
Computes a result (position and direction) for a specific entry.
|
protected void |
VMDNodeAnchor.notifyEntryAdded(Anchor.Entry entry)
Notifies when an entry is registered
|
protected void |
VMDNodeAnchor.notifyEntryRemoved(Anchor.Entry entry)
Notifies when an entry is unregistered
|
Modifier and Type | Method and Description |
---|---|
Anchor.Entry |
ConnectionWidget.getSourceAnchorEntry()
Returns an anchor entry representing the source of the connection widget.
|
Anchor.Entry |
ConnectionWidget.getTargetAnchorEntry()
Returns an anchor entry representing the target of the connection widget.
|