|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.hierarchic.incremental.RoutingStyle
public class RoutingStyle
This class is used by EdgeLayoutDescriptor
to specify the routing style for different edge types.
EdgeLayoutDescriptor.setRoutingStyle(RoutingStyle)
Field Summary | |
---|---|
static byte |
EDGE_STYLE_OCTILINEAR
Routing style constant. |
static byte |
EDGE_STYLE_ORTHOGONAL
Routing style constant. |
static byte |
EDGE_STYLE_POLYLINE
Routing style constant. |
Constructor Summary | |
---|---|
RoutingStyle(byte routingStyle)
Sets the routing style for each edge type to the specified value. |
Method Summary | |
---|---|
byte |
getBackloopRoutingStyle()
Returns the routing style for back-loops. |
byte |
getDefaultEdgeRoutingStyle()
Returns the default routing style. |
byte |
getEdgeGroupRoutingStyle()
Returns the routing style for grouped edges at the common segments. |
byte |
getSameLayerEdgeRoutingStyle()
Returns the routing style for same layer edges (i.e., edges whose source/target are assigned to the same layer). |
byte |
getSelfloopRoutingStyle()
Returns the routing style for self-loops. |
void |
setBackloopRoutingStyle(byte backloopRoutingStyle)
Specifies the routing style for back-loops. |
void |
setDefaultEdgeRoutingStyle(byte defaultEdgeRoutingStyle)
Specifies the default routing style. |
void |
setEdgeGroupRoutingStyle(byte edgeGroupRoutingStyle)
Specifies the routing style for grouped edges at the common segments. |
void |
setSameLayerEdgeRoutingStyle(byte sameLayerEdgeRoutingStyle)
Specifies the routing style for same layer edges (i.e., edges whose source/target are assigned to the same layer). |
void |
setSelfloopRoutingStyle(byte selfloopRoutingStyle)
Specifies the routing style for self-loops. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte EDGE_STYLE_ORTHOGONAL
public static final byte EDGE_STYLE_OCTILINEAR
public static final byte EDGE_STYLE_POLYLINE
Constructor Detail |
---|
public RoutingStyle(byte routingStyle)
routingStyle
- the routing style.Method Detail |
---|
public byte getBackloopRoutingStyle()
IncrementalHierarchicLayouter.setBackloopRoutingEnabled(boolean)
is enabled
or in some other scenarios with port constraints/candidates.
Possible values are EDGE_STYLE_OCTILINEAR
, EDGE_STYLE_ORTHOGONAL
and EDGE_STYLE_POLYLINE
.
public void setBackloopRoutingStyle(byte backloopRoutingStyle)
IncrementalHierarchicLayouter.setBackloopRoutingEnabled(boolean)
is enabled
or in some other scenarios with port constraints/candidates.
Possible values are EDGE_STYLE_OCTILINEAR
, EDGE_STYLE_ORTHOGONAL
and EDGE_STYLE_POLYLINE
.
backloopRoutingStyle
- the routing style for back-loops.public byte getEdgeGroupRoutingStyle()
EDGE_STYLE_OCTILINEAR
, EDGE_STYLE_ORTHOGONAL
and EDGE_STYLE_POLYLINE
.
public void setEdgeGroupRoutingStyle(byte edgeGroupRoutingStyle)
EDGE_STYLE_OCTILINEAR
, EDGE_STYLE_ORTHOGONAL
and EDGE_STYLE_POLYLINE
.
edgeGroupRoutingStyle
- the routing style for grouped edges at the common segments.public byte getDefaultEdgeRoutingStyle()
EDGE_STYLE_OCTILINEAR
, EDGE_STYLE_ORTHOGONAL
and EDGE_STYLE_POLYLINE
.
public void setDefaultEdgeRoutingStyle(byte defaultEdgeRoutingStyle)
EDGE_STYLE_OCTILINEAR
, EDGE_STYLE_ORTHOGONAL
and EDGE_STYLE_POLYLINE
.
defaultEdgeRoutingStyle
- the routing style for common edges.public byte getSameLayerEdgeRoutingStyle()
EDGE_STYLE_OCTILINEAR
, EDGE_STYLE_ORTHOGONAL
and EDGE_STYLE_POLYLINE
.
public void setSameLayerEdgeRoutingStyle(byte sameLayerEdgeRoutingStyle)
EDGE_STYLE_OCTILINEAR
, EDGE_STYLE_ORTHOGONAL
and EDGE_STYLE_POLYLINE
.
sameLayerEdgeRoutingStyle
- the routing style for same layer edges.public byte getSelfloopRoutingStyle()
EDGE_STYLE_OCTILINEAR
, EDGE_STYLE_ORTHOGONAL
and EDGE_STYLE_POLYLINE
.
public void setSelfloopRoutingStyle(byte selfloopRoutingStyle)
EDGE_STYLE_OCTILINEAR
, EDGE_STYLE_ORTHOGONAL
and EDGE_STYLE_POLYLINE
.
selfloopRoutingStyle
- the routing style for self-loops.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |