|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindfusion.diagramming.Path
public final class Path
Represents a series of connected nodes an arrows.
Method Summary | |
---|---|
DiagramItemList |
getItems()
Gets a list of all nodes and arrows in the path. |
int |
getLength()
Gets the number of arrows in the path. |
DiagramLinkList |
getLinks()
Gets a list of all arrows in the path. |
DiagramNodeList |
getNodes()
Gets a list of all nodes in the path. |
float |
getWeight(boolean includeNodes,
boolean includeLinks)
Gets the total weight of this path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public DiagramNodeList getNodes()
DiagramNodeList
containing the path nodes.public DiagramLinkList getLinks()
DiagramLinkList
containing the path arrows.public DiagramItemList getItems()
DiagramItemList
containing the path nodes and arrows.public int getLength()
public float getWeight(boolean includeNodes, boolean includeLinks)
includeNodes
- true
to include node weights in the
total weight sum, otherwise false
.includeLinks
- true
to include arrow weights in the
total weight sum, otherwise false
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |