public static enum ConnectionWidget.RoutingPolicy extends Enum<ConnectionWidget.RoutingPolicy>
Enum Constant and Description |
---|
ALWAYS_ROUTE
All control points are rerouted when it is necessary.
|
DISABLE_ROUTING
Disable routing completely, so control points are kept at their previous location.
|
DISABLE_ROUTING_UNTIL_END_POINT_IS_MOVED
Temporarily disables routing until any end point changes its location.
|
UPDATE_END_POINTS_ONLY
All control points (except end points) are kept at the same location.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionWidget.RoutingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionWidget.RoutingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionWidget.RoutingPolicy ALWAYS_ROUTE
public static final ConnectionWidget.RoutingPolicy UPDATE_END_POINTS_ONLY
public static final ConnectionWidget.RoutingPolicy DISABLE_ROUTING_UNTIL_END_POINT_IS_MOVED
ALWAYS_ROUTE
.
Note: This is used by GraphLayouts which routes the path (control points)
by themselves and would like to keep the path until user moves with source or target widget/anchor.public static final ConnectionWidget.RoutingPolicy DISABLE_ROUTING
public static ConnectionWidget.RoutingPolicy[] values()
public static ConnectionWidget.RoutingPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null