Package | Description |
---|---|
org.netbeans.api.visual.action |
This package contains
ActionFactory class which is factory of all built-in widget-actions provided by the library. |
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 |
---|---|
Anchor |
ConnectDecorator.createFloatAnchor(Point location)
Creates a floating anchor which will be used when the connection target is not attached to any widget.
|
Anchor |
ReconnectDecorator.createFloatAnchor(Point location)
Creates a floating anchor for a specified location when there is no replacement a widget
|
Anchor |
ReconnectDecorator.createReplacementWidgetAnchor(Widget replacementWidget)
Creates an anchor for a specified replacement widget (of a connection source or target which is going to be reconnected).
|
Anchor |
ConnectDecorator.createSourceAnchor(Widget sourceWidget)
Creates a source anchor for a specified source widget.
|
Anchor |
ConnectDecorator.createTargetAnchor(Widget targetWidget)
Creates a target anchor for a specified target widget.
|
Modifier and Type | Method and Description |
---|---|
static Anchor |
AnchorFactory.createCenterAnchor(Widget widget)
Creates an anchor with always computes a point in the center of specified widget.
|
static Anchor |
AnchorFactory.createCircularAnchor(Widget widget,
int radius)
Creates an anchor which computes a point as the one on a circle around specified widget.
|
static Anchor |
AnchorFactory.createDirectionalAnchor(Widget widget,
AnchorFactory.DirectionalAnchorKind kind)
Creates a directional anchor with computes a point as the one in the middle of the boundary side of specified widget.
|
static Anchor |
AnchorFactory.createDirectionalAnchor(Widget widget,
AnchorFactory.DirectionalAnchorKind kind,
int gap)
Creates a directional anchor with computes a point as the one in the middle of the boundary side of specified widget.
|
static Anchor |
AnchorFactory.createFixedAnchor(Point location)
Creates a anchor with fixed scene location.
|
static Anchor |
AnchorFactory.createFreeRectangularAnchor(Widget widget,
boolean includeBorders)
Creates a free rectangular anchor.
|
static Anchor |
AnchorFactory.createProxyAnchor(StateModel model,
Anchor... anchors)
Creates a proxy anchor with delegates the computation one of specified anchors based on state in a model.
|
static Anchor |
AnchorFactory.createRectangularAnchor(Widget widget)
Creates an anchor which computes a point as the one on the boundary of spacified widget.
|
static Anchor |
AnchorFactory.createRectangularAnchor(Widget widget,
boolean includeBorders)
Creates an anchor which computes a point as the one on the boundary of spacified widget.
|
Anchor |
Anchor.Entry.getAttachedAnchor()
Returns an anchor of a connection widget which relates to the entry.
|
Anchor |
Anchor.Entry.getOppositeAnchor()
Returns an anchor of a connection widget which is opposite to the related anchor
|
Modifier and Type | Method and Description |
---|---|
static Anchor |
AnchorFactory.createProxyAnchor(StateModel model,
Anchor... anchors)
Creates a proxy anchor with delegates the computation one of specified anchors based on state in a model.
|
Modifier and Type | Class and Description |
---|---|
class |
VMDNodeAnchor
This class represents a node anchor used in VMD visualization style.
|
Modifier and Type | Method and Description |
---|---|
Anchor |
VMDPinWidget.createAnchor()
Creates a horizontally oriented anchor similar to VMDNodeWidget.createAnchorPin
|
Anchor |
VMDNodeWidget.createAnchorPin(Anchor anchor)
Creates an extended pin anchor with an ability of reconnecting to the node anchor when the node is minimized.
|
Anchor |
VMDNodeWidget.getNodeAnchor()
Returns a node anchor.
|
Modifier and Type | Method and Description |
---|---|
Anchor |
VMDNodeWidget.createAnchorPin(Anchor anchor)
Creates an extended pin anchor with an ability of reconnecting to the node anchor when the node is minimized.
|
Modifier and Type | Method and Description |
---|---|
Anchor |
ConnectionWidget.getSourceAnchor()
Returns a source anchor of the connection widget.
|
Anchor |
ConnectionWidget.getTargetAnchor()
Returns a target anchor of the connection widget.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionWidget.setSourceAnchor(Anchor sourceAnchor)
Sets a source anchor of the connection widget.
|
void |
ConnectionWidget.setTargetAnchor(Anchor targetAnchor)
Sets a target anchor of the connection widget.
|