| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.seriesparallel.EdgeLayoutDescriptor
public class EdgeLayoutDescriptor
An EdgeLayoutDescriptor provides routing details for an edge that are considered by
 SeriesParallelLayouter.
 
   Such an EdgeLayoutDescriptor can either be specified for a single edge or shared by several edges.
   It is assigned by registering a DataProvider with key
   SeriesParallelLayouter.EDGE_LAYOUT_DESCRIPTOR_DPKEY. If no DataProvider is registered with
   this key, a default descriptor is used.
 
SeriesParallelLayouter.EDGE_LAYOUT_DESCRIPTOR_DPKEY, 
SeriesParallelLayouter.getDefaultEdgeLayoutDescriptor()| Constructor Summary | |
|---|---|
| EdgeLayoutDescriptor()Creates a new instance of EdgeLayoutDescriptorwith default settings. | |
| Method Summary | |
|---|---|
|  EdgeLayoutDescriptor | createCopy()Creates a copy of this EdgeLayoutDescriptorinstance. | 
|  double | getMinimumFirstSegmentLength()Returns the minimum length for the first segment of the associated edge. | 
|  double | getMinimumLastSegmentLength()Returns the minimum length for the last segment of the associated edge. | 
|  double | getMinimumLength()Returns the minimum length for the associated edge. | 
|  void | setMinimumFirstSegmentLength(double minimumFirstSegmentLength)Specifies the minimum length for the first segment of the associated edge. | 
|  void | setMinimumLastSegmentLength(double minimumLastSegmentLength)Returns the minimum length for the last segment of the associated edge. | 
|  void | setMinimumLength(double minimumLength)Specifies the minimum length for the associated edge. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EdgeLayoutDescriptor()
EdgeLayoutDescriptor with default settings.
| Method Detail | 
|---|
public double getMinimumLength()
The minimum length needs to be non-negative.
setMinimumLength(double)public void setMinimumLength(double minimumLength)
The minimum length needs to be non-negative.
public double getMinimumFirstSegmentLength()
The minimum first segment length needs to be non-negative.
setMinimumFirstSegmentLength(double)public void setMinimumFirstSegmentLength(double minimumFirstSegmentLength)
The minimum first segment length needs to be non-negative.
public double getMinimumLastSegmentLength()
The minimum last segment length needs to be non-negative.
setMinimumLastSegmentLength(double)public void setMinimumLastSegmentLength(double minimumLastSegmentLength)
The minimum last segment length needs to be non-negative.
public EdgeLayoutDescriptor createCopy()
EdgeLayoutDescriptor instance.
EdgeLayoutDescriptor instance| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||