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.router |
This package contains
Router interface which defines a router for ConnectionWidget . |
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 |
---|---|
ConnectionWidget |
ConnectDecorator.createConnectionWidget(Scene scene)
Creates a connection widget that is temporarily used for visualization of a connection while user is dragging (creating) it.
|
ConnectionWidget |
AlignWithMoveDecorator.createLineWidget(Scene scene)
Creates a connection widget that will be used as a alignment lines for align-with effect.
|
Modifier and Type | Method and Description |
---|---|
ConnectorState |
ReconnectProvider.isReplacementWidget(ConnectionWidget connectionWidget,
Widget replacementWidget,
boolean reconnectingSource)
Called to check for possible replacement of a connection source/target.
|
boolean |
ReconnectProvider.isSourceReconnectable(ConnectionWidget connectionWidget)
Called for checking whether it is possible to reconnection a source of a specified connection widget.
|
boolean |
ReconnectProvider.isTargetReconnectable(ConnectionWidget connectionWidget)
Called for checking whether it is possible to reconnection a target of a specified connection widget.
|
List<Point> |
MoveControlPointProvider.locationSuggested(ConnectionWidget connectionWidget,
int index,
Point suggestedLocation)
Called to resolve control points of a connection widget for specified suggested change of a location of a control point specified by its index.
|
void |
ReconnectProvider.reconnect(ConnectionWidget connectionWidget,
Widget replacementWidget,
boolean reconnectingSource)
Called for replacing a source/target with a new one.
|
void |
ReconnectProvider.reconnectingFinished(ConnectionWidget connectionWidget,
boolean reconnectingSource)
Called to notify about the finish of reconnecting.
|
void |
ReconnectProvider.reconnectingStarted(ConnectionWidget connectionWidget,
boolean reconnectingSource)
Called to notify about the start of reconnecting.
|
Modifier and Type | Method and Description |
---|---|
ConnectionWidget |
Anchor.Entry.getAttachedConnectionWidget()
Returns a connection widget where the entry is attached to.
|
Modifier and Type | Method and Description |
---|---|
static AnchorShape |
AnchorShapeFactory.createAdjustableAnchorShape(AnchorShape shape,
ConnectionWidget owner,
AnchorShapeFactory.ConnectionEnd referencingEnd,
Widget attachedWidget)
Creates a proxy AnchorShape that is used to adjust the location of an AnchorShape.
|
static AnchorShapeLocationResolver |
AnchorShapeFactory.createWidgetResolver(ConnectionWidget owner,
AnchorShapeFactory.ConnectionEnd referencingEnd,
Widget attachedWidget)
Creates a AnchorShapeLocationResolver that uses a widget to resolve the
AnchorsShapes location.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionWidgetCollisionsCollector.collectCollisions(ConnectionWidget connectionWidget,
List<Rectangle> verticalCollisions,
List<Rectangle> horizontalCollisions)
Gathers collision collections and fills up the lists of vertical and horizontal collisions.
|
List<Point> |
Router.routeConnection(ConnectionWidget widget)
Routes a path for a connection widget.
|
Modifier and Type | Class and Description |
---|---|
class |
VMDConnectionWidget
This class represents a connection widget in the VMD visualization style.
|
Modifier and Type | Class and Description |
---|---|
class |
FreeConnectionWidget
This class is an extension of the ConnectionWidget.
|