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.widget |
This package contains
Widget class. |
Modifier and Type | Method and Description |
---|---|
static WidgetAction |
ActionFactory.createAddRemoveControlPointAction(double createSensitivity,
double deleteSensitivity,
ConnectionWidget.RoutingPolicy routingPolicy)
Creates a add-remove control point action with a specified sensitivity.
|
static WidgetAction |
ActionFactory.createMoveControlPointAction(MoveControlPointProvider provider,
ConnectionWidget.RoutingPolicy routingPolicy)
Creates a move control point (of a connection widget) action with a specified provider.
|
Modifier and Type | Method and Description |
---|---|
ConnectionWidget.RoutingPolicy |
ConnectionWidget.getRoutingPolicy()
Returns a routing policy.
|
static ConnectionWidget.RoutingPolicy |
ConnectionWidget.RoutingPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionWidget.RoutingPolicy[] |
ConnectionWidget.RoutingPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionWidget.setRoutingPolicy(ConnectionWidget.RoutingPolicy routingPolicy)
Sets a routing policy.
|