|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.router.polyline.SegmentGroup
public class SegmentGroup
Represents a group of segments of different edges, that shall be combined at the common source or target side.
Grouped edges have the same source or target group id assigned in the data provider registered at the graph with
the PortConstraintKeys.SOURCE_GROUPID_KEY
or PortConstraintKeys.TARGET_GROUPID_KEY
key.
Constructor Summary | |
---|---|
SegmentGroup(Interval commonLocationRange,
List segmentInfos)
Creates a new segment group. |
Method Summary | |
---|---|
Interval |
getCommonLocationRange()
Returns the common location range for the segment infos in this group. |
SegmentInfo |
getCommonSegmentInfo()
Returns the common segment info representing the grouped segment infos. |
List |
getSegmentInfos()
Returns the segment infos contained in this group. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SegmentGroup(Interval commonLocationRange, List segmentInfos)
commonLocationRange
- The location range of the segment infos.segmentInfos
- A list containing the grouped segment infos.Method Detail |
---|
public Interval getCommonLocationRange()
public List getSegmentInfos()
public SegmentInfo getCommonSegmentInfo()
public int hashCode()
hashCode
in class Object
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |